ataricode.com/static/css/index.css

370 lines
7.0 KiB
CSS

/*
Atari Color Schemes
Atari 800
--------
Chassis (dark): #d5cdb4
Chassis (light): #fcf4dd
Start Button: #fed700
Select Button: #fab700
Option Button: #e99e23
Reset Button: #ae7900
Keycaps (dark): #322918
Keycaps (light): #766e5a
Atari 130XE
-----------
Chassis (dark): #9a9c9b
Chassis (light): #babebd
Logo: #d0625c
Keycaps (bkgd): #d5d5d3
Keycaps (ltrs): #868581
*/
* {
margin: 2px;
padding: 5px;
box-sizing: border-box;
}
HTML
{
background-color: #0a4984;
font-size: 2.5vw;
#background-image: url('../img/Atari_Wallpaper.jpg');
#background-position: 80% 80%;
#background-repeat: no-repeat;
#background-size: 100%;
}
@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;
}
@font-face {
font-family: 'Atarian System Bold';
src: url("../font/sf-atarian-system.bold.ttf") format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Dot Matrix Regular';
src: url("../font/DOTMATRX.TTF") format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Dot Matrix Bold';
src: url("../font/DOTMBold.TTF") format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'FreeMono';
src: url("../font/FreeMono.ttf") format('truetype');
font-style: normal;
}
@font-face {
font-family: 'FreeMono Bold';
src: url("../font/FreeMonoBold.ttf") format('truetype');
font-style: normal;
font-weight: bold;
}
body {
font-family: 'Atari Classic Chunky', serif;
justify-content: center;
margin: 0.5em;
padding: 0.5em;
color: #afcde9;
background-color: #003366;
}
p {
font-family: 'FreeMono Bold', serif;
line-height: 1.3;
font-size: 0.775em;
color: #f2f2f2;
}
.p2 {
font-family: 'Atari Classic Smooth', serif;
font-size: 0.485em;
color: #f2f2f2;
}
.p3 {
font-family: 'Atari Classic Extrasmooth', serif;
font-size: 0.365em;
color: #f2f2f2;
}
.p4 {
font-family: 'Atari Classic Smooth', serif;
font-size: 0.595em;
color: #322918;
}
pre {
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;
font-size: 0.525em;
line-height: 1.2;
overflow-wrap: break-word;
color: #f2f2f2;
}
.codeblock 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;
}
.title-wrap {
display:flex;
justify-content:center;
align-items: baseline;
alignment-baseline: bottom;
}
.title-text {
width: 100%;
text-align: center;
font-family: 'Atarian System Regular', serif;
font-size: 7.3vw;
line-height: 1.0;
color: #fcf4dd;
}
.title-image {
padding: 0;
float: bottom;
height:45px;
width:40px;
}
.subtitle {
width: 80%;
margin: auto;
text-align: center;
font-family: 'Atarian System Regular', serif;
font-size: 1.0em;
line-height: 1.1;
color: #afcde9;
}
.start {
font-family: 'Atarian System Regular', serif;
font-size: 1.2em;
color: #322918;
text-align: center;
background-color: #fed700;
width: 3.7em;
border: 2px solid #322918;
padding: 5px;
margin: 5px;
}
.select {
font-family: 'Atarian System Regular', serif;
font-size: 1.2em;
color: #322918;
text-align: center;
background-color: #fab700;
width: 3.7em;
border: 2px solid #322918;
padding: 5px;
margin: 5px;
}
.option {
font-family: 'Atarian System Regular', serif;
font-size: 1.2em;
color: #322918;
text-align: center;
background-color: #e99e23;
width: 3.7em;
border: 2px solid #322918;
padding: 5px;
margin: 5px;
}
.reset {
font-family: 'Atarian System Regular', serif;
font-size: 1.2em;
color: #322918;
text-align: center;
background-color: #ae7900;
width: 3.7em;
border: 2px solid #322918;
padding: 5px;
margin: 5px;
}
.button-row button {
font-family: 'Atarian System Regular', serif;
color: #322918;
align-content: center;
justify-content: center;
cursor: pointer;
display: flex;
}
.button-row button:hover {
font-family: 'Atarian System Bold', serif;
}
.button-column button {
align-content: center;
justify-content: center;
cursor: pointer;
display: block;
}
.button-column button:not(:last-child) {
border-bottom: none;
}
.button-column button:hover {
font-family: 'Atarian System Bold', serif;
}
.shadowbox {
font-family: 'Atari Classic Chunky Reverse', serif;
width: 11.95em;
background-color: #fcf4dd;
border: 3px solid #003366;
box-shadow: 5px 6px darkgray;
padding: 5px;
}
.printout {
font-family: 'Dot Matrix Regular', serif;
font-size: small;
color: black;
width: 65%;
background-color: whitesmoke;
border: 2px solid black;
margin-left: 40px;
box-shadow: 2px 2px darkgray;
}
/* unvisited link */
a:link {
color: #5a97d0;
}
/* visited link */
a:visited {
color: #5a97d0;
}
/* mouse over link */
a:hover {
color: #5a97d0;
}
/* selected link */
a:active {
color: #5a97d0;
}
H1 {
color: #d5cdb4;
margin-left: auto;
margin-right: auto;
font-size: 3.5vw;
width: 100%;
}
H2 {
font-size: 2.8vw;
}
H3 {
font-size: 2.4vw;
color: #dd504a;
}
H4 {
font-size: 2.1vw;
color: #6c7063;
}
UL {
font-size: 1.1vw;
margin:1em;
padding:0;
}
LI {
font-size: 1.4vw;
padding-bottom: 0.2em;
color: #dd504a;
}