diff --git a/css/glowingbear.css b/css/glowingbear.css index 5942a90..a98992c 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -19,28 +19,28 @@ body { height: 25px; } .horizontal-line { --webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; - -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; - box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; + -webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; + -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; + box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; border-bottom: 1px solid #121212; } .vertical-line { --webkit-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0; - -moz-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0; - box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0; - border-right: 1px solid #121212; + -webkit-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0; + -moz-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0; + box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0; + border-right: 1px solid #121212; } .vertical-line-left { --webkit-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0; - -moz-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0; - box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0; - border-left: 1px solid #121212; + -webkit-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0; + -moz-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0; + box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0; + border-left: 1px solid #121212; } .panel-group .panel-heading + .panel-collapse .panel-body { --webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0; - -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0; - box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0; - border-top: 1px solid #121212; + -webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0; + -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0; + box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0; + border-top: 1px solid #121212; } table { @@ -104,7 +104,7 @@ input#sendMessage { border-radius: 0; } .panel input, .panel .input-group { - max-width: 300px; + max-width: 300px; } input[type=text], input[type=password], .badge { border: 0; @@ -121,24 +121,24 @@ input[type=text], input[type=password], .badge { z-index: 2; line-height: 35px; white-space: nowrap; --webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; - -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; - box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; + -webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; + -moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; + box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0; } #topbar .brand { float: left; height: 35px; padding-left: 5px; } - #topbar .brand img { - height: 32px; - } - #topbar .brand button { - position: absolute; - line-height: 15px; - font-size: 9pt; - margin-left: 10px - } +#topbar .brand img { + height: 32px; +} +#topbar .brand button { + position: absolute; + line-height: 15px; + font-size: 9pt; + margin-left: 10px +} #topbar .title { position: fixed; left: 145px; /* sidebar */ @@ -174,7 +174,7 @@ input[type=text], input[type=password], .badge { overflow-x: hidden; margin-top: 35px; /* topbar */ font-size: smaller; - } +} #sidebar form { } @@ -263,60 +263,7 @@ input[type=text], input[type=password], .badge { .navbar-inverse { background-color: #181818; } -@media (max-width: 968px) { - #sidebar { - font-size: normal; - z-index: 1; - width: 0; - } - #sidebar.in, #sidebar.collapsing { - -webkit-box-shadow: 0px 0px 120px #000; - box-shadow: 0px 0px 120px #000; - } - #topbar .title { - left: 40px; - } - #bufferlines, #nicklist { - position: relative; - min-height: 0; - margin-left: 0; - height: auto; - max-width: 100%; - border: 0; - } - #nicklist { - width: 100%; - text-align: center; - } - #bufferlines { - padding-bottom: 38px; /* navbar fixed bottom */ - } - .navbar-fixed-bottom { - margin: 0; - } - .navbar { - min-height: 0%; - } - #bufferlines td.time { - display: inline; - padding-right: 0; - } - #bufferlines td.prefix { - display: inline; - padding-right: 0; - border: 0; - } - #bufferlines td.message { - padding-left: 0; - display: inline; - } - #bufferlines td.prefix:before { - content: "<"; - } - #bufferlines td.prefix:after { - content: ">"; - } -} + .color-light-green { color: chartreuse; } @@ -330,8 +277,8 @@ input[type=text], input[type=password], .badge { color: #ddd; } .alert-danger { - border-color: #121212; - color: black; + border-color: #121212; + color: black; } li.notification { @@ -356,10 +303,98 @@ li.notification { } img.embed { - max-height: 300px; + max-height: 300px; } table.notimestamp td.time { display: none; } + + +/* */ +/* Mobile layout */ +/* */ +@media (max-width: 968px) { + .message span { + color: #C7C7C7; + } + + .bufferline { + line-height: 25px; + } + + #sidebar { + font-size: normal; + z-index: 1; + bottom: 0px; + width: 60%; + top: 0px; + } + + #sidebar.in, #sidebar.collapsing { + -webkit-box-shadow: 0px 0px 120px #000; + box-shadow: 0px 0px 120px #000; + bottom: 0px; + } + + #topbar .title { + left: 40px; + } + + #bufferlines, #nicklist { + position: relative; + min-height: 0; + margin-left: 0; + height: auto; + max-width: 100%; + border: 0; + } + + #nicklist { + width: 160px; + text-align: center; + -webkit-box-shadow: 0px 0px 120px #000; + box-shadow: 0px 0px 120px #000; + position: fixed; + margin-top: 10px; + background: #282828; + bottom: 0px; + } + + #bufferlines { + padding-bottom: 38px; /* navbar fixed bottom */; + } + + .navbar-fixed-bottom { + margin: 0; + } + + .navbar { + min-height: 0%; + } + + #bufferlines td.time { + display: inline; + padding-right: 0; + } + + #bufferlines td.prefix { + display: inline; + padding-right: 0; + border: 0; + } + + #bufferlines td.message { + padding-left: 0; + display: inline; + } + + #bufferlines td.prefix:before { + content: "<"; + } + + #bufferlines td.prefix:after { + content: ">"; + } +} diff --git a/index.html b/index.html index bd2613c..e62be31 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,7 @@ + @@ -270,7 +271,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel -