-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlandingpage.css
168 lines (139 loc) · 2.98 KB
/
landingpage.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
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
/* Style the header */
.header {
background-color: #1f497d;
padding: 20px;
color:white;
font-size: 30px;
position: -webkit-sticky; /* Safari */
position: sticky;
top:0;
border-radius:2px ;
}
.header a{
color:white;
}
#usertype {
float: right;
color: white;
margin-right: 3%;
}
#logout {
float: right;
color: white;
margin-right: 1%;
}
.sidenav{
float: left;
width: 18%;
padding: 10px;
height: auto;
background: #4472C4;
}
.main{
background-color:white;
float: left;
width: 81.05%;
padding: 10px;
height: left; /* Should be removed. Only for demonstration */
}
.sidenav a {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 20px;
color: white;
display: block;
border: none;
line-height: 2;
background: none;
width: 100%;
text-align: left;
cursor: pointer;
outline: none;
}
.dropdown-btn {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 20px;
color: white;
display: block;
border: none;
line-height: 2.5;
background: none;
width: 100%;
text-align: left;
cursor: pointer;
outline: none;
}
/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
font-weight: bold;
}
/* Add an active class to the active dropdown button */
.active {
color: #002060;
}
/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
display: none;
width: 267px;
padding-left: 15px;
}
.dropdown-container a {
color: darkblue;
}
/* Optional: Style the caret down icon */
.fa-caret-down {
float: right;
margin-top: 12.5px;
padding-right: 8px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
.footer {
background-color: #f1f1f1;
padding: 10px;
height: 90px;
}
.copyright {
margin-left:2.5%;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
.main {
width: 100%;
}
.sidenav {
width: 100%;
}
}
@media (min-width: 601px) and (max-width:767px) {
.main {
width: 100%;
}
.sidenav {
width: 100%;
}
}
@media (min-width: 768px) and (max-width:991px) {
.main {
width: 100%;
}
.sidenav {
width: 100%;
}
}
/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}