CSS : Apply black colour to all elements, except for element a.

This commit is contained in:
Schimon Jehudah, Adv. 2024-08-28 17:20:32 +03:00
parent 6515233c96
commit 5c477c5fee

View file

@ -1,9 +1,6 @@
* {
color: #000;
}
a { a {
color: #2c6825; /* #439639 */ color: #2c6825; /* #439639 */
font-family: system-ui;
text-decoration: none; text-decoration: none;
} }
@ -12,7 +9,7 @@ a:visited {
} }
a:hover { a:hover {
text-decoration: underline text-decoration: underline;
} }
.tags > a { .tags > a {
@ -24,7 +21,8 @@ body {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
a, div, h1, h2, h3, h4, h5, p, span { div, h1, h2, h3, h4, h5, p, span {
color: #000;
font-family: system-ui; font-family: system-ui;
} }
@ -36,7 +34,7 @@ body, h1, h2, html,
dl#navigation, dl#navigation,
#related-tags dd { #related-tags dd {
margin: 0; margin: 0;
padding: 0 padding: 0;
} }
body, html { body, html {
@ -83,9 +81,9 @@ h3, h4, h5 {
#container #header.row { #container #header.row {
flex: 0 1 auto; flex: 0 1 auto;
/* The above is shorthand for: /* The above is shorthand for:
flex-grow: 0, flex-grow: 0;
flex-shrink: 1, flex-shrink: 1;
flex-basis: auto flex-basis: auto;
*/ */
} }