-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylefleet.css
215 lines (182 loc) · 4.03 KB
/
stylefleet.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
html {
height: 100%;
}
/*COLORS: BACKGROUND: #555758, TEXT: WHITE, SECONDARY CONTAINERS: #547F97, BORDERS: #000000*/
* {
box-sizing: border-box;
}
/* Style the body */
body {
margin: 0;
font-family: Lato;
background-color: #2e1c04;
color: white;
text-align: center;
line-height: 1.5;
display: flex;
flex-direction: column;
min-height: 100%;
}
.links {
color: white !important;
padding: 10px;
}
/* Header/logo Title */
.header {
padding: 80px;
text-align: center;
background: #775c2d;
color: #2e1c04;
background-image: url('https://user-images.githubusercontent.com/83706649/158400879-738dc15a-ca45-4eca-9a6a-53dd599316ed.png');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
/* Increase the font size of the heading */
.header h1 {
font-size: 40px;
}
/* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position */
.navbar {
overflow: hidden;
background-color: #bd8228;
position: sticky;
position: -webkit-sticky;
top: 0;
}
/* Style the navigation bar links */
.navbar a {
float: left;
display: block;
color: white;
text-align: center;
padding: 14px 20px;
text-decoration: none;
}
/* Right-aligned link */
.navbar a.right {
float: right;
}
/* Change color on hover */
.navbar a:hover {
background-color: #775c2d;
color: black;
}
/* Active/current link */
.navbar a.active {
background-color: #bd8228;
color: white;
}
/* Column container */
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
}
/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
-ms-flex: 30%; /* IE10 */
flex: 30%;
background-color: #2e1c04;
padding: 20px;
color: white;
text-align: center;
}
/* Main column */
.main {
-ms-flex: 70%; /* IE10 */
flex: 70%;
background-color: 775c2d;
padding: 20px;
color: white;
}
/* Fake image, just for this example */
.fakeimg {
background-color: #2e1c04;
width: 100%;
padding: 20px;
}
/* Footer */
.footer {
padding: 20px;
text-align: center;
background: #2e1c04;
}
/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
.row {
flex-direction: column;
}
}
/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
.navbar a {
float: none;
width: 100%;
}
}
/* HERE ARE THE STYLES FOR THE FLEET INVENTORY*/
* {
box-sizing: border-box;
}
.fleetmain {
max-width: 1000px;
margin: auto;
box-shadow: 5px 10px 8px #88888;
justify-content: center;
}
h1 {
font-size: 50px;
word-break: break-all;
}
.fleetrow {
margin: 10px -16px;
}
/* Add padding BETWEEN each column */
.fleetrow,
.fleetrow > .fleetcolumn {
padding: 8px;
}
/* Create three equal columns that floats next to each other */
.fleetcolumn {
float: left;
width: 33.33%;
display: none; /* Hide all elements by default */
}
/* Clear floats after rows */
.fleetrow:after {
content: "";
display: table;
clear: both;
}
/* Content */
.fleetcontent {
background-color: #bd8228;
padding: 10px;
border-radius: 15px;
}
/* The "show" class is added to the filtered elements */
.fleetshow {
display: block;
}
/* Style the buttons */
.fleetbtn {
border: none;
outline: none;
padding-top: 50px;
padding: 12px 16px;
background-color: white;
cursor: pointer;
justify-content: center;
}
.fleetbtn:hover {
background-color: #775c2d;
}
.fleetbtn.active {
background-color: #775c2d;
color: white;
padding: 12px 16px;
width: auto;
}