comfitu.re/style.css
Fristi 3551e61357 1.5.0 minor release, integrated blogs and logs.
+ Added blogs and logs
+ Added integrated reader and player for blogs and logs
+ Merged websites and projects pages
+ Updated copyright notice
+ Updated theme with css variables and a new color scheme
2022-05-26 18:28:59 +02:00

247 lines
3.4 KiB
CSS

@font-face {
font-family: IBMVGA8;
src: url("fonts/Web437_IBM_VGA_8x16.woff");
}
:root {
--fg-color: #e6e1dc;
--bg-color: rgba(43, 43, 43, 0.95);
--border-color: #000000;
--shadow-color: rgba(0, 0, 0, .9);
--link-color: #ffc66d;
--color-2: #a5c261;
--color-4: #6d9cbe;
}
html, body {
margin:0;
padding:0;
}
body {
font-family: IBMVGA8, monospace;
font-size: 16px;
line-height: 16px;
}
.hide {
display: none;
}
.background {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-image: url("backgrounds/4.gif");
background-position: center center;
background-size: cover;
background-attachment: fixed;
image-rendering: crisp-edges;
}
.container {
position:relative;
box-sizing: border-box;
width: 100vw;
height: 100vh;
max-width: 1920px;
margin: 0 auto;
padding: 0;
}
.content {
position:absolute;
box-sizing: border-box;
height: 100%;
width: 100%;
margin:0;
padding:8px;
background-color: var(--bg-color);
color: var(--fg-color);
border: 2px solid var(--border-color);
box-shadow: 7px 7px 0 var(--shadow-color);
display: flex;
flex-direction: column;
overflow: auto;
}
header, main, footer, .player {
position: relative;
box-sizing: border-box;
margin:0;
padding:0;
width: 100%;
}
header, footer, .player {
overflow: hidden;
flex: 0 0 auto;
}
.player {
padding-bottom: 8px;
}
.player audio {
width: calc(100% - 32px);
}
.player span.times {
font-size: 32px;
line-height: 47px;
float: right;
cursor: pointer;
}
.reader p:first-child {
text-align: center;
}
.reader a.times {
float: left;
}
.reader .loader {
float:right;
}
.reader .loader:after {
display: inline;
white-space: pre;
content: " ";
animation: loading 1s linear infinite;
}
main {
margin: 16px 0;
padding: 0 16px;
flex: 1 1 auto;
overflow-y: auto;
overflow-x: hidden;
}
a {
color: var(--link-color);
text-decoration: none;
}
a:before {
content: '[';
}
a:after {
content: ']';
}
a:hover, a:active {
background-color: var(--link-color);
color: var(--bg-color);
}
a.active {
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
font-size: 16px;
font-weight: normal;
margin: 0 0 16px 0;
padding: 0;
text-decoration: underline;
}
h1:before {
content: '# ';
}
h2:before {
content: '## ';
}
h3:before {
content: '### ';
}
h4:before {
content: '#### ';
}
h5:before {
content: '##### ';
}
h6:before {
content: '###### ';
}
p {
margin: 0 0 16px 0;
padding:0;
}
ul {
margin:0 0 16px 0;
padding:0;
list-style: none;
}
ul li span:first-child {
color: var(--color-2);
}
ul li span:nth-child(2) {
color: var(--color-4);
}
pre {
margin:0;
padding:0;
font-family: IBMVGA8, monospace;
}
.content-tab p:last-child {
margin:0;
}
#ascii {
text-align: center;
}
#ascii pre {
display: inline-block;
text-align: left;
}
@media only screen and (min-width: 864px) {
.content {
left: 32px;
bottom: 32px;
width: 800px;
height: 596px;
margin:0;
padding:16px;
}
header {
height: 96px;
}
main {
height: 416px;
}
footer {
height: 16px;
}
}
@keyframes loading {
0% {content:" ";}
50% {content:"█";}
}