style.css 3.54 KB
Newer Older
1
.io, .news, .hero {
2
3
  padding-top: 100px;
  padding-bottom: 100px;
4
5
}

6
.io, .news .wrapper, .news .wrapper .cards .card .inner, .news .wrapper .cards .card .inner .card-text, .hero .text, .navbar .inner {
7
8
9
10
11
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

12
13
14
15
16
17
* {
  box-sizing: border-box;
}

body {
  margin: 0;
18
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)), url("../../images/bg_repeater.jpeg");
19
  background-size: cover;
20
  font-family: sans-serif;
21
  color: #888;
22
23
24
25
26
27
}

h1, h2, h3, ul, p {
  margin-top: 0;
}

28
29
30
31
32
33
34
35
36
37
38
39
h1,
h2,
.btn {
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: ghostwhite;
}

40
41
42
43
44
img {
  max-width: 100%;
  display: inline-block;
}

45
46
47
48
49
video {
  max-width: 100%;
  height: 100%;
}

50
51
52
53
54
55
56
57
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

58
59
60
.btn {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.3);
61
62
63
  color: ghostwhite;
  padding: 15px 20px;
  border-radius: 2px;
64
65
66
67
  font-weight: 700;
}
.btn:hover {
  color: red;
68
69
70
71
72
73
74
75
}

.col-50 {
  flex-basis: 50%;
}

.col-25 {
  flex-basis: 25%;
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
}

.navbar {
  background-color: black;
}
.navbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.navbar .inner .logo {
  width: 100px;
  display: inline-block;
}
.navbar .inner ul {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  text-transform: uppercase;
  font-weight: 700;
}
.navbar .inner ul li:not(:last-child) {
  margin-right: 20px;
}
.navbar .inner ul li a {
  color: ghostwhite;
}
Dalibor Jovanovski's avatar
fixed:    
Dalibor Jovanovski committed
104
.navbar .inner ul li a.active {
105
  color: #888;
106
}
107
108
109
.navbar .inner ul li a:hover {
  color: #888;
}
110
111
112
113

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.316), black), url("../../images/default_header.jpeg");
  background-position: center top;
Dalibor Jovanovski's avatar
Dalibor Jovanovski committed
114
115
116
  background-repeat: repeat-x;
  background-size: cover;
  min-height: calc(100vh - 56.69px);
117
118
119
120
121
122
123
124
125
126
  text-transform: uppercase;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .text {
  font-size: 2rem;
  width: 70%;
}
127
128
129
.hero .text h1 {
  margin-bottom: 0;
}
130
131
.hero .text .btn {
  font-size: 1rem;
132
133
134
135
136
137
138
139
140
141
142
143
144
145
}

.news .wrapper .text {
  text-align: center;
  font-size: 1.875rem;
}
.news .wrapper .text h2 {
  margin-bottom: 1px;
}
.news .wrapper .cards {
  display: flex;
}
.news .wrapper .cards .card {
  border: 1px solid #888;
146
147
}
.news .wrapper .cards .card:not(:last-child) {
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
  margin-right: 30px;
}
.news .wrapper .cards .card:first-child p {
  padding: 25px 0;
}
.news .wrapper .cards .card:nth-child(2) p {
  padding: 1px 0;
}
.news .wrapper .cards .card:nth-child(3) p {
  padding: 38px 0;
}
.news .wrapper .cards .card:nth-child(4) p {
  padding: 3px 0;
}
.news .wrapper .cards .card .inner {
  width: 90%;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.news .wrapper .cards .card .inner .card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  padding: 20px;
}
.news .wrapper .cards .card .inner .card-text h3 {
  font-size: 1.4rem;
}
.news .wrapper .cards .card .inner .card-text p {
  font-size: 1.2rem;
}
.news .wrapper .cards .card .inner .card-text .btn {
  width: 60%;
  margin-top: auto;
186
187
188
189
190
191
192
193
194
195
196
197
198
}

.io .wrapper {
  display: flex;
  align-items: center;
}
.io .wrapper .col-50:not(:last-child) {
  margin-right: 30px;
}
.io .wrapper .text {
  flex: 1;
}
.io .wrapper .text h3 {
199
  font-size: 1.8rem;
200
201
}
.io .wrapper .text p {
202
203
204
  font-size: 1.6rem;
  line-height: 1.8rem;
  width: 80%;
205
206
207
208
209
210
211
212
213
}

footer {
  background-color: black;
  padding: 20px;
  text-align: center;
}
footer p {
  margin-bottom: 0;
214
}/*# sourceMappingURL=style.css.map */