forked from devtlv/Ressource_JavaScript_Bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
executable file
·185 lines (152 loc) · 2.93 KB
/
main.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/* Color Palette, from Coolors.co. See `palette.png` for an image of most of these colors.
Eerie Black (black with reddish overtones): #1A1423
Grullo (light khaki brown): #A49E8D
Dark Liver (dark brown): #504136
Desaturated Cyan (muted pastel green): #689689
Linen (almost white): #F8F4E3
Pastel Gray (light tan gray): #D4CDC3
*/
/* imports */
@import url('https://fonts.googleapis.com/css?family=Montserrat|Anton|Nunito');
/* General Styles */
body {
font-family: 'Open Sans Condensed', sans-serif;
background: white;
}
header {
background: #f8f8f8;
color: #1A1423;
text-align: center;
}
img {
max-height: 300px;
}
header h1 {
font-family: Anton, sans-serif;
text-transform: uppercase;
font-size: 3rem;
color: #444;
letter-spacing: 3px;
}
header h4 {
font-size: 1.2rem;
line-height: 3em;
}
.header-top {
padding-top: 10vh !important;
padding-bottom: 10vh !important;
}
p {
font-size: 20px;
color: #1A1423;
}
a {
color: #689689;
}
a:hover {
text-decoration: none;
color: #1A1423;
}
/* ######################## Navbar ############################# */
.navbar {
background: white;
padding: 10px 20px;
transition: padding 2s ease;
border-bottom: 1px #ddd solid;
}
/* LOGO */
.navbar-brand {
color: #1A1423;
font-size: 30px;
transition: all .2s ease-in-out;
text-transform: uppercase;
}
.navbar-brand {
position: relative;
text-decoration: none;
}
.navbar-brand:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0%;
border-bottom: 2px solid #FF785A;
transition: all 0.15s ease-in-out;
}
.navbar-brand:hover:after {
width: 100%;
}
/* burger nav icon */
.bar-1, .bar-2, .bar-3 {
width: 23px;
height: 3px;
margin: 5px;
background: #1A1423;
transition: all 0.5s ease;
}
.change .bar-1 {
transform: rotate(-45deg) translate(-5px, 6px);
}
.change .bar-2 {
opacity: 0;
}
.change .bar-3 {
transform: rotate(45deg) translate(-5px, -8px);
}
/* navigation links */
.navbar-nav {
margin-left: auto;
}
.nav-link {
color: #4a4a4a;
font-family: Montserrat, sans-serif;
font-size: 15px;
font-weight: bold;
padding: 10px 20px;
border-radius: 5px;
transition: all .2s ease-in-out;
}
.nav-link:hover {
background-color: #FF785A;
color: white;
transform: scale(1.15);
}
.search-btn {
background: #D4CDC3;
color: #1A1423;
transition: all 1s ease;
}
.search-btn:hover {
background: #A49E8D;
color: #F8F4E3;
}
/* ######################## Body ############################# */
section {
padding-top: 30px;
}
.section-title {
text-transform: uppercase;
font-size: 1.5rem;
font-family: Nunito, sans-serif;
font-weight: 600;
}
.section-subcategory {
color: #6396BC;
text-transform: uppercase;
}
.weblink {
text-transform: uppercase;
font-size: 0.9em;
font-weight: 500;
color: #FF785A;
}
.weblink:hover {
background-color: #FF785A;
color: #fff;
}
.desc {
color: #666;
font-family: Montserrat, sans-serif;
font-size: 1rem;
}