xrforge-v2/src/css/xrforge.css

263 lines
4 KiB
CSS
Raw Normal View History

2026-07-21 19:19:52 +02:00
/* Progressive enhancment
2026-05-15 13:22:33 +02:00
* NetSurf and Dillo will ignore this entirely because of the modern orientation/feature query
*/
@import url("xrforge.max.css") supports(display: grid);
/* color palette */
.col1{ color:#f3f; }
.col2{ color:#AAD; }
.col3{ color:#878; }
.col4{ color:#7070ff; }
2026-07-22 18:36:02 +02:00
.col5{ color:#447; }
2026-07-23 10:01:34 +02:00
.col6{ color:#224; }
.col7{ color:#112; }
2026-05-15 13:22:33 +02:00
.page{ width:640px; }
/* spacers */
2026-07-21 19:19:52 +02:00
.margin1L{ margin: 0px 20px 10px 0px;}
2026-05-15 13:22:33 +02:00
.margin1{ margin: 10px 20px; }
.padding1{ padding: 10px 20px 10px 20px; }
*{
margin:0;
padding:0;
}
2026-07-21 19:19:52 +02:00
2026-05-15 13:22:33 +02:00
body,html {
font-family: monospace,sans-serif;
color:#f7f7f7;
font-size:15px;
}
2026-07-21 19:19:52 +02:00
body{
margin:20px;
}
2026-05-15 13:22:33 +02:00
td,div,p{
word-spacing: 0.2em;
line-height:24px;
}
2026-07-22 18:36:02 +02:00
/* form elements */
input,
select{
box-sizing: border-box;
margin: 0px 0px 10px 0px;
padding:7px;
display:block;
max-width:300px;
width:100%;
background: #000;
border: 1px solid #557;
color: #AAD;
}
2026-07-23 10:01:34 +02:00
input,select,textarea{
background:#112;
}
2026-07-22 18:36:02 +02:00
input[type=checkbox]{
transform:scale(1.7) translate(3px,4px)
}
/* buttons */
.btn,
input[type=submit]{
2026-05-15 13:22:33 +02:00
display: inline-block;
2026-07-23 10:01:34 +02:00
margin: 0 15px 0px 0px;
2026-05-15 13:22:33 +02:00
}
2026-07-21 19:19:52 +02:00
.btn a,
.btn a:active,
.btn a:visited,
2026-07-22 18:36:02 +02:00
.btn a:link,
input[type=submit] {
font-size:15px;
2026-05-15 13:22:33 +02:00
display: inline-block;
padding:8px 16px;
2026-07-21 19:19:52 +02:00
color: #f3f;
2026-05-15 13:22:33 +02:00
text-decoration:none;
2026-07-23 10:01:34 +02:00
background:#112;
2026-05-15 13:22:33 +02:00
}
2026-07-22 18:36:02 +02:00
.btn a:hover,
input[type=submit] {
2026-05-15 13:22:33 +02:00
color:#F7F;
background:#000;
}
2026-07-22 18:36:02 +02:00
.btn a,
.border,
input[type=submit]{
border:1px dotted #AAD;
}
2026-07-21 19:19:52 +02:00
2026-07-22 18:36:02 +02:00
a, a:active, a:visited, a:link, input[type=submit] {
2026-05-15 13:22:33 +02:00
text-decoration: none;
color:#FFF;
border-bottom: 1px dotted #AAD;
}
a:hover{
2026-07-23 10:01:34 +02:00
color:#FFF !important;
2026-05-15 13:22:33 +02:00
cursor:pointer;
border-bottom:1px dotted #f3f;
}
2026-07-22 18:36:02 +02:00
table{
table-layout: fixed;
}
table tr td {
vertical-align: top;
}
form > table > tbody > tr > td{
height:32px;
}
form > table > tbody > tr > td:nth-child(1) {
font-weight:bold;
padding-top: 4px;
}
form > table > tbody > tr > td:nth-child(3) {
font-size: 13px;
padding-top: 4px;
text-align:right;
}
2026-07-23 10:01:34 +02:00
/* primary secondary colors */
2026-07-22 18:36:02 +02:00
2026-05-15 13:22:33 +02:00
.border.primary{ border:1px dotted #87a; }
.border.secondary{ border:1px dotted #7070ff; }
2026-07-23 10:01:34 +02:00
.primary { color: #ff33Ff;}
.secondary { color: #7070ff;}
.btn a.primary{ background: #ff33Ff; color:#000}
.btn a.secondary{ background: #7070ff; color:#000}
2026-05-15 13:22:33 +02:00
.pad1{
padding:20px;
}
.bg1{
background:#224;
}
pre{
font-family: monospace;
line-height: 1;
word-spacing: normal;
color:#AAD;
margin:0px 20px 20px 0px;
padding:0;
width:200px;
}
.ansi{
font-size:20px;
}
h1,h2,h3,h4,h5{
font-size: 16px;
padding-top: 25px;
padding-bottom:25px;
}
.sym{ font-size:100px; color:#000; }
.header td a{
border:none;
font-weight:bold;
}
/* logo */
.logo{ font-size:15px; display:inline-block; }
hr{
margin:20px 0px;
2026-07-23 10:01:34 +02:00
border:none;
border-bottom:1px solid #224;
2026-05-15 13:22:33 +02:00
}
ul{
list-style-position:outside;
padding-left:0.8em;
}
2026-07-22 18:36:02 +02:00
.menu{
text-align: right;
}
2026-05-15 13:22:33 +02:00
.menu a {
padding-right:30px;
}
2026-07-22 18:36:02 +02:00
.menu br {
display:none
}
2026-05-15 13:22:33 +02:00
.grid .tile{ border-radius:5px; }
.grid .tile .text{ padding:3px 0px; }
.grid .tile .img{
border-radius:5px 5px 0px 0px;
visibility: hidden;
}
2026-07-21 19:19:52 +02:00
img.icon{ display:none; }
2026-07-22 18:36:02 +02:00
/* tab */
.tab{
border-bottom: 1px solid #224;
margin-bottom: 25px;
margin-left: 140px;
}
.tab .label{
display: block;
background: #000;
2026-07-23 10:01:34 +02:00
margin-bottom: -2px;
width: 168px;
2026-07-22 18:36:02 +02:00
margin-left: -140px;
border-top: 1px dotted #557;
border-right: 1px dotted #556;
padding: 9px 0px 0px 20px;
2026-07-23 10:01:34 +02:00
font-weight: bold;
font-size: 14px;
2026-07-22 18:36:02 +02:00
}
.notification{
background: #7070ff;
padding: 20px;
text-align: center;
font-weight: bold;
border: 4px dashed #222;
margin-bottom: 25px;
}
2026-07-23 10:01:34 +02:00
.jumbotron h1{
font-size: 29px;
font-weight: normal;
}
b.tag{
display:inline-block;
background: #77f;
color: white;
font-size: 12px;
padding: 1px 4px;
border-radius: 5px;
}
2026-05-15 13:22:33 +02:00
/* progressive enhancement quirks */
2026-07-23 10:01:34 +02:00
.spectrum{ display:none }
2026-05-15 13:22:33 +02:00
@media (min-width:1px) {
.grid .tile{
height:unset;
}
.grid .tile .img{
visibility: visible;
}
2026-07-21 19:19:52 +02:00
.page{
width:100%;
max-width:1280px;
}
2026-05-15 13:22:33 +02:00
}