cpu-simulator/build/css/style.css

105 lines
1.7 KiB
CSS
Raw Permalink Normal View History

2023-12-15 19:43:36 +00:00
html {
background-color: #3A0000;
display: flex;
justify-content: center;
}
body {
margin-top: 15px;
line-height: 1;
padding: 30px;
font-family: sans-serif;
background-color: white;
box-shadow: rgb(142 47 47) 15px 15px;
margin-bottom:20px;
}
* {
margin-top: 5px;
margin-bottom: 5px;
font-family: "IBM VGA";
}
a {
border-bottom: 1px;
--fgcolor: blue;
color: var(--fgcolor);
}
img {
display: block;
margin: 0 auto;
max-width: 600px;
}
a:hover {
background-color: var(--fgcolor);
color: white;
}
a[href*="//"] {
border-bottom: 1px double;
--fgcolor: green;
target-name: new;
target-new: tab;
}
h1,ul,ol {
margin-top: 13px;
margin-bottom: 13px;
}
ol[data-bin="1"]{
list-style: none;
padding-left:0;
margin-left: 0;
padding-right:0;
margin-right: 0;
}
ol[data-bin="1"] li {
padding-left: 1rem;
text-indent: -0.7rem;
}
li:before {
font-weight: bolder;
color: red;
content: attr(data-before);
padding-right:10px;
}
p {
margin-bottom: 15px;
}
table{
margin: 25px;
width: 50%;
min-width: 500px;
border-collapse: collapse;
}
thead tr {
background-color: black;
color: white;
border-bottom: 1px solid;
}
td {
padding: 5px;
}
tbody tr:not(:last-child){
border-bottom: 1px solid;
}
tbody td:not(:first-child) {
border-left: 1px solid;
}
table.c1c td:first-child {
text-align: center;
}
table.c1c tbody td:first-child {
color: red;
}
@media screen and (max-width:600px) {
body { width: 100%; }
img { width: 100%; }
}
@media screen and (min-width:600px) {
body { width: 40%; min-width:600px; max-width:960px; }
}
@font-face {
font-family: 'IBM VGA';
src: url('../css/ibm.woff');
font-weight: normal;
font-style: normal;
}