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 {
@ -20,53 +20,76 @@ hr {
} }
code { 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;
line-height: 1.4; line-height: 1.4;
overflow-x: auto; overflow-x: auto;
padding: 1em; padding: 1em;
} }
blockquote { 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);
color:inherit; color: inherit;
} }
a:hover { a:hover {
background-color: var(--darkMaincolor); background-color: var(--darkMaincolor);
color:black; color: black;
} }
.site-description a{ .site-description a {
color: #ddd; color: #ddd;
} }
.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;
} }
.site-title a { .site-title a {
color: white; color: white;
@ -81,10 +104,10 @@ a:hover {
.highlight { .highlight {
background-color: #333; background-color: #333;
} }
.soc:hover{ .soc:hover {
color: black; color: black;
} }
.draft-label{ .draft-label {
color:var(--darkMaincolor); color: var(--darkMaincolor);
background-color: blue; background-color: blue;
} }