-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.css
100 lines (81 loc) · 1.38 KB
/
header.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
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
.main-nav {
display: flex;
justify-content: space-between;
background: rgb(55, 55, 153);
}
.horizontal {
list-style: none;
padding: 2px 0px;
}
.nav-list {
display: flex;
flex-direction: row;
text-decoration: none;
}
.nav-list a {
padding: 4px;
border-right: white solid 1px;
text-decoration: none;
color: rgb(238, 228, 228);
}
.nav-list li:last-of-type a {
border-style: none;
}
.sub-nav {
display: flex;
margin-top: 10px;
gap: 1%;
}
.search-form {
flex-grow: 1;
display: flex;
}
.search-form input {
padding: 1%;
border: 0px;
border-bottom: 1px solid black;
flex-grow: 1;
}
.search-form button {
padding: 4px;
background: rgb(55, 55, 153);
color: white;
border: none;
}
.company-name {
display: flex;
flex-basis: 256px;
font-size: 2rem;
color: rgb(55, 55, 153);
padding: 0px 2%;
font-weight: 100;
justify-content: center;
}
.credit-offer {
padding: 10px;
align-items: center;
background: red;
color: white;
font-size: 1.0rem;
margin-right: 2%;
text-decoration: none;
}
.short-width {
display: flex;
}
.full-width {
display: none;
}
@media(min-width: 768px) {
.short-width {
display: none;
}
.full-width {
display: flex;
}
}