forked from zero-to-mastery/HTML-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (85 loc) · 1.39 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
html {font-size: 1em;}
body {
margin: 0;
background-color: white;
font-family: 'Open Sans', sans-serif;;
font-weight: 400;
line-height: 1.45;
color: #333;
background-color: #DFDCE3;
}
p {margin-bottom: 1.3em;}
h1, h2, h3, h4 {
margin: 1.414em 0 0.5em;
font-weight: inherit;
line-height: 1.2;
}
img {
height: 30px;
}
h1 {
margin-top: 0;
font-size: 2.5em;
font-style: italic;
}
h2 {font-size: 1.2em;}
h3 {font-size: 1em;}
h4 {font-size: 0.8em;}
small, .font_small {font-size: 0.707em;}
.container {
margin: 0 50px;
display: grid;
grid-template-columns: 2fr 1fr;
}
@media screen and (max-width: 600px) {
.container {
margin: 0 10px;
grid-template-columns: auto;
}
}
header {
background: #4ABDAC;
padding: 10px 20px 20px;
margin:0;
}
header h1 {
float:left;
color: rgb(71,0,0);
}
.flex {
display:flex;
flex-wrap: wrap;
justify-content: flex-end;
}
nav a {
text-decoration: none;
color: white;
background-color: #F7B733;
padding: 5px 10px;
margin-right: 5px;
border-radius: 5px;
transition: 0.2s;
}
nav a:hover {
background-color: #c78f1b;
}
footer {
padding: 20px 30px 20px;
color: white;
background-color: #FC4A1A;
position: relative;
right: 0;
bottom: 0;
left: 0;
padding: 1rem;
text-align: center;
}
ul {
list-style: none;
}
ul li {
margin-bottom: 5px;
}
#register {
margin-bottom: 140px;
}