CSS fix in the tag page

This commit is contained in:
athul 2020-04-17 20:50:41 +05:30
parent 280b262a71
commit bbf6c6513d

View File

@ -6,13 +6,13 @@ body {
::-moz-selection { ::-moz-selection {
background: blue; background: blue;
color: #fff; color: #fff;
text-shadow: none text-shadow: none;
} }
::selection { ::selection {
background: red; background: red;
color: #fff; color: #fff;
text-shadow: none text-shadow: none;
} }
hr { hr {
@ -22,7 +22,7 @@ code {
background-color: lightblue; background-color: lightblue;
color: black; color: black;
text-decoration: bold; text-decoration: bold;
padding: .1em .2em; padding: 0.1em 0.2em;
} }
pre { pre {
background-color: #272822; background-color: #272822;
@ -34,15 +34,38 @@ blockquote {
border-color: blue; border-color: blue;
} }
h1,h2,h3,h4,h5,h6 { h1,
h2,
h3,
h4,
h5,
h6 {
color: #ddd; color: #ddd;
} }
h1::before { color: var(--darkMaincolor); content: '# '; } h1::before {
h2::before { color: var(--darkMaincolor); content: '## '; } color: var(--darkMaincolor);
h3::before { color: var(--darkMaincolor); content: '### '; } content: "# ";
h4::before { color: var(--darkMaincolor); content: '#### '; } }
h5::before { color: var(--darkMaincolor); content: '##### '; } h2::before {
h6::before { color: var(--darkMaincolor); content: '###### '; } color: var(--darkMaincolor);
content: "## ";
}
h3::before {
color: var(--darkMaincolor);
content: "### ";
}
h4::before {
color: var(--darkMaincolor);
content: "#### ";
}
h5::before {
color: var(--darkMaincolor);
content: "##### ";
}
h6::before {
color: var(--darkMaincolor);
content: "###### ";
}
a { a {
border-bottom: 3px solid var(--darkMaincolor); border-bottom: 3px solid var(--darkMaincolor);
@ -58,13 +81,13 @@ a:hover {
} }
.site-description a:hover { .site-description a:hover {
color: black; color: black;
} }
.tags a { .tags a {
border-bottom: 3px solid var(--darkMaincolor); border-bottom: 3px solid var(--darkMaincolor);
} }
.tags a:hover { .tags a:hover {
background-color: var(--darkMaincolor);
color: black; color: black;
} }