mirror of
https://github.com/goonstation/goonstation-2020.git
synced 2026-07-21 20:12:20 +01:00
317 lines
7.4 KiB
CSS
317 lines
7.4 KiB
CSS
/*****************************************
|
|
*
|
|
* GLOBAL STYLES
|
|
*
|
|
******************************************/
|
|
html, body {
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 100%;
|
|
color: #000000;
|
|
}
|
|
body {
|
|
background: #fff;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
word-wrap: break-word;
|
|
}
|
|
h1, h2, h3, h4, h5, h6 {color: #00f; font-family: Georgia, Verdana, sans-serif; margin: 0.2em}
|
|
img {
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
img.icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
a {color: #0000ff;}
|
|
a:visited {color: #ff00ff;}
|
|
a.popt {text-decoration: none;}
|
|
.emoji {font-family: "Segoe UI Emoji" !important;}
|
|
|
|
|
|
/*****************************************
|
|
*
|
|
* OUTPUT NOT RELATED TO ACTUAL MESSAGES
|
|
*
|
|
******************************************/
|
|
#loading {
|
|
position: fixed;
|
|
width: 300px;
|
|
height: 150px;
|
|
text-align: center;
|
|
left: 50%;
|
|
top: 50%;
|
|
margin: -75px 0 0 -150px;
|
|
}
|
|
#loading i {display: block; padding-bottom: 3px;}
|
|
|
|
#messages {
|
|
font-size: 14px;
|
|
padding: 3px;
|
|
margin: 0;
|
|
word-wrap: break-word;
|
|
}
|
|
#messages .entry > .streak-counter {
|
|
display: inline-block;
|
|
line-height: 1;
|
|
margin-left: 5px;
|
|
padding: 0 5px;
|
|
border: 1px solid gray;
|
|
border-radius: 2px;
|
|
}
|
|
#newMessages {
|
|
position: fixed;
|
|
display: block;
|
|
bottom: 0;
|
|
right: 0;
|
|
padding: 8px;
|
|
background: #ddd;
|
|
text-decoration: none;
|
|
font-variant: small-caps;
|
|
font-size: 1.1em;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
#newMessages:hover {background: #ccc;}
|
|
#newMessages i {vertical-align: middle; padding-left: 3px;}
|
|
#ping {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 40px;
|
|
width: 45px;
|
|
background: #ddd;
|
|
height: 30px;
|
|
padding: 8px 0 2px 0;
|
|
}
|
|
#ping i {display: block; text-align: center;}
|
|
#ping .ms {
|
|
display: block;
|
|
text-align: center;
|
|
font-size: 0.8em;
|
|
padding-top: 2px;
|
|
}
|
|
#options {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
#options a {
|
|
background: #ddd;
|
|
height: 30px;
|
|
padding: 5px 0;
|
|
display: block;
|
|
color: #333;
|
|
text-decoration: none;
|
|
line-height: 28px;
|
|
border-top: 1px solid #b4b4b4;
|
|
}
|
|
#options a:hover {background: #ccc;}
|
|
#options .toggle {
|
|
width: 40px;
|
|
background: #ccc;
|
|
border-top: 0;
|
|
font-size: 1.1em;
|
|
float: right;
|
|
text-align: center;
|
|
}
|
|
#options .sub {clear: both; display: none; width: 160px;}
|
|
#options .sub.scroll {overflow-y: scroll;}
|
|
#options .sub a {padding: 5px 0 5px 8px; line-height: 30px; font-size: 0.9em; clear: both;}
|
|
#options .sub span {
|
|
display: block;
|
|
line-height: 30px;
|
|
float: left;
|
|
}
|
|
#options .sub i {
|
|
display: block;
|
|
padding: 0 5px;
|
|
font-size: 1.1em;
|
|
width: 22px;
|
|
text-align: center;
|
|
line-height: 30px;
|
|
float: right;
|
|
}
|
|
#options .decreaseFont {border-top: 0;}
|
|
|
|
/* POPUPS */
|
|
.popup {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
background: #ddd;
|
|
}
|
|
.popup .close {
|
|
position: absolute;
|
|
background: #aaa;
|
|
top: 0;
|
|
right: 0;
|
|
color: #333;
|
|
text-decoration: none;
|
|
z-index: 2;
|
|
padding: 0 10px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
.popup .close:hover {background: #999;}
|
|
.popup .head {
|
|
background: #999;
|
|
color: #ddd;
|
|
padding: 0 10px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-transform: uppercase;
|
|
font-size: 0.9em;
|
|
font-weight: bold;
|
|
border-bottom: 2px solid green;
|
|
}
|
|
.popup input {border: 1px solid #999; background: #fff; margin: 0; padding: 5px; outline: none; color: #333;}
|
|
.popup input[type=text]:hover, .popup input[type=text]:active, .popup input[type=text]:focus {border-color: green;}
|
|
.popup input[type=submit] {padding: 5px 10px; background: #999; color: #ddd; text-transform: uppercase; font-size: 0.9em; font-weight: bold;}
|
|
.popup input[type=submit]:hover, .popup input[type=submit]:focus, .popup input[type=submit]:active {background: #aaa; cursor: pointer;}
|
|
|
|
.changeFont {padding: 10px;}
|
|
.changeFont a {display: block; text-decoration: none; padding: 3px; color: #333;}
|
|
.changeFont a:hover {background: #ccc;}
|
|
|
|
.highlightPopup {padding: 10px; text-align: center;}
|
|
.highlightPopup input[type=text] {display: block; width: 215px; text-align: left; margin-top: 5px;}
|
|
.highlightPopup input.highlightColor {background-color: #FFFF00;}
|
|
.highlightPopup input.highlightTermSubmit {margin-top: 5px;}
|
|
|
|
/* ADMIN CONTEXT MENU */
|
|
.contextMenu {
|
|
background-color: #ddd;
|
|
position: fixed;
|
|
margin: 2px;
|
|
width: 150px;
|
|
}
|
|
.contextMenu a {
|
|
display: block;
|
|
padding: 2px 5px;
|
|
text-decoration: none;
|
|
color: #333;
|
|
}
|
|
|
|
.contextMenu a:hover {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
/* ADMIN FILTER MESSAGES MENU */
|
|
.filterMessages {padding: 5px;}
|
|
.filterMessages div {padding: 2px 0;}
|
|
.filterMessages input {}
|
|
.filterMessages label {}
|
|
|
|
.icon-stack {height: 1em; line-height: 1em; width: 1em; vertical-align: middle; margin-top: -2px;}
|
|
|
|
/* BROWSER WARNING */
|
|
.browser-warning {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 85px;
|
|
left: 0;
|
|
height: 30px;
|
|
padding: 5px 15px 5px 5px;
|
|
background: red;
|
|
line-height: 1;
|
|
font-size: 14px;
|
|
color: #fff;
|
|
}
|
|
|
|
.browser-warning strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.browser-warning .close {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 10px;
|
|
text-decoration: none;
|
|
font-size: 18px;
|
|
color: #fff;
|
|
}
|
|
|
|
/*****************************************
|
|
*
|
|
* OUTPUT ACTUALLY RELATED TO MESSAGES
|
|
*
|
|
******************************************/
|
|
|
|
/* MOTD */
|
|
.motd {color: #333; font-family: Verrdana, sans-serif; }
|
|
.motd h1, .motd h2, .motd h3, .motd h4, .motd h5, .motd h6 {color: black; padding: 0 0.5em; border-bottom: 1px solid #aaa;}
|
|
.motd a, .motd a:link, .motd a:visited {color: #00f;}
|
|
.motd a:active, .motd a:hover {color: #007;}
|
|
.motd div {
|
|
margin: 0 0.5em;
|
|
}
|
|
/* ADD HERE FOR BOLD */
|
|
.bold, .name, .prefix, .ooc, .looc, .adminooc, .adminlooc, .admin, .gfartooc, .gfartlooc, .gfartadmin, .mentorooc, .mentorlooc, .medal {font-weight: bold;}
|
|
|
|
/* ADD HERE FOR ITALIC */
|
|
.italic, .ghostdronesay.broadcast {font-style: italic;}
|
|
|
|
/* OUTPUT COLORS */
|
|
.text-red {color: #ff0000;}
|
|
.text-blue {color: #0000ff;}
|
|
.system {color: #ff0000;}
|
|
.ooc {color: #002eb8;}
|
|
.looc {color: #4c6ccd;}
|
|
.adminooc {color: #b82e00;}
|
|
.adminlooc {color: #cd6c4c;}
|
|
.admin {color: #386aff;}
|
|
.adminMsgWrap {color: #AE46BA;}
|
|
.gfartooc {color: #0099cc;}
|
|
.gfartlooc {color: #4cb7db;}
|
|
.gfartadmin {color: #996600;}
|
|
.mentorooc {color: #7b00ff;}
|
|
.mentorlooc {color: #a24cff;}
|
|
.medal {color: #808000;}
|
|
.combat {color: #ff0000;}
|
|
.say {}
|
|
.blobsay {color: #CA446A;}
|
|
.deadsay {color: #5c00e6;}
|
|
.hivesay {color: #663500;}
|
|
.ghoulsay {color: #600f89;}
|
|
.kudzusay {color: #005c0e;}
|
|
.astralsay {color: #2AABA4;}
|
|
.martiansay {color: #E89235;} /* #BD33D9 is the telepathy colour, possibly more suitable? */
|
|
.martianimperial {color: #C7376C; font-size: 14px;}
|
|
.flocksay {color: #488276;}
|
|
.flocksay a {color: #488276;}
|
|
.flocksay a:visited {color: #488276;}
|
|
.flockmindsay {color: #66ad9e; font-size: 120%;}
|
|
.flocknpc {color: #869995; font-size: 80%;}
|
|
.ghostdronesay {color: #d81aef;}
|
|
.green, .radio {color: #008000;}
|
|
.alert {color: #ff0000;}
|
|
h1.alert, h2.alert {color: #000000;}
|
|
.bigPM {font-size: 1.2em;}
|
|
.adminHearing .name[data-ctx] {border-bottom: 1px dotted black;}
|
|
.highlight {background: yellow;}
|
|
.blobalert {color: #4c00ff; font-size: 1.5em; font-weight: bold;}
|
|
|
|
.connectionClosed, .fatalError {background: red; color: white; padding: 5px;}
|
|
.connectionClosed.restored {background: green;}
|
|
.internal.boldnshit {color: blue; font-weight: bold;}
|
|
|
|
/* HELPER CLASSES */
|
|
.text-normal {font-weight: normal; font-style: normal;}
|
|
.hidden {display: none; visibility: hidden;}
|
|
|
|
.who-list {
|
|
padding: 5px 0;
|
|
border-top: 1px solid #111;
|
|
border-bottom: 1px solid #111;
|
|
}
|
|
.who-list b {display: block;}
|
|
.who-list span, .who-list a {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
}
|