-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (96 loc) · 1.83 KB
/
style.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
code {
background-color: #262626;
color: #fff;
padding: 10px;
display: block;
}
.github_icon {
position: absolute;
right: 10%;
top: 5%;
}
.github_icon a {
font-size: 25px;
color: #0e1b0b;
}
.github_icon:hover {
transition: 0.2s;
transform: scale(1.5) !important;
}
/* Fixed sidenav, full height */
.sidenav {
height: 100%;
width: 200px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #cfdbda;
overflow-x: hidden;
padding-top: 20px;
}
/* Style the sidenav links and the dropdown button */
.sidenav button,
.dropdown-btn {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 20px;
color: #262626;
display: block;
border: none;
background: none;
width: 100%;
text-align: left;
cursor: pointer;
outline: none;
}
/* On mouse-over */
.sidenav button:hover,
.dropdown-btn:hover {
color: #a5956d;
}
/* Main content */
.main {
margin-left: 200px; /* Same as the width of the sidenav */
font-size: 20px; /* Increased text to enable scrolling */
padding: 0px 10px;
}
/* Add an active class to the active dropdown button */
.active {
background-color: red;
color: #e4e5ea;
}
/* 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;
background-color: #8aaaa5;
padding-left: 8px;
}
.dropdown-container button {
color: #fff;
}
.dropdown-container button:hover {
color: #0e1b0b;
}
/* Optional: Style the caret down icon */
.fa-caret-down {
float: right;
padding-right: 8px;
}
.details {
margin-top: 10%;
}
/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav button {
font-size: 18px;
}
}