forked from skillcrush/101-jubilee_austen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
144 lines (139 loc) · 2.53 KB
/
main.css
File metadata and controls
144 lines (139 loc) · 2.53 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#webpage {
display: flex;
flex-direction: column;
}
#header {
background-image: url(./img/green-vine3.jpg);
min-height: 30em;
background-size: cover;
background-position: center;
}
#header-body {
display: flex;
flex-direction: column;
padding-right: 2%;
}
#menu {
display: flex;
justify-content: space-between;
flex-wrap: no-wrap;
}
#menu h1 {
font-family: 'Lora', serif;
font-size: 1.4em;
color: #9b9b9b;
margin-left: 2%;
}
ul {
display: block;
padding-inline-start: 0;
}
nav ul li {
list-style: none;
line-height: 2em;
}
nav ul li a {
text-transform: uppercase;
text-decoration: none;
font-size: 1.3em;
color: #c49075;
}
a:hover {
color: black;
}
#greeting h2 {
max-width: 760px;
font-family: 'Lora', serif;
font-size: 2em;
color: #9b9b9b;
margin-left: 40%;
}
/* The animation code */
@keyframes example {
from {color: #9b9b9b;}
to {color: black;}
}
#greeting h2 span {
color: black;
animation-name: example;
animation-duration: 5s;
animation-timing-function: linear;
animation-iteration-count: 1;
animation-direction: normal;
}
#statement h2 {
font-family: 'Lora', serif;
font-size: 2em;
padding-left: 0px;
color: #c49075;
margin-left: 2%;
}
#statement p {
font-size: 1.5em;
color: #7f7f7f;
margin-left: 2%;
}
#contact {
background-color: #ebebeb;
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
#contact-img {
max-width: 45vw;
border-width: 0px 4px 4px 4px;
border-style: solid;
border-color: #ffffff;
}
#social-media {
margin-left: 2%;
margin-bottom: 2%;
}
#contact h2 {
font-family: 'Lora', serif;
font-size: 1.5em;
color: black;
margin-left: 0;
}
#contact #socialmedia-header #email-header {
font-weight: bold;
font-size: 2em;
}
#contact a {
text-decoration: none;
color: #c49075;
font-weight: bold;
font-size: 1.5em;
}
#contact ul li {
list-style: none;
display: inline-block;
}
#contact ul img {
padding-right: 48px;
}
@media all and (min-width:768px) {
#contact-img {
border-width: 0px 4px 0px 4px;
}
#social-media {
margin-top: 2%;
}
}
@media all and (min-width:1200px) {
#greeting h2 {
font-size: 3.2em;
}
nav ul li {
line-height: 1.5em;
display:block;
width:120px;
float:left;
}
#menu h1 {
font-size: 1.8em;
}
#socialmedia-header {
margin-top: 8vw;
}
}