in-c4/static/c4.css

117 lines
1.8 KiB
CSS
Raw Normal View History

2024-04-30 18:18:11 +02:00
body {
color: #f0f0f0;
background-color: #333;
}
h1, h1 a {
2024-05-01 01:08:43 +02:00
color: #dfaa37; /* C4 Yellow */
2024-04-30 18:18:11 +02:00
}
2024-05-07 18:38:00 +02:00
#search:focus {
outline: 2px solid #dfaa37;
}
2024-05-01 17:17:35 +02:00
#map {
2024-05-06 17:26:31 +02:00
border: 1px solid #202020;
2024-05-06 18:43:03 +02:00
background-color: #4d4d4d;
2024-05-06 17:26:31 +02:00
max-width: 1440px;
max-height: 50vh;
aspect-ratio: 2 / 1;
box-shadow: 0px 6px 12px #000c;
}
#mapnote {
2024-05-06 18:43:03 +02:00
background-color: #ccc;
color: #333;
border-color: #202020;
padding: 0.25em 0.5em;
position: relative;
top: -1px;
box-shadow: 0px 6px 12px #000c;
}
#mapnote:empty {
display: none;
2024-05-01 17:17:35 +02:00
}
2024-04-30 18:18:11 +02:00
.result {
background-color: #202020;
border-color: #4d4d4d;
}
.result:focus {
background-color: #202020;
2024-05-01 01:08:43 +02:00
border-color: #dfaa37;
outline-color: #dfaa37;
2024-04-30 18:18:11 +02:00
}
.result a {
2024-05-01 01:08:43 +02:00
color: #dfaa37;
2024-04-30 18:18:11 +02:00
}
.note {
background-color: #333;
font-size: smaller;
}
2024-05-04 18:28:09 +02:00
#knowntypes button {
color: #220;
background-color: #dfaa37;
border: 1px solid #220;
border-radius: 4px;
padding: 0.2em 0.4em;
margin: 0.2em;
font-weight: bolder;
cursor: pointer;
}
#knowntypes button:hover, #knowntypes button:focus {
background-color: #f5c251;
}
2024-05-01 01:08:43 +02:00
.btn {
box-shadow: 0 3px 6px -1px rgba(0,0,0,0.3);
}
2024-04-30 21:22:07 +02:00
.btn.primary {
2024-04-30 21:45:01 +02:00
color: #220;
2024-05-01 01:08:43 +02:00
background-color: #dfaa37;
2024-04-30 18:18:11 +02:00
}
.btn.primary:hover,.btn.primary:focus {
2024-05-01 01:08:43 +02:00
background-color: #f5c251;
2024-04-30 21:45:01 +02:00
}
.btn.grn {
color: #020;
background-color: #9f6;
}
.btn.grn:hover ,.btn.grn:focus {
2024-04-30 18:18:11 +02:00
background-color: #3f0;
}
.btn.red {
color: #200;
2024-05-01 01:08:43 +02:00
background-color: #ec6d5f;
2024-04-30 18:18:11 +02:00
}
.btn.red:hover, .btn.red:focus {
2024-05-01 01:08:43 +02:00
background-color: #ff7667;
2024-04-30 18:18:11 +02:00
}
@keyframes blinker {
0% { opacity: 1; }
40% { opacity: 1; }
90% { opacity: 0; }
100% { opacity: 1; }
}
#mapgrid {
2024-05-07 19:13:45 +02:00
outline: 2px solid #333;
background-color: #dfaa37;
border-radius: 4px;
2024-04-30 18:18:11 +02:00
animation: blinker 1s infinite;
}