standardise formatting in css file

This commit is contained in:
mappu 2017-08-13 17:02:56 +12:00
parent 86320cf5c4
commit 2c625bb41e

View File

@ -1,23 +1,27 @@
/* Chat archives */ /* archive/style.css */
/* Page style */ /* Page style */
html { html {
overflow-y:scroll; overflow-y:scroll;
} }
html,body { html,body {
margin:0;padding:0;border:0; margin:0;padding:0;border:0;
font-family:"Segoe UI",Arial,sans-serif; font-family:"Segoe UI",Arial,sans-serif;
font-size:12px; font-size:12px;
} }
a { a {
color: blue; color: blue;
cursor: pointer; cursor: pointer;
} }
ul { ul {
margin:0; margin:0;
padding-left:20px; padding-left:20px;
} }
.mini-separator { .mini-separator {
display: inline-block; display: inline-block;
zoom: 1; zoom: 1;
@ -26,6 +30,7 @@ ul {
border-left: 1px solid darkgrey; border-left: 1px solid darkgrey;
border-right: 1px solid #DDD; border-right: 1px solid #DDD;
} }
select { select {
margin:0; margin:0;
} }
@ -38,13 +43,15 @@ select {
left: 0; left: 0;
right: 0; right: 0;
height: 22px; height: 22px;
padding: 3px; padding: 3px;
margin-bottom: 8px; margin-bottom: 8px;
} }
.layout-body { .layout-body {
margin-top:40px; margin-top:40px;
padding:3px; padding:3px;
} }
.layout-pushdown { .layout-pushdown {
position:relative; position:relative;
top:3px; top:3px;
@ -56,42 +63,68 @@ select {
word-break:break-word; word-break:break-word;
} }
.timestamp {color: #BBB;} .timestamp {
.chat { font-weight:bold; color: #BBB;
color: darkblue;} }
.sys { font-style:italic;
color: darkgreen;} .chat {
.logo { width: 102px; font-weight:bold;
height: 37px; color: darkblue;
display: block; }
border:0;
padding-bottom: 1.0em;} .sys {
.gt { color:#0A0;font-weight:bold;} font-style:italic;
color: darkgreen;
}
.logo {
width: 102px;
height: 37px;
display: block;
border:0;
padding-bottom: 1.0em;
}
.gt {
color:#0A0;
font-weight:bold;
}
.line-highlighted { .line-highlighted {
background:lightyellow; background:lightyellow;
} }
/* Toolbar styling */ /* Toolbar styling */
.pad { display:inline; padding:0 8px;} .pad {
display:inline;
padding:0 8px;
}
.nav { .nav {
background: #DDD; background: #DDD;
box-shadow: 0px 4px 24px #CCC; box-shadow: 0px 4px 24px #CCC;
}
.nav form {
display: inline;
} }
.nav form { display: inline;}
.nav .btn { background: white;
color:black;
border: 1px solid lightgrey;
padding: 0 6px;
text-decoration:none;
}
.nav a:hover {border-color: grey black black grey;}
.nav .btn {
background: white;
color:black;
border: 1px solid lightgrey;
padding: 0 6px;
text-decoration:none;
}
.nav a:hover {
border-color: grey black black grey;
}
.area-search { .area-search {
float:right; float:right;
} }
#searchbox { #searchbox {
width:170px; width:170px;
} }
@ -106,6 +139,7 @@ select {
} }
/* Dropdown */ /* Dropdown */
.ddmenu { .ddmenu {
display:block; display:block;
position:absolute; position:absolute;
@ -116,6 +150,7 @@ select {
box-shadow: 0px 4px 24px #CCC; box-shadow: 0px 4px 24px #CCC;
z-index: 2; z-index: 2;
} }
.ddmenu a { .ddmenu a {
color:black; color:black;
display:inline-block; display:inline-block;
@ -127,45 +162,66 @@ select {
text-decoration:none; text-decoration:none;
} }
.ddmenu a:hover { .ddmenu a:hover {
background:#FFF; background:#FFF;
-moz-transition:all 0.1s linear; -moz-transition:all 0.1s linear;
-webkit-transition:all 0.1s linear; -webkit-transition:all 0.1s linear;
} }
#tr1 { #tr1 {
width:0px;height:0px;border-bottom:10px solid #999; width:0px;
border-right:10px solid transparent;border-left:10px solid transparent; height:0px;
position:absolute;top:18px;left:3px;z-index:1; 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 { #tr2 {
width:0px;height:0px;border-bottom:10px solid #EEE; width:0px;
border-right:10px solid transparent;border-left:10px solid transparent; height:0px;
position:absolute;top:19px;left:3px;z-index:3; 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 */ /* Mobile view */
@media (max-width: 600px) { @media (max-width: 600px) {
.nav { .nav {
height: 55px; height: 55px;
text-align:center; text-align:center;
} }
.nav, .nav select { .nav, .nav select {
font-size: 16px; font-size: 16px;
line-height:16px; line-height:16px;
} }
.nav .btn { .nav .btn {
padding: 2px 12px; padding: 2px 12px;
margin: 4px 0; margin: 4px 0;
} }
.pad { .pad {
display:block; display:block;
padding:0; padding:0;
height:8px; height:8px;
} }
.layout-body { .layout-body {
margin-top:75px; margin-top:75px;
} }
.mini-separator { .mini-separator {
display:none; display:none;
} }
@ -178,10 +234,15 @@ select {
width:auto; width:auto;
} }
} }
@media (max-width: 400px) { @media (max-width: 400px) {
.area-nav select { .area-nav select {
max-width:60px; max-width:60px;
} }
.ts_split_d, .ts_split_s { display:none; } .ts_split_d, .ts_split_s {
display:none;
}
} }