aemyn's internet place

/* aemyn.bear style v07 */

:root {
	--width: 50rem;
/*
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-secondary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
*/
  --font-scale: 1.2em;
	--background-color: darkblue;
	--heading-color: red;
	--text-color: white;
	--link-color: lawngreen;
	--visited-color: fuchsia;
	--code-background-color: white;
	--code-color: black;
  	--blockquote-background-color: cyan;
	--blockquote-color: black;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-scale);
    margin: 8px auto;
    padding: 32px;
    max-width: var(--width);
    text-align: left;
    background-color: var(--background-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
  	font-family: var(--font-main);
    color: var(--heading-color);
}

strong, b {
  	color: var(--heading-color);
}

a {
    color: var(--link-color);
    cursor: pointer;
    text-decoration: none;
}

a:hover {
     text-decoration: underline; 
}

nav {
  	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.5);
	display: flex;
	align-items: center;
  	text-align: center;
	width: 100%;
  line-height:1.3;
  	height: auto;
	z-index: 999;
	backdrop-filter: blur(5px);
  	-webkit-backdrop-filter: blur(5px);
}

nav p {
 	width: 50rem;
	padding: 0 20px;
	margin: 0 auto;
}

nav a {
    margin-right: 8px;
    margin-left: 8px;
  	text-align: center;
  	font-size: 0.8em;
}

button {
    margin: 0;
}

main {
    line-height: 1.2;
}

table {
    width: 100%;
}

hr {
    border: 0;
    border-top: 1px dashed;
}

img {
    max-width: 100%;
}

code {
    font-family: monospace;
  	font-size: 0.8em;
    background-color: var(--code-background-color);
    color: var(--code-color);
    border-radius: 0px;
white-space: pre-wrap;
word-break: keep-all;
word-wrap: break-word !important;
    overflow-wrap: break-word !important;

}

blockquote {
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 8px;
  margin-bottom: 8px;
  border-left: 2px dotted var(--background-color);
  border-right: 2px dotted var(--background-color);
  	background-color: var(--blockquote-background-color);
    color: var(--blockquote-color);
  padding-left: 5%;  
  padding-right: 5%;
  font-size:0.7em;
 
  	font-family: monospace;
    text-align: center;
    font-style: bold;

}

footer {
    padding: 25px 0;
    text-align: center;
}

button {
	border: 0;
  	background-color: inherit;
  	text-decoration: underline;
  	color: var(--heading-color);
}

.title {
    text-decoration: none;
}

.title h1 {
    color: var(--blockquote-background-color);
   color: yellow;
  text-align: center;
}

.inline {
    width: auto !important;
}

pre {
  overflow-x: hidden;
    overflow-y: hidden;
  	font-family: monospace;
    font-size: 0.8em;
 	text-align: left !important;
 
word-break: keep-all;
  white-space: pre-wrap;
word-wrap: break-word !important;
    overflow-wrap: break-word !important;

}


.highlight,
.code {
  margin-left: 10%;
  margin-right: 10%;
  
  margin-top: 8px;
  margin-bottom: 8px;
/* padding: 1px 15px; */
   padding-left: 5%;
   padding-right: 5%;
   
    padding-top: 5%;
    padding-bottom: 5%;

  border-left: 2px dotted var(--background-color);  
border-right: 2px dotted var(--background-color);  
    border-radius: 0px;

    margin-block-start: 1em;
    margin-block-end: 1em;
  overflow-x: auto;
  	font-family: monospace;
    font-size: 0.8em;
 	text-align: left;
word-break: keep-all;
  white-space: pre-wrap;
word-wrap: break-word !important;
    overflow-wrap: break-word !important;

background-color: var(--code-background-color);
    color: var(--code-color);

}

/* blog post list */
ul.blog-posts {
    list-style-type: none;
    padding: unset;
}

ul.blog-posts li {
    display: flex;
}

ul.blog-posts li span {
    flex: 0 0 130px;
}

ul.blog-posts li a:visited {
    color: var(--visited-color);
}