-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathheader.css
220 lines (167 loc) · 3.25 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
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
215
216
217
218
219
220
body {
margin: 0px;
font-family: Arial, Helvetica, sans-serif;
}
#top {
display: flex;
}
#top>div:nth-child(1) {
/* border: 2px solid red; */
width: 40%;
/* height: px; */
}
#top>div:nth-child(2) {
padding: 15px 0px 0px 20px;
width: 20%;
/* height: 45px; */
color: blue;
font-weight: bold;
font-size: 20px;
}
#top>div:nth-child(3) {
/* border: 2px solid red; */
width: 40%;
/* height: 45px; */
}
#gray_ribban {
margin-top: -4px;
height: 40px;
/* background-color: rgba(246, 238, 238, 0.347); */
background-color: rgba(135, 207, 235, 0.425);
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}
#main {
/* border: 2px solid red; */
height: 80px;
display: flex;
border-bottom: 3px solid skyblue;
}
#main>div:nth-child(1) {
width: 70%;
height: 80px;
background-color: rgba(135, 207, 235, 0.053);
}
#main>div:nth-child(2) {
width: 30%;
height: auto;
/* background-color: gray; */
}
#logo {
padding: 10px 0px 0px 55%;
width: 23%;
}
/* /// */
#nav-btn {
/* border: 2px solid yellow; */
width: 100%;
/* height: 40px; */
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
#nav-btn>div:nth-child(1) {
width: 60%;
height: 40px;
margin-right: 10px;
}
#nav-btn>div:nth-child(1)>input {
text-decoration: none;
}
#nav-btn>div:nth-child(1)>input:hover {
border: 2px solid skyblue;
border-bottom: 3px solid skyblue;
}
#nav-btn>div:nth-child(2) {
/* border: 2px solid green; */
width: 10%;
height: auto;
/* margin-top: 5px; */
margin-left: 10px;
}
#nav-btn>div:nth-child(3) {
/* border: 2px solid gray; */
width: 10%;
height: auto;
margin-top: 5px;
}
#s {
/* border: 2px solid gray; */
width: 100%;
height: 100%;
border-radius: 5px;
}
/* nav-bar css */
#container {
margin: 0 auto;
}
p {
text-align: center;
}
nav {
background-color: white;
}
nav ul {
padding: 0;
margin: 0;
list-style: none;
position: relative;
}
nav ul li {
display: inline-block;
background-color: white;
}
nav a {
display: block;
padding: 0 10px;
color: black;
font-size: 15px;
line-height: 60px;
text-decoration: none;
}
nav a:hover {
background-color: white;
color: rgb(66, 175, 219);
box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
border-bottom: 2px solid blue;
}
/* Hide Dropdowns by Default */
nav ul ul {
display: none;
position: absolute;
top: 62px;
/* the height of the main nav */
}
/* Display Dropdowns on Hover */
nav ul li:hover>ul {
display: inherit;
}
/* Fisrt Tier Dropdown */
nav ul ul li {
width: 200px;
float: none;
display: list-item;
position: relative;
}
/* Second, Third and more Tiers */
nav ul ul ul li {
position: relative;
top: -60px;
left: 200px;
}
/* Change this in order to change the Dropdown symbol */
/* li > a:after { content: '+'; } */
li>a:only-child:after {
content: '';
}
.padding {
padding: 0px 40px 0px 40px;
}
#new-margin {
margin-left: 40px;
}
#footer{
border: 2px solid red;
width: 99.6%;
height: 500px;
}