-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (98 loc) · 1.57 KB
/
style.css
File metadata and controls
122 lines (98 loc) · 1.57 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
html, body {
height: 100%;
margin: 0;
padding: 0;
font: 15px/1.5 Arial, Helvetica, sans-serif;
text-align: center;
color: white;
background: slategray;
}
body {
display: flex;
flex-direction: column;
}
ul {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: white;
}
.container {
width: 80%;
margin: auto;
}
header {
padding: 20px 0;
border-bottom: 5px solid cornflowerblue;
}
header li a {
text-transform: uppercase;
font-size: 20px;
}
#title {
float: left;
}
#title h1 {
margin: 0;
}
header li {
float: left;
display: inline;
padding: 0 20px;
}
#title:hover, header li:hover a {
color: deepskyblue;
transition: all ease 0.2s;
}
header nav {
float: right;
margin-top: 10px;
}
section {
flex: 1;
min-height: 400px;
background: url("images/background.jpg") no-repeat center center;
}
section h1 {
margin-top: 100px;
margin-bottom: 10px;
font-size: 48px;
}
section p {
font-size: 24px;
}
footer {
min-height: 60px;
padding-top: 20px;
}
footer ul {
display: flex;
justify-content: center;
}
footer li {
display: inline;
padding: 0 20px;
}
svg path {
fill: white;
}
svg:hover path {
fill: deepskyblue;
transition: all ease 0.2s;
}
@media(max-width: 768px) {
.container {
width: 95%;
}
header #title, header nav, header nav li {
float: none;
text-align: center;
width: 100%;
}
section h1 {
margin-top: 40px;
font-size: 36px;
}
}