-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.css
97 lines (91 loc) · 1.57 KB
/
main.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
span.tag {
background: #e9e9e9;
font-size: small;
padding: 0 0.5rem;
border-radius: 1rem;
margin-right: 0.5rem;
}
/* utility class for setting left margin */
span.ml-1\/2 {
margin-left: 0.5rem;
}
/* For sample schedules in which_class.md*/
span.math{
color:blue !important;
}
span.concentration{
color:green !important;
}
span.inside-concentration{
color:red !important;
}
/* Get rid of default navigation bar */
.site-nav{
display:none
}
/* navigation bar */
.navbar {
background-color: #fdfdfd;
}
.navbar ul {
list-style-type: none;
margin-bottom: 0;
margin-left: 0;
}
.navbar li {
line-height: 30px;
float: left;
}
.navbar a {
display: block;
padding: 8px;
color: #111111;
text-decoration: none;
}
.navbar li.active {
color: #111111;
}
.navbar li.active a {
color: #fdfdfd;
}
.navbar a:hover {
background-color: #f1f1f1
}
.navbar-container {
display: flex;
align-items: center;
}
.navbar-contents {
position: absolute;
right: 0;
z-index: 0;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
}
.dropdown:hover .dropdown-content {
position: absolute;
display: block;
z-index: 1;
margin-left: 0px;
background-color: #fdfdfd;
}
.dropdown:hover .dropdown-content li {
width: 100%
}
@media screen and (max-width: 1113px) {
.navbar-container {
flex-direction: column;
flex-wrap: wrap;
}
.navbar-contents {
position: relative;
}
.navbar a {
width: 100%;
}
}