oldcomputernerd.com/css/retro.css

458 lines
8.8 KiB
CSS
Raw Normal View History

2025-01-17 10:38:54 +00:00
/* --- */
/* Fonts */
/* --- */
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'Dot Matrix Regular';
src: url("../font/DOTMREG.TTF") format('truetype');
font-weight: normal;
2023-07-23 16:05:14 +00:00
font-style: auto;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'Dot Matrix Bold';
src: url("../font/DOTMATRIXB.TTF") format('truetype');
font-weight: bold;
2023-07-23 16:05:14 +00:00
font-style: auto;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'FreeMono';
src: url("../font/FreeMono.ttf") format('truetype');
2023-07-23 16:05:14 +00:00
font-style: auto;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'FreeMono Bold';
src: url("../font/FreeMonoBold.ttf") format('truetype');
font-style: normal;
2023-07-23 16:05:14 +00:00
font-weight: auto;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'Mode Nine';
src: url("../font/modenine.ttf") format('truetype');
2023-07-23 16:05:14 +00:00
font-style: auto;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'SVI Basic Manual Book';
src: url("../font/SvBasicManual-nRPP.ttf") format('truetype');
2023-07-23 16:05:14 +00:00
font-style: auto;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'SVI Basic Manual Bold';
2023-07-23 16:05:14 +00:00
src: url("../font/SvBasicManualBold-1G3g.ttf") format('truetype');
font-style: auto;
2023-07-23 14:06:48 +00:00
font-weight: bold;
2023-07-23 17:07:30 +00:00
}
2023-07-23 14:06:48 +00:00
@font-face {
font-family: 'Source Code Pro Medium';
2023-07-23 16:05:14 +00:00
src: url("../font/SourceCodePro-Medium.ttf") format('truetype');
2023-07-23 14:06:48 +00:00
font-style: normal;
2023-07-23 16:05:14 +00:00
font-weight: normal;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@font-face {
font-family: "Classic Console Neue";
src: url("../font/clacon2.woff2") format("woff2");
2023-07-23 16:05:14 +00:00
font-style: auto;
}
2023-07-23 17:07:30 +00:00
2023-07-23 16:05:14 +00:00
@font-face {
font-family: "VT323 Regular";
src: url("../font/VT323-Regular.ttf") format("truetype");
font-style: auto;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 16:37:45 +00:00
@font-face {
font-family: "DEC Terminal Modern";
src: url("../font/_decterm.ttf") format("truetype");
font-style: auto;
}
2023-07-23 14:06:48 +00:00
2025-01-17 12:35:20 +00:00
@font-face {
font-family: "IBM VGA 9x16";
src: url("../font/Ac437_IBM_VGA_9x16.ttf") format("truetype");
font-style: auto;
}
2025-01-17 11:09:49 +00:00
@font-face {
font-family: "FLexi IBM VGA True";
src: url("../font/Flexi_IBM_VGA_True.ttf") format("truetype");
font-style: auto;
}
2025-01-17 11:54:19 +00:00
@font-face {
font-family: "FLexi IBM VGA True CP437";
src: url("../font/Flexi_IBM_VGA_True_437.ttf") format("truetype");
font-style: auto;
}
2023-07-23 17:07:30 +00:00
@font-face {
font-family: "IBM 3270";
src: url("../font/3270-Regular.otf") format("opentype");
font-style: auto;
}
@font-face {
font-family: "IBM 3270 Semi-Condensed";
src: url("../font/3270SemiCondensed-Regular.otf") format("opentype");
font-style: auto;
}
2025-01-17 10:38:54 +00:00
@font-face {
font-family: 'Atari Classic Extrasmooth';
src: url('../font/ATARCE__.TTF') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Atari Classic Smooth';
src: url('../font/ATARCS__.TTF') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Atari Full';
src: url('../font/ATARI_FULL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Atari Classic Chunky';
src: url('../font/ATARCC__.TTF') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Atari Classic Chunky Reverse';
src: url('../font/ATARCC__.TTF') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Atari Classic Extended';
src: url('../font/ATARCE__.TTF') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Atari Tiny';
src: url('../font/atari-small-font.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Atarian System Regular';
src: url('../font/sf-atarian-system.regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
2023-07-23 14:06:48 +00:00
2025-01-17 10:38:54 +00:00
@font-face {
font-family: 'Atarian System Bold';
src: url("../font/sf-atarian-system.bold.ttf") format('truetype');
font-weight: bold;
font-style: normal;
}
/* --- */
/* Styles */
/* --- */
2023-07-23 14:06:48 +00:00
.blink {
animation: blink-animation 1s steps(2, start) infinite;
2023-07-23 17:07:30 +00:00
-webkit-animation: blink-animation 1s steps(2, start) infinite;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@keyframes blink-animation {
to {
2023-07-23 17:07:30 +00:00
visibility: hidden;
}
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
@-webkit-keyframes blink-animation {
to {
2023-07-23 17:07:30 +00:00
visibility: hidden;
}
2023-07-23 14:06:48 +00:00
}
2025-01-15 19:10:09 +00:00
header {
position: sticky;
2025-01-16 19:58:20 +00:00
width: 100%;
2025-01-15 19:10:09 +00:00
top: 0;
2025-01-16 19:46:26 +00:00
right: 0;
left: 0;
2025-01-15 19:10:09 +00:00
padding: 1px 1px;
background-color: #112210;
}
footer {
position: fixed;
width: 100%;
2025-01-16 19:58:20 +00:00
max-width: 48rem;
2025-01-15 19:10:09 +00:00
bottom: 0;
right: 0;
left: 0;
height: 65px;
2025-01-16 19:58:20 +00:00
background-color: #112210;
2025-01-15 19:10:09 +00:00
}
hr {
border: 1px solid green;
}
hr.frame {
border: 4px ridge darkgreen;
}
.box {
float: left;
box-sizing: border-box;
width: 12%;
height: 30px;
padding-left: 5px;
padding-right: 5px;
padding-top: 1px;
padding-bottom: 1px;
border: 2px solid darkgreen;
2025-01-16 20:06:55 +00:00
border-radius: 7px;
2025-01-15 19:10:09 +00:00
background-color: #18321A;
}
2023-07-23 16:05:14 +00:00
.column {
float: left;
margin-left: 5px;
border: solid 1px;
padding-left: 5px;
padding-right: 5px;
height: 150px;
}
2023-07-23 17:07:30 +00:00
2023-07-23 16:05:14 +00:00
.left, .right {
width: 22%;
}
2023-07-23 17:07:30 +00:00
2023-07-23 16:05:14 +00:00
.middle {
width: 48%;
}
2023-07-23 17:07:30 +00:00
2025-01-16 10:55:10 +00:00
.column-tabular {
width: 100%;
height: auto;
float: left;
margin-left: 5px;
border: solid 1px;
padding-left: 5px;
padding-right: 5px;
}
.tabular-left {
width: 22%;
height: auto;
}
2025-01-16 10:55:10 +00:00
.full-right {
2025-01-15 19:10:09 +00:00
width: 68%;
height: auto;
}
2025-01-16 10:55:10 +00:00
2025-01-15 19:10:09 +00:00
.segment {
width: 15%;
}
2023-07-23 16:05:14 +00:00
.row:after {
content: "";
display: table;
clear: both;
}
2023-07-23 14:06:48 +00:00
html,
body {
2023-07-23 17:07:30 +00:00
background-color: #222;
2025-01-15 19:10:09 +00:00
min-height: 100vh;
2023-07-23 14:06:48 +00:00
}
html {
2023-07-23 17:07:30 +00:00
height: 100%;
font-family: "SVI Basic Manual Book", monospace;
font-size: 16pt;
2023-07-23 14:06:48 +00:00
}
body {
2023-07-23 17:07:30 +00:00
color: #23dc66;
font-family: "SVI Basic Manual Book", monospace;
font-size: 14pt;
line-height: 1.15;
max-width: 48rem;
2025-01-15 19:10:09 +00:00
padding-bottom: 60px;
2023-07-23 14:06:48 +00:00
}
table, th, td {
2023-07-23 17:07:30 +00:00
font-family: "Classic Console Neue", monospace;
font-size: 15px;
2023-07-23 14:06:48 +00:00
border: 1px solid;
border-collapse: collapse;
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
table {
2025-01-16 20:09:02 +00:00
margin-left: 15%;
2025-01-16 11:23:02 +00:00
width: 70%;
2023-07-23 14:06:48 +00:00
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
td {
text-align: center;
vertical-align: center;
}
2023-07-23 17:07:30 +00:00
2023-07-23 14:06:48 +00:00
th, td {
padding: 10px;
}
2023-07-23 17:07:30 +00:00
tr:hover {
2025-01-16 19:43:58 +00:00
background-color: #1c532f;
2023-07-23 17:07:30 +00:00
color: black;
}
2023-07-23 16:37:45 +00:00
2023-07-23 14:06:48 +00:00
ol li {
2023-07-23 17:07:30 +00:00
font-family: "Classic Console Neue", monospace;
font-size: 15px;
background: #222;
color: #fdd461;
max-width: 30%;
margin-left: 35px;
2023-07-23 14:06:48 +00:00
}
ul li {
2023-07-23 17:07:30 +00:00
font-family: "Classic Console Neue", monospace;
font-size: 15px;
color: #fdd461;
max-width: 30%;
margin-left: 35px;
2023-07-23 14:06:48 +00:00
}
2025-01-17 10:56:05 +00:00
pre {
2025-01-17 11:31:33 +00:00
font-family: "Source Code Pro Medium", monospace;
font-size: 12pt;
2023-07-23 17:07:30 +00:00
margin-left: 20px;
background: #524646;
border-left: 3px solid #000000;
border-right: 3px solid #000000;
border-top: 3px solid #000000;
border-bottom: 3px solid #000000;
border-radius: 20px;
2025-01-16 20:12:46 +00:00
max-width: 70%;
2023-07-23 17:07:30 +00:00
padding: .5rem;
line-height: 1.15;
overflow-x: auto;
2023-07-23 14:06:48 +00:00
}
2025-01-17 10:56:05 +00:00
pre.decterm {
font-family: "DEC Terminal Modern", monospace;
font-size: 13pt;
2025-01-17 12:59:38 +00:00
color: #80CBC4;
2025-01-17 10:56:05 +00:00
margin-left: 20px;
2025-01-17 12:55:18 +00:00
background: #0A1715;
2025-01-17 12:56:48 +00:00
border: solid #37474F 2px;
2025-01-17 10:56:05 +00:00
border-radius: 20px;
max-width: 70%;
padding: .5rem;
line-height: 1.15;
overflow-x: auto;
}
2025-01-17 11:03:49 +00:00
pre.dos {
2025-01-17 12:35:20 +00:00
font-family: "IBM VGA 9x16", monospace;
2025-01-17 12:37:00 +00:00
font-size: 16pt;
2025-01-17 11:12:47 +00:00
color: #E5E4E5;
2025-01-17 11:03:49 +00:00
margin-left: 20px;
2025-01-17 11:09:49 +00:00
background: #0C0C0C;
2025-01-17 11:16:00 +00:00
border: solid grey 2px;
2025-01-17 11:03:49 +00:00
border-radius: 20px;
max-width: 70%;
padding: .5rem;
line-height: 1.15;
overflow-x: auto;
}
2025-01-17 10:49:06 +00:00
pre.mvs {
font-family: "IBM 3270", monospace;
font-size: 14pt;
margin-left: 20px;
2025-01-17 11:26:03 +00:00
background: #213522;
2025-01-17 11:25:17 +00:00
border: solid darkseagreen 2px;
2025-01-17 10:49:06 +00:00
border-radius: 20px;
max-width: 70%;
padding: .5rem;
line-height: 1.15;
overflow-x: auto;
}
2025-01-17 10:30:49 +00:00
pre.atari {
2025-01-17 10:16:18 +00:00
width: 78%;
border: solid yellow 2px;
padding-top: 10px;
padding-bottom: 10px;
padding-left:10px;
margin-left: 10px;
background-color: #004d80;
font-family: 'Atari Classic Chunky', serif;
font-weight: lighter;
2025-01-17 12:19:06 +00:00
font-size: 0.725em;
2025-01-17 10:16:18 +00:00
line-height: 1.2;
overflow-wrap: break-word;
color: #f2f2f2;
}
2025-01-17 11:54:19 +00:00
2025-01-17 10:26:43 +00:00
.codeblock-atari div {
width: 87%;
border: solid yellow 2px;
padding-top: 10px;
padding-bottom: 0;
padding-left:10px;
margin-left: 25px;
background-color: #004d80;
font-family: 'Atari Classic Chunky', serif;
font-weight: lighter;
font-size: 0.525em;
line-height: 1.2;
overflow-wrap: break-word;
color: #f2f2f2;
}
2025-01-15 19:10:09 +00:00
2023-07-23 14:06:48 +00:00
blockquote {
2023-07-23 17:07:30 +00:00
font-family: "Dot Matrix Regular", monospace;
font-size: 13pt;
line-height: 1.4;
background-image: url(../img/greenbar2.jpg);
background-position: left center;
background-repeat: repeat;
color: #000000;
2025-01-16 20:12:46 +00:00
max-width: 70%;
2023-07-23 17:07:30 +00:00
border-left: 1px solid #000000;
padding: 5px 10px 5px 36px;
2023-07-23 14:06:48 +00:00
}
a,
a:visited {
2023-07-23 17:07:30 +00:00
color: #01ff70;
2023-07-23 14:06:48 +00:00
}
a:hover,
a:focus,
a:active {
2023-07-23 17:07:30 +00:00
color: #2ecc40;
2023-07-23 14:06:48 +00:00
}
code {
2025-01-17 13:03:59 +00:00
font-family: "Source Code Pro Medium", monospace;
2023-07-23 16:37:45 +00:00
font-size: inherit;
2025-01-17 11:54:19 +00:00
color: #fdd461;
2025-01-17 11:46:51 +00:00
background: #524646;
2023-07-23 16:37:45 +00:00
line-height: 1.15;
2023-07-23 14:06:48 +00:00
}