-
Notifications
You must be signed in to change notification settings - Fork 0
/
helpful-styles.css
97 lines (85 loc) · 2.08 KB
/
helpful-styles.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
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inconsolata&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
@import url("https://fonts.googleapis.com/css2?family=Material+Icons");
:root {
--nicepurple: #bd93f9;
--bg: #607799;
--bg2: #73abcc;
--bg3: #a9cbdf;
}
body {
background-color: var(--bg);
font-family: Open Sans;
}
h1 {
color: whitesmoke;
justify-content: center;
align-items: center;
display: flex;
}
code {
font-size: large;
font-family: Inconsolata;
background-color: #b6c1d1;
}
/* The sidebar menu */
.sidenav {
height: 100%; /* Full-height: remove this if you want "auto" height */
width: 200px; /* Set the width of the sidebar */
position: fixed; /* Fixed Sidebar (stay in place on scroll) */
z-index: 1; /* Stay on top */
top: 0; /* Stay at the top */
left: 0;
background-color: var(--bg);
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 20px;
}
/* The navigation menu links */
.sidenav a {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 25px;
color: whitesmoke;
display: block;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
color: var(--nicepurple);
}
/* Style page content */
.main {
margin-left: 200px; /* Same as the width of the sidebar */
padding: 0px 10px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav a {
font-size: 18px;
}
}
.border {
background-color: var(--bg2);
font-family: Open Sans;
}
.grid-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 1px;
font-family: Open Sans;
}
.grid-container > div {
background-color: var(--bg3);
padding: 10px;
}
button {
background-color: var(--bg2);
border-radius: 5px;
}
.codeblock {
white-space: pre-wrap;
font-family: Consolas;
}