mubot-server
Version:
A server for mubot
247 lines (213 loc) • 3.6 kB
CSS
/*
* Globals
*/
/* blockquote */
blockquote {
padding: 13px;
padding-bottom: 6px;
background-color: #dadada;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
margin: 5px;
border-radius: 25px;
}
small {
margin-top: -100px;
color: red
}
/* Links */
a,
a:focus,
a:hover {
color: #fff;
}
/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
color: #333;
text-shadow: none; /* Prevent inheritance from `body` */
background-color: #fff;
border: 1px solid #fff;
}
/*
* Base structure
*/
html,
body {
height: 100%;
background-color: #333;
}
body {
color: #fff;
text-align: center;
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
display: table;
width: 100%;
height: 100%; /* For at least Firefox */
min-height: 100%;
-webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}
.site-wrapper-inner {
display: table-cell;
vertical-align: top;
}
.cover-container {
margin-right: auto;
margin-left: auto;
}
/* Padding for spacing */
.inner {
padding: 30px;
}
/*
* Header
*/
.masthead-brand {
margin-top: 10px;
margin-bottom: 10px;
}
.masthead-nav > li {
display: inline-block;
}
.masthead-nav > li + li {
margin-left: 20px;
}
.masthead-nav > li > a {
padding-right: 0;
padding-left: 0;
font-size: 16px;
font-weight: bold;
color: #fff; /* IE8 proofing */
color: rgba(255,255,255,.75);
border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
background-color: transparent;
border-bottom-color: #a9a9a9;
border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
color: #fff;
border-bottom-color: #fff;
}
@media (min-width: 768px) {
.masthead-brand {
float: left;
}
.masthead-nav {
float: right;
}
}
/*
* Cover
*/
.cover {
padding: 0 20px;
}
.cover .btn-lg {
padding: 10px 20px;
font-weight: bold;
}
/*
* Footer
*/
.mastfoot {
color: #999; /* IE8 proofing */
color: rgba(255,255,255,.5);
}
.dropdown-menu {
left: 50%;
}
@media (min-width: 368px) {
.dropdown-menu {
left: 27%;
}
}
@media (min-width: 453px) {
.dropdown-menu {
left: 29.25%;
}
}
@media (min-width: 493px) {
.dropdown-menu {
left: 30.5%;
}
}
@media (min-width: 533px) {
.dropdown-menu {
left: 32%;
}
}
@media (min-width: 568px) {
.dropdown-menu {
left: 34.5%;
}
}
@media (min-width: 646px) {
.dropdown-menu {
left: 36%;
}
}
@media (min-width: 668px) {
.dropdown-menu {
left: 37.5%;
}
}
/*
* Affix and center
*/
@media (min-width: 768px) {
.dropdown-menu {
left: 0px;
}
/* Pull out the header and footer */
.masthead {
position: fixed;
top: 0;
}
.mastfoot {
position: fixed;
bottom: 0;
}
/* Start the vertical centering */
.site-wrapper-inner {
vertical-align: middle;
}
/* Handle the widths */
.masthead,
.mastfoot,
.cover-container {
width: 80%; /* Must be percentage or pixels for horizontal alignment */
}
}
code { font-size: 15px }
@media (max-width: 768px) {
code { font-size: 13px }
.cover-container { width: 90% }
}
@media (min-width: 992px) {
.masthead,
.mastfoot,
.cover-container {
width: 800px;
}
}
.btn-logo {
color: silver;
background-color: #333;
font-size: 15
}
.dropdown-menu {
background-color: #333;
}
.dropdown-menu>li>a {
color: silver;
}
pre { text-align: left }