anemone/static/css/style.css

351 lines
5.2 KiB
CSS
Raw Normal View History

2023-07-04 01:37:44 +01:00
:root,
:root.light {
--bgColor: #EEEEEE;
--fgColor: #41474E;
--metaColor: #D26878;
--headColor: #;
--linkColor: #5690AF;
--hovColor: #22453F;
--bgSelect: #FFFAE1;
--bgUrl: url(https://i.ibb.co/Qpkrw4V/tile-Light.webp) repeat;
--red: #D26878;
--dimRed: #623039;
--orange: #e08f67;
--dimOrange: #926048;
--yellow: #FFFAE1;
--dimYellow: #D5C5A1;
--green: #56AFA0;
--dimGreen: #22453F;
--blue: #5690AF;
--dimBlue: #223844;
--purple: #9271D6;
--dimPurple: #47356C;
--grey: #CBCDCD;
--dimGrey: #646868
2023-07-04 01:37:44 +01:00
}
:root.dark {
--bgColor: #222529;
--fgColor: #D6D6D6;
--metaColor: #78B6AD;
--headColor: #;
--linkColor: #DBD5BC;
--hovColor: #E2AEA2;
--bgSelect: #464949;
--bgUrl: url(https://i.ibb.co/LzrFBFJ/tileDark.webp) repeat;
--red: #CD909B;
--dimRed: #684249;
--orange: #E2AEA2;
--dimOrange: #704941;
--yellow: #DBD5BC;
--dimYellow: #6F6847;
--green: #78B6AD;
--dimGreen: #3E615C;
--blue: #87C9E5;
--dimBlue: #38494F;
--purple: #CEA7DE;
--dimPurple: #5E406A;
--grey: #CBCDCD;
--dimGrey: #464949
2023-07-04 01:37:44 +01:00
}
::-moz-selection {
color: var(--bgColor);
background: var(--metaColor)
2023-07-04 01:37:44 +01:00
}
::selection {
color: var(--bgColor);
background: var(--metaColor)
2023-07-04 01:37:44 +01:00
}
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 62.5%;
scrollbar-color: var(--metaColor) var(--bgColor);
scrollbar-width: thin;
2023-07-04 01:37:44 +01:00
}
body {
font-family: monospace;
font-size: 1.6rem;
line-height: 1.35;
max-width: 64rem;
margin: auto;
overflow-wrap: break-word;
background: var(--bgColor);
color: var(--fgColor);
2023-07-04 01:37:44 +01:00
}
h1 {
font-size: 2.4rem;
color: var(--bgColor);
background-color: var(--metaColor);
text-align: center;
text-wrap: balance;
2023-07-04 01:37:44 +01:00
}
h1::before {
color: var(--bgColor);
content: '# '
2023-07-04 01:37:44 +01:00
}
h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
color: var(--metaColor);
content: '# '
2023-07-04 01:37:44 +01:00
}
a {
text-decoration: none;
padding: 0 .2rem 0 .2rem;
border-radius: .3rem;
color: var(--linkColor);
2023-07-04 01:37:44 +01:00
}
a:focus,
a:hover {
background-color: var(--linkColor);
color: var(--bgColor)
2023-07-04 01:37:44 +01:00
}
ul {
list-style: none;
margin-top: .5rem;
margin-bottom: .5rem;
2023-10-10 22:34:35 +01:00
}
li {
margin-bottom: .25rem;
2023-07-04 01:37:44 +01:00
}
ul li::marker {
content: '» ';
color: var(--metaColor)
2023-07-04 01:37:44 +01:00
}
ul li:hover::marker {
content: '# ';
font-weight: 700;
color: var(--linkColor)
}
2023-07-04 01:37:44 +01:00
blockquote {
2023-09-11 19:23:34 +01:00
border-left: .5rem solid var(--metaColor);
margin: 1rem;
padding: 0 0 0 1rem
2023-07-04 01:37:44 +01:00
}
textarea {
border: 2px dotted;
outline: 0;
resize: none;
overflow: auto;
background-color: var(--bgColor)
2023-07-04 01:37:44 +01:00
}
hr {
border: 1px dashed
2023-07-04 01:37:44 +01:00
}
img {
max-width: 90%;
height: auto;
margin: .2rem;
padding: .2rem;
2023-09-11 19:23:34 +01:00
border: dashed .2rem var(--metaColor);
border-radius: 15px
2023-07-04 01:37:44 +01:00
}
pre {
border: 1px solid var(--metaColor);
padding: 1rem;
overflow-x: auto;
font-style: monospace;
2023-09-27 18:29:16 +01:00
white-space: pre-wrap;
word-break: break-word;
2023-07-04 01:37:44 +01:00
}
p code,
li code,
div code {
padding: 0 .2rem 0 .2rem;
border-radius: .3rem;
color: var(--bgColor);
background-color: var(--fgColor);
2023-07-04 01:37:44 +01:00
}
2023-07-25 02:39:11 +01:00
pre code {
padding: 0;
border-radius: 0;
color: inherit;
background-color: inherit;
2023-07-25 02:39:11 +01:00
}
2023-07-04 01:37:44 +01:00
iframe {
max-width: 90%;
2023-07-04 01:37:44 +01:00
}
table {
table-layout: fixed;
width: 100%;
border-collapse: collapse;
border: none;
margin-left: auto;
margin-right: auto;
margin-bottom: 1rem;
line-height: 1.1
2023-07-04 01:37:44 +01:00
}
thead th:first-child {
width: 20%
2023-07-04 01:37:44 +01:00
}
th {
font-weight: 400
2023-07-04 01:37:44 +01:00
}
td,
th {
padding: .5rem;
2023-09-11 19:23:34 +01:00
border: dashed .1rem var(--metaColor)
2023-07-04 01:37:44 +01:00
}
footer {
font-size: 1.4rem;
clear: both;
color: var(--footColor)
2023-07-04 01:37:44 +01:00
}
footer,
td,
th {
text-align: left
2023-07-04 01:37:44 +01:00
}
.metaData,
.themeButton,
hr,
textarea {
color: var(--metaColor)
}
/* Site Specific Styling */
.wrapper {
min-height: 100vh;
display: grid;
grid-template-rows: auto 1fr auto;
gap: 2rem;
2023-09-27 18:29:16 +01:00
}
/* Icons settings */
.icons {
width: 2.0rem;
height: 2.0rem;
aspect-ratio: 1/1;
2023-09-11 19:23:34 +01:00
display: inline-block;
vertical-align: middle;
color: var(--fgColor);
fill: var(--fgColor);
background-color: transparent;
}
.icons__background:hover {
background-color: transparent;
color: var(--metaColor);
2023-07-04 01:37:44 +01:00
}
.navBar {
padding: 1rem 0 0 0;
display: flex;
flex-direction: row;
gap: .4rem;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
align-content: flex-end
2023-07-04 01:37:44 +01:00
}
.themeButton {
cursor: pointer;
border: none;
font-size: 1.8rem;
background-color: transparent
2023-07-04 01:37:44 +01:00
}
.dark .themeButton.dark,
.themeButton.light {
display: none
2023-07-04 01:37:44 +01:00
}
.dark .themeButton.light {
display: block
2023-07-04 01:37:44 +01:00
}
.tagsData {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: flex-end;
align-items: flex-start;
align-content: flex-end
2023-07-04 01:37:44 +01:00
}
2023-10-10 22:34:35 +01:00
.titleList li {
margin-bottom: .75rem;
}
2023-07-04 01:37:44 +01:00
.footnote-definition {
margin: 0 0 0 2rem;
2023-07-04 01:37:44 +01:00
}
2023-07-04 01:37:44 +01:00
.footnote-definition-label {
color: var(--metaColor);
2023-07-04 01:37:44 +01:00
}
.footnote-definition p {
display: inline;
padding: 0 0 0 1rem;
2023-07-04 01:37:44 +01:00
}
.footContainer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
2023-07-04 01:37:44 +01:00
}
.noStyle {
padding: 0;
margin: 0;
border: none;
border-radius: 0
2023-07-04 01:37:44 +01:00
}
.textCenter {
text-align: center;
2023-07-04 01:37:44 +01:00
}
.floatRight {
float: right
2023-07-04 01:37:44 +01:00
}
.floatLeft {
float: left
2023-07-25 04:05:11 +01:00
}
.webring {
margin: 0.5rem;
}
/* Add Padding */
@media (max-width: 650px) {
.wrapper {
margin: 1rem;
}
2023-07-04 01:37:44 +01:00
}