-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (97 loc) · 2.12 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
body{
margin: 0;
}
.content{
padding-left: 1em;
padding-right: 1em;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
background-color: rgb(248, 255, 226);
}
header {
display: flex;
justify-content: center;
background-image: -webkit-linear-gradient(rgb(234, 215, 249),rgb(232, 252, 164) );
width: 100%;
color: darkgreen;
}
nav ul {
list-style: none;
display: flex;
flex-direction: column;
padding: 1em;
justify-content: center;
align-items: center;
}
nav li {
margin-left: 2em;
font-weight: 700;
font-size: 1.35rem;
text-transform: lowercase;
}
nav a {
color: #8554f1;
text-decoration: none;
}
nav a:hover, a:focus{
text-decoration: underline;
color: #5f20e6;
}
a.resources{
display:inline;
color: #8554f1;
text-decoration: none;}
a.resources:hover, a.resources:focus
{text-decoration: underline;
color: #5f20e6;}
.mainImage {max-width: 100%;
display:block;
margin-bottom: 1em;}
p{
padding: 1em 0 1em 0;
margin:0;
}
.plant-gallery, .resources{
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.gallery{
display: block;
max-width: 90%;
}
/*Typography*/
body{
font-family: 'Cormorant Infant', serif;
}
p{
font-family: Georgia, 'Times New Roman', Times, serif;
font-weight: lighter;
line-height: 1.6;}
h2{
color:#5f20e6;
}
footer{
background-image: -webkit-linear-gradient(rgb(234, 215, 249),rgb(232, 252, 164) );
width: 100%;
color: darkgreen;
text-align: center;
padding-top: 2em;
padding-bottom: 2em;
}
/*media queries*/
@media (min-width: 800px) { p {max-width:70%;}
.gallery{max-width: 70%; }
.content{width: 90%;
max-width: 1200px;
}
nav ul{
flex-direction: row;
justify-content: center;
}
nav{ margin-left: -1em;}}