Skip to content

Commit 462ac37

Browse files
committed
refactor: clean up stylesheet
1 parent c40dc98 commit 462ac37

1 file changed

Lines changed: 1 addition & 45 deletions

File tree

src/style.css

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ p {
112112
#site-container {
113113
width: var(--max-width);
114114
margin: 0px;
115-
padding: 2em;
115+
padding: 1.5em;
116116
}
117117

118118
img {
@@ -203,15 +203,6 @@ nav a {
203203
margin-left: -8px;
204204
margin-right: 8px;
205205
}
206-
nav .settings-btn {
207-
float: right;
208-
margin-right: 10px;
209-
}
210-
nav img {
211-
image-rendering: pixelated;
212-
width: 544px;
213-
height: 94px;
214-
}
215206

216207
pre {
217208
overflow-x: auto;
@@ -226,7 +217,6 @@ pre code {
226217
padding: 1em;
227218
text-align: left;
228219
hyphens: none;
229-
/* min-width: 100%; */
230220
}
231221

232222
@media print {
@@ -239,44 +229,10 @@ pre code {
239229
}
240230
}
241231

242-
.links .platform {
243-
display: inline-block;
244-
width: 5em;
245-
position: relative;
246-
display: inline-block;
247-
}
248-
249-
.links [aria-describedby] {
250-
display: inline-block;
251-
}
252-
253232
[role="doc-backlink"] {
254233
margin-right: 0.5em;
255234
}
256235

257-
[role="tooltip"] {
258-
visibility: hidden;
259-
position: absolute;
260-
width: 10em;
261-
/* top: 2rem;
262-
left: 2rem; */
263-
background: rgb(85, 85, 85);
264-
color: white;
265-
padding: 0.5rem;
266-
border-radius: 0.25rem;
267-
z-index: 1000;
268-
/* Give some time before hiding so mouse can exit the input
269-
and enter the tooltip. Not necessary since it's right below it.*/
270-
/* transition: visibility 0.5s; */
271-
}
272-
273-
[aria-describedby]:hover + [role="tooltip"],
274-
[aria-describedby]:focus + [role="tooltip"],
275-
[role="tooltip"]:hover,
276-
[role="tooltip"]:focus {
277-
visibility: visible;
278-
}
279-
280236
blockquote {
281237
margin: 1em;
282238
margin-bottom: 0em;

0 commit comments

Comments
 (0)