Skip to content

Commit f1bfbe3

Browse files
committed
small fixes
1 parent 2f61f82 commit f1bfbe3

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

yamb.css

+19-9
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ body {
9393
text-rendering: optimizeLegibility;
9494
font-variant-ligatures: common-ligatures;
9595
font-kerning: normal;
96-
line-height: 1.5;
96+
line-height: 1.6;
9797
color: var(--text-color);
9898
background-color: var(--background-color);
9999
}
@@ -145,10 +145,13 @@ ol {
145145
list-style-position: inside;
146146
padding-left: 1em;
147147
}
148-
:not(fieldset) > ul li::marker {
148+
:not(fieldset) > ul:not(.no-marker) li::marker {
149149
color: currentColor;
150150
content: '🞄 ';
151151
}
152+
ul.no-marker {
153+
list-style-type: none;
154+
}
152155

153156
/* TABLES */
154157
table {
@@ -232,6 +235,11 @@ strong,
232235
th {
233236
font-weight: var(--text-fat);
234237
}
238+
h2 { letter-spacing: 0.02em; }
239+
h3 { letter-spacing: 0.03em; }
240+
h4 { letter-spacing: 0.04em; }
241+
h5 { letter-spacing: 0.06em; }
242+
h6 { letter-spacing: 0.08em; }
235243

236244
small {
237245
letter-spacing: 0.025em;
@@ -349,6 +357,10 @@ ins {
349357
background-color: var(--accepted);
350358
}
351359

360+
iframe {
361+
border: none;
362+
}
363+
352364
/* FORMS */
353365
::placeholder {
354366
color: var(--form-placeholder);
@@ -421,9 +433,9 @@ input[type='button'] {
421433
padding-right: 30px;
422434
padding-left: 30px;
423435
}
424-
button:hover,
425-
input[type='submit']:hover,
426-
input[type='button']:hover {
436+
button:not(:disabled):hover,
437+
input[type='submit']:not(:disabled):hover,
438+
input[type='button']:not(:disabled):hover {
427439
background-color: var(--button-hover-color);
428440
}
429441
/* STATES */
@@ -550,9 +562,6 @@ input[type='range']::-moz-range-thumb {
550562
input[type="search"] {
551563
-webkit-appearance: textfield;
552564
}
553-
input[type="search"]:focus {
554-
box-shadow: 1px 1px 1px 1px var(--focus-color);
555-
}
556565
input::-webkit-search-decoration,
557566
input::-webkit-search-cancel-button {
558567
/* get rid of non-standard weirdness */
@@ -756,7 +765,8 @@ nav ul li::marker {
756765
filter: invert(100%);
757766
}
758767

759-
nav, aside {
768+
nav,
769+
aside {
760770
display: none;
761771
}
762772

0 commit comments

Comments
 (0)