archive/static/style.css

271 lines
3.7 KiB
CSS

/* archive/style.css */
/* Page style */
html {
overflow-y:scroll;
}
html,body {
margin:0;padding:0;border:0;
font-family:"Segoe UI",Arial,sans-serif;
font-size:12px;
}
a {
color: blue;
cursor: pointer;
}
ul {
margin:0;
padding-left:20px;
}
.mini-separator {
display: inline-block;
zoom: 1;
height: 16px;
width: 0px;
border-left: 1px solid darkgrey;
border-right: 1px solid #DDD;
}
select {
margin:0;
}
/* Layout */
.layout-top {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 22px;
padding: 3px;
margin-bottom: 8px;
}
.layout-body {
margin-top:40px;
padding:3px;
}
.layout-pushdown {
position:relative;
top:3px;
}
/* Chat styling */
#chatarea {
word-break:break-word;
}
.timestamp {
color: #BBB;
}
.chat {
font-weight:bold;
color: darkblue;
}
.sys {
font-style:italic;
color: darkgreen;
}
.gt {
color:#0A0;
font-weight:bold;
}
.line-highlighted {
background:lightyellow;
}
/* Toolbar styling */
.pad {
display:inline;
padding:0 8px;
}
.nav {
background: #DDD;
box-shadow: 0px 4px 24px #CCC;
font-size:0; /* remove phantom spaces between elements */
}
.nav form {
display: inline;
}
.nav a, .nav .current-page, .nav select {
font-size: 12px;
line-height: 12px;
}
.nav .btn {
background: white;
color:black;
border: 1px solid lightgrey;
padding: 0 6px;
text-decoration:none;
}
.nav a {
transition:all 0.1s linear;
}
.nav a:hover {
border-color: grey black black grey;
transition:all 0s linear;
}
.area-search {
float:right;
}
#searchbox {
width:170px;
}
#logo {
cursor:pointer;
display:inline-block;
width:16px;
height:16px;
margin-left:2px;
margin-right:4px;
}
/* Utility class */
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
}
/* Dropdown */
#menu-container {
display:none; /* default */
}
.ddmenu {
display:block;
position:absolute;
top:28px;
left:0px;
width:180px;
border-top:1px solid #999;
box-shadow: 0px 4px 24px #CCC;
z-index: 2;
}
.ddmenu a {
color:black;
display:inline-block;
border:1px solid #999;
border-top:0px;
width:170px;
padding:4px;
background:#EEE;
text-decoration:none;
}
.ddmenu a:hover {
background:#FFF;
}
#tr1 {
width:0px;
height:0px;
border-bottom:10px solid #999;
border-right:10px solid transparent;
border-left:10px solid transparent;
position:absolute;
top:18px;
left:3px;
z-index:1;
}
#tr2 {
width:0px;
height:0px;
border-bottom:10px solid #EEE;
border-right:10px solid transparent;
border-left:10px solid transparent;
position:absolute;
top:19px;
left:3px;
z-index:3;
}
/* Mobile view */
@media (max-width: 600px) {
.nav {
height: 55px;
text-align:center;
}
.nav a, .nav .current-page, .nav select {
font-size: 16px;
line-height:16px;
}
.nav .btn {
padding: 2px 12px;
margin: 4px 0;
}
.pad {
display:block;
padding:0;
height:8px;
}
.layout-body {
margin-top:75px;
}
.mini-separator {
display:none;
}
.area-search {
display:block;
float:none;
margin-top: 4px;
}
#searchbox {
width:auto;
}
}
@media (max-width: 400px) {
.area-nav select {
max-width:60px;
}
.ts_split_d, .ts_split_s {
display:none;
}
}