-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
145 lines (122 loc) · 2.66 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
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
body {
color: #eee;
background-color: #111;
font-family: "Fira Sans", sans-serif;
margin: 0;
}
#content {
margin: 8px;
display: flex;
align-items: center;
flex-direction: column;
}
#article {
min-width: 40%;
width: 64em;
max-width: 95%;
/*background-color: rgba(255,255,255,0.05);*/
}
input[type=text] {
font-family: "Fira Sans", sans-serif;
font-size: 24px;
background-color: white;
background-image: url("https://www.svgrepo.com/download/491473/search.svg");
background-size: contain;
background-repeat: no-repeat;
border-radius: 10px;
color: black;
border: none;
width: 80%;
padding: 10px 10px 10px 60px;
filter: invert(100%);
}
input[type=text]:focus {
outline: none;
}
/* MD Elements */
blockquote {
background-color: #222;
background-color: rgba(255,255,255,0.1);
padding-top: 20px;
padding-right: 30px;
padding-bottom: 20px;
padding-left: 30px;
border-left: 2px solid white;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 60%;
}
/*a {
background: linear-gradient(90deg, rgba(12,7,88,1) 14%, rgba(98,0,81,1) 73%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}*/
a:link {color: #4760e8;}
a:visited {color: #18ac28;}
a:hover {color: #36cdd5;}
a:active {color: white;}
/* Navbar */
.topnav {
background: linear-gradient(90deg, rgba(12,7,88,1) 14%, rgba(98,0,81,1) 73%);
overflow: hidden;
position: fixed;
top: 0;
width: 100%;
z-index: 2; /* Render in front of mathjax */
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: rgba(255,255,255,0.05);
}
.topnav a.active {
background-color: rgba(255,255,255,0.2);
color: white;
}
/* Code Blocks */
pre:has(code) {
display: flex;
overflow-x: auto; /* Scroll box instead of making wider than the page */
background-color: black;
border: 1px solid #AAA;
padding: 5px;
width: 100%;
}
code {
font-family: "Fira Code", monospace;
}
code.lineno {
border-right: 1px solid #AAA;
padding-right: 5px;
margin-right: 5px;
user-select: none; /* Never want to copy line numbers by mistake */
}
p > code {
background-color: black;
border: 0.5px solid #AAA;
padding: 2px;
}
/* Viz.js */
p.graph {
display: flex;
align-items: center;
}
p > svg {
display: block;
margin-left: auto;
margin-right: auto;
}
.graph > polygon {fill: transparent;}
.node > text {fill: white;}
.node > ellipse {stroke: white;}
.edge > polygon {fill: white;}
.edge > * {stroke: white;}