394 lines
8.0 KiB
CSS
394 lines
8.0 KiB
CSS
/* CSS HEX */
|
|
:root {
|
|
--jet: #353535ff;
|
|
--chinese-red: #aa3322ff;
|
|
--pale-silver: #c4bbafff;
|
|
--space-cadet: #292640ff;
|
|
--xiketic: #0f101aff;
|
|
--blue-ryb: #4056f4ff;
|
|
--raisin-black: #241e1eff;
|
|
--dim-gray: #756b6bff;
|
|
--pewter-blue: #93A8ACff;
|
|
|
|
--celestial-blue: #5299D3;
|
|
--white-smoke: #F1EDEE;
|
|
--midnight-blue: #18206F;
|
|
--penn-blue: #17255A;
|
|
--eerie-black: #172121;
|
|
--vista-blue: #8EA4D2;
|
|
|
|
|
|
/* solarized dark colors */
|
|
--base00: #657b83;
|
|
--base01: #586e75;
|
|
--base02: #073642;
|
|
--base03: #002b36;
|
|
--base0: #839496;
|
|
--base1: #93a1a1;
|
|
--base2: #eee8d5;
|
|
--base3: #fdf6e3;
|
|
|
|
--yellow: #b58900;
|
|
--orange: #cb4b16;
|
|
--red: #dc322f;
|
|
--magenta: #d33682;
|
|
--violet: #6c71c4;
|
|
--blue: #268bd2;
|
|
--cyan: #2aa198;
|
|
--green: #859900;
|
|
|
|
--main-bg: var(--base02);
|
|
--content-bg: var(--base03);
|
|
--primary-text: var(--base0);
|
|
--secondary-text: var(--base01);
|
|
--primary-link: var(--magenta);
|
|
--primary-link-hover: var(--red);
|
|
--secondary-link: var(--blue);
|
|
--ternary-link: var(--yellow);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Genesis";
|
|
src: url("/fonts/NiseGenesis.TTF");
|
|
}
|
|
|
|
/*
|
|
* Page text: Krub
|
|
* Headings & Top nav: Lalezar
|
|
*/
|
|
|
|
body {
|
|
background-color: var(--main-bg);
|
|
color: var(--primary-text);
|
|
font-family: 'Krub', sans-serif;
|
|
scrollbar-width: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
h1,h2,h3,h4,h5,h6 {
|
|
color: var(--primary-text);
|
|
font-family: 'Lalezar', display;
|
|
}
|
|
|
|
p {
|
|
height: fit-content;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: var(--primary-link);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, a:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a.tag {
|
|
color: var(--secondary-link);
|
|
}
|
|
|
|
a.permalink {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
a.summary {
|
|
color: var(--primary-text);
|
|
}
|
|
|
|
.big {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
flex: 1;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.main-sidebar {
|
|
width: 20%;
|
|
}
|
|
|
|
.header-nav {
|
|
position: sticky;
|
|
top: 0px;
|
|
min-height: 100vh;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-flow: column;
|
|
}
|
|
|
|
header {
|
|
flex: 1 1 35%;
|
|
}
|
|
|
|
header h1 {
|
|
font-family: "Genesis", 'Courier New', Courier, monospace;
|
|
font-size: 1.3rem;
|
|
color: var(--pewter-blue);
|
|
width: 350px;
|
|
}
|
|
|
|
header ul.social {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 15px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
header li.social {
|
|
display: inline;
|
|
}
|
|
|
|
header li.social a {
|
|
display: inline-block;
|
|
padding: 0 10px;
|
|
color: var(--secondary-link);
|
|
}
|
|
|
|
header a.sitetitle {
|
|
text-decoration: none;
|
|
}
|
|
|
|
p#subtitle {
|
|
text-align: center;
|
|
}
|
|
|
|
span.social {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
color: white;
|
|
}
|
|
|
|
span.masto {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.2595 13.9898C20.9852 15.4006 18.8033 16.9446 16.2974 17.2439C14.9907 17.3998 13.7041 17.5431 12.3321 17.4802C10.0885 17.3774 8.31809 16.9446 8.31809 16.9446C8.31809 17.163 8.33156 17.371 8.3585 17.5655C8.65019 19.7797 10.5541 19.9124 12.3576 19.9742C14.1779 20.0365 15.7987 19.5254 15.7987 19.5254L15.8735 21.1711C15.8735 21.1711 14.6003 21.8548 12.3321 21.9805C11.0814 22.0493 9.52849 21.9491 7.71973 21.4703C3.79684 20.432 3.12219 16.2504 3.01896 12.0074C2.98749 10.7477 3.00689 9.55981 3.00689 8.56632C3.00689 4.22771 5.84955 2.95599 5.84955 2.95599C7.2829 2.29772 9.74238 2.0209 12.2993 2H12.3621C14.919 2.0209 17.3801 2.29772 18.8133 2.95599C18.8133 2.95599 21.6559 4.22771 21.6559 8.56632C21.6559 8.56632 21.6916 11.7674 21.2595 13.9898ZM18.3029 8.9029C18.3029 7.82924 18.0295 6.97604 17.4805 6.34482C16.9142 5.71359 16.1726 5.39001 15.2522 5.39001C14.187 5.39001 13.3805 5.79937 12.8473 6.61819L12.3288 7.48723L11.8104 6.61819C11.2771 5.79937 10.4706 5.39001 9.40554 5.39001C8.485 5.39001 7.74344 5.71359 7.17719 6.34482C6.62807 6.97604 6.3547 7.82924 6.3547 8.9029V14.1562H8.43597V9.05731C8.43597 7.98246 8.88822 7.4369 9.79281 7.4369C10.793 7.4369 11.2944 8.08408 11.2944 9.36376V12.1547H13.3634V9.36376C13.3634 8.08408 13.8646 7.4369 14.8648 7.4369C15.7694 7.4369 16.2216 7.98246 16.2216 9.05731V14.1562H18.3029V8.9029Z'%3E%3C/path%3E%3C/svg%3E");
|
|
}
|
|
|
|
span.email {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM12.0606 11.6829L5.64722 6.2377L4.35278 7.7623L12.0731 14.3171L19.6544 7.75616L18.3456 6.24384L12.0606 11.6829Z'%3E%3C/path%3E%3C/svg%3E");
|
|
}
|
|
|
|
span.rss {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M3 3C12.9411 3 21 11.0589 21 21H18C18 12.7157 11.2843 6 3 6V3ZM3 10C9.07513 10 14 14.9249 14 21H11C11 16.5817 7.41828 13 3 13V10ZM3 17C5.20914 17 7 18.7909 7 21H3V17Z'%3E%3C/path%3E%3C/svg%3E");
|
|
}
|
|
|
|
nav {
|
|
flex: 3 1 55%;
|
|
text-align: right;
|
|
}
|
|
|
|
nav ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/*nav li {
|
|
display: inline;
|
|
}*/
|
|
|
|
nav li a {
|
|
display: inline-block;
|
|
padding: 15px 20px;
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
transition-delay: 0.1s;
|
|
font-family: 'Nova Mono', monospace;
|
|
font-weight: bold;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
nav li a:link, nav li a:visited {
|
|
color: var(--ternary-link);
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
display: flex;
|
|
background-color: rgba(23,33,33,0.7);
|
|
padding: 0 150px;
|
|
flex-flow: row wrap;
|
|
/* gap: 20px; */
|
|
z-index: 1;
|
|
/* margin: 0 0.1rem; */
|
|
}
|
|
|
|
.sidebar {
|
|
flex: 3 1;
|
|
margin: 0 2rem;
|
|
}
|
|
|
|
.sidebar p {
|
|
line-height: 1;
|
|
}
|
|
|
|
.content {
|
|
flex: 8 1;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
article p {
|
|
text-indent: 1rem;
|
|
text-align: justify;
|
|
}
|
|
|
|
section.posts ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
article time {
|
|
color: var(--secondary-text);
|
|
}
|
|
|
|
article a.title {
|
|
color: var(--yellow);
|
|
}
|
|
|
|
code {
|
|
background-color: black;
|
|
padding: 10px;
|
|
overflow-x: scroll;
|
|
color: white;
|
|
}
|
|
|
|
pre code{
|
|
display: block;
|
|
}
|
|
|
|
ul.pagination {
|
|
list-style: none;
|
|
text-align: center;
|
|
}
|
|
|
|
li.page-item {
|
|
display: inline;
|
|
padding: 0.3rem;
|
|
}
|
|
|
|
|
|
footer {
|
|
padding: 0 0 15px 0px;
|
|
text-align: center;
|
|
color: var(--secondary-text);
|
|
border-top: 1px solid var(--secondary-text);
|
|
position: sticky;
|
|
top: 450px;
|
|
}
|
|
|
|
|
|
#webmentions img { max-height: 1.2em; margin-right: -1ex; }
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
|
|
/*
|
|
* Links page
|
|
*/
|
|
|
|
|
|
#links-main {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
#links-main li {
|
|
padding: 7px 0;
|
|
}
|
|
|
|
.links-column {
|
|
flex: 1 1 300px;
|
|
overflow-wrap: break-word;
|
|
height: fit-content;
|
|
}
|
|
|
|
.hover-links {
|
|
position: relative;
|
|
border-bottom: 1px dotted var(--secondary-link);
|
|
}
|
|
|
|
a.hover-links:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.hover-links:before {
|
|
content: attr(data-hover);
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
max-width: 340px;
|
|
min-width: 200px;
|
|
background-color: var(--main-bg);
|
|
color: var(--primary-text);
|
|
text-align: center;
|
|
border: 4px double var(--primary-text);
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
transition: opacity 0.3s ease-in-out;
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: -50px;
|
|
top: -250%;
|
|
}
|
|
|
|
.hover-links:hover:before {
|
|
opacity: 0.8;
|
|
visibility: visible;
|
|
}
|
|
|
|
@media only screen and (max-width: 500px) {
|
|
div.nav {
|
|
border: none;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--content-bg);
|
|
}
|
|
|
|
main {
|
|
padding: 0 45px;
|
|
}
|
|
|
|
.big {
|
|
flex-direction: column;
|
|
width: unset;
|
|
}
|
|
|
|
.header-nav {
|
|
position: unset;
|
|
min-height: unset;
|
|
}
|
|
|
|
.column {
|
|
border: none;
|
|
background: none;
|
|
max-width: unset;
|
|
margin: 0 auto;
|
|
padding: 0.2rem;
|
|
min-height: unset;
|
|
}
|
|
|
|
#content {
|
|
padding: 0;
|
|
}
|
|
|
|
div.titlex {
|
|
margin: 0 auto;
|
|
}
|
|
}
|