-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
107 lines (92 loc) · 1.64 KB
/
styles.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
@import "https://fonts.googleapis.com/css?family=Roboto:300,400,500";
body {
margin: 0 auto;
max-width: 50em;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
line-height: 1.5;
padding: 0 1em;
color: #555;
}
h2 {
margin-top: 1em;
padding-top: 1em;
}
h1,
h2,
strong {
color: #333;
}
a {
color: #e81c4f;
}
header {
background-color: #263d36;
background-image: url("header.jpg");
background-position: center top;
background-repeat: no-repeat;
background-size: cover;
line-height: 1.2;
padding: 10vw 2em;
text-align: center;
}
header img {
display: inline-block;
height: 120px;
vertical-align: top;
width: 120px;
}
header h1 {
color: white;
font-size: 2.5em;
font-weight: 300;
background: rgb(0, 0, 0); /* fallback color */
background: rgba(0, 0, 0, 0.7);
}
header a {
border: 1px solid #e81c4f;
border-radius: 290486px;
color: white;
font-size: 0.6em;
letter-spacing: 0.2em;
padding: 1em 2em;
text-transform: uppercase;
text-decoration: none;
transition: none 200ms ease-out;
transition-property: color, background;
}
header a:hover {
background: #e81c4f;
color: white;
}
div {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
padding: 10px;
margin: 10px;
}
div:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
nav li {
float: left;
}
nav li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav li a:hover {
background-color: #111;
}
.active {
background-color: #4caf50;
}