webbed-site/static/css/style.css

361 lines
5.2 KiB
CSS
Raw Normal View History

2024-02-19 21:10:22 -06:00
:root,
:root.light {
2024-03-30 00:33:49 -05:00
--bgColor: #e6e9ef;
--fgColor: #4c4f69;
--metaColor: #dd7878;
2024-02-19 21:10:22 -06:00
--headColor: #;
2024-03-30 00:33:49 -05:00
--linkColor: #209fb5;
2024-02-19 21:10:22 -06:00
--hovColor: #22453F;
--bgSelect: #FFFAE1;
--bgUrl: url(https://i.ibb.co/Qpkrw4V/tile-Light.webp) repeat;
2024-03-30 00:33:49 -05:00
--red: #d20f39;
--dimRed: #e64553;
--orange: #fe640b;
2024-02-19 21:10:22 -06:00
--dimOrange: #926048;
2024-03-30 00:33:49 -05:00
--yellow: #df8e1d;
2024-02-19 21:10:22 -06:00
--dimYellow: #D5C5A1;
2024-03-30 00:33:49 -05:00
--green: #40a02b;
--dimGreen: #179299;
--blue: #04a5e5;
--dimBlue: #1e66f5;
--purple: #7287fd;
2024-02-19 21:10:22 -06:00
--dimPurple: #47356C;
--grey: #CBCDCD;
--dimGrey: #646868
}
:root.dark {
2024-03-30 00:33:49 -05:00
--bgColor: #181825;
--fgColor: #cdd6f4;
--metaColor: #74c7ec;
2024-02-19 21:10:22 -06:00
--headColor: #;
2024-03-30 00:33:49 -05:00
--linkColor: #f2cdcd;
--hovColor: #f38ba8;
--bgSelect: #6c7086;
2024-02-19 21:10:22 -06:00
--bgUrl: url(https://i.ibb.co/LzrFBFJ/tileDark.webp) repeat;
2024-03-30 00:33:49 -05:00
--red: #f38ba8;
--dimRed: #eba0ac;
--orange: #fab387;
2024-02-19 21:10:22 -06:00
--dimOrange: #704941;
2024-03-30 00:33:49 -05:00
--yellow: #f9e2af;
2024-02-19 21:10:22 -06:00
--dimYellow: #6F6847;
2024-03-30 00:33:49 -05:00
--green: #a6e3a1;
--dimGreen: #94e2d5;
--blue: #89dceb;
--dimBlue: #74c7ec;
--purple: #b4befe;
--dimPurple: #cba6f7;
--grey: #a6adc8;
--dimGrey: #6c7086
2024-02-19 21:10:22 -06:00
}
::-moz-selection {
color: var(--bgColor);
background: var(--metaColor)
}
::selection {
color: var(--bgColor);
background: var(--metaColor)
}
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 62.5%;
scrollbar-color: var(--metaColor) var(--bgColor);
scrollbar-width: thin;
}
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);
}
h1 {
font-size: 2.4rem;
color: var(--bgColor);
background-color: var(--metaColor);
text-align: center;
text-wrap: balance;
}
h1::before {
color: var(--bgColor);
content: '♡ '
}
h1::after {
color: var(--bgColor);
content: ' ♡ '
}
h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
color: var(--metaColor);
content: '♡ '
}
a {
text-decoration: none;
padding: 0 .2rem 0 .2rem;
border-radius: .3rem;
color: var(--linkColor);
}
2024-02-27 07:28:33 -06:00
a:focus
2024-02-27 07:31:31 -06:00
a:hover {
background-color: var(--linkColor);
color: var(--bgColor)
}
2024-02-19 21:10:22 -06:00
ul {
list-style: none;
margin-top: .5rem;
margin-bottom: .5rem;
}
li {
margin-bottom: .25rem;
}
ul li::marker {
content: '» ';
color: var(--metaColor)
}
ul li:hover::marker {
content: '♡ ';
font-weight: 700;
color: var(--linkColor)
}
blockquote {
border-left: .5rem solid var(--metaColor);
margin: 1rem;
padding: 0 0 0 1rem
}
textarea {
border: 2px dotted;
outline: 0;
resize: none;
overflow: auto;
background-color: var(--bgColor)
}
hr {
border: 1px dashed
}
img {
max-width: 90%;
height: auto;
2024-02-24 13:21:17 -06:00
margin: .1rem;
2024-02-19 21:10:22 -06:00
}
2024-02-27 17:33:15 -06:00
div.emoji {
img {width: 50px;}
}
2024-02-19 21:10:22 -06:00
pre {
border: 1px solid var(--metaColor);
padding: 1rem;
overflow-x: auto;
font-style: monospace;
white-space: pre-wrap;
word-break: break-word;
}
p code,
li code,
div code {
padding: 0 .2rem 0 .2rem;
border-radius: .3rem;
color: var(--bgColor);
background-color: var(--fgColor);
}
pre code {
padding: 0;
border-radius: 0;
color: inherit;
background-color: inherit;
}
iframe {
max-width: 90%;
}
table {
table-layout: fixed;
width: 100%;
border-collapse: collapse;
border: none;
margin-left: auto;
margin-right: auto;
line-height: 1.1
}
thead th:first-child {
2024-02-27 07:33:07 -06:00
width: 33%
2024-02-19 21:10:22 -06:00
}
th {
font-weight: 400
}
td,
th {
padding: .5rem;
border: dashed .1rem var(--metaColor)
}
footer {
2024-03-30 00:33:49 -05:00
font-size: 0.6em;
2024-02-19 21:10:22 -06:00
clear: both;
color: var(--footColor)
}
footer,
td,
th {
2024-03-30 00:33:49 -05:00
text-align: left;
}
footer,
img {
vertical-align: text-top;
2024-02-19 21:10:22 -06:00
}
.metaData,
.themeButton,
hr,
textarea {
color: var(--metaColor)
}
/* Site Specific Styling */
.wrapper {
min-height: 100vh;
min-height: 100svh;
display: grid;
grid-template-rows: auto 1fr auto;
gap: 2rem;
}
/* Icons settings */
.icons {
width: 2.0rem;
height: 2.0rem;
aspect-ratio: 1/1;
display: inline-block;
vertical-align: middle;
color: var(--fgColor);
fill: var(--fgColor);
background-color: transparent;
}
.icons__background:hover {
background-color: transparent;
color: var(--metaColor);
}
.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
}
.themeButton {
cursor: pointer;
border: none;
font-size: 1.8rem;
background-color: transparent
}
.dark .themeButton.dark,
.themeButton.light {
display: none
}
.dark .themeButton.light {
display: block
}
.tagsData {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: flex-end;
align-items: flex-start;
align-content: flex-end
}
.titleList li {
margin-bottom: .75rem;
}
.footnote-definition {
margin: 0 0 0 2rem;
}
.footnote-definition-label {
color: var(--metaColor);
}
.footnote-definition p {
display: inline;
padding: 0 0 0 1rem;
}
.footContainer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.noStyle {
padding: 0;
margin: 0;
border: none;
border-radius: 0
}
.textCenter {
text-align: center;
}
.floatRight {
float: right
}
.floatLeft {
float: left
}
.webring {
margin: 0.5rem;
}
/* Add Padding */
@media (max-width: 650px) {
.wrapper {
margin: 1rem;
}
}