tracman-server/static/css/base.css

209 lines
3.5 KiB
CSS
Raw Normal View History

2016-03-31 17:06:21 -06:00
/* Resets, Clears & Defaults */
*, *:after, *:before {
box-sizing: border-box;
2016-04-25 01:31:37 -06:00
}::-webkit-scrollbar {
width: 5vw;
min-width:10px;
max-width:40px;
}::-webkit-scrollbar-track {
2016-05-12 20:43:01 -06:00
background-color: #080808;
2016-04-25 01:31:37 -06:00
}::-webkit-scrollbar-thumb {
2016-04-27 21:06:34 -06:00
border-radius: .2vw;
2016-04-25 01:31:37 -06:00
background: #333;
2016-03-31 17:06:21 -06:00
}
body {
2016-05-12 20:43:01 -06:00
background-color: #080808;
color: #eee;
2016-03-31 17:06:21 -06:00
}
body, input, textarea {
padding: 0; margin: 0;
font-family: 'Open Sans', sans-serif;
font-size: 18px;
color: #eee;
font-weight: 600;
}
.flexbox {
width:100%;
display:flex;
justify-content:space-around;
}
.flexbox.stretch { justify-content:space-between; }
pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
.dark pre {
2016-05-12 20:43:01 -06:00
-moz-box-shadow: 2px 2px 4px #000;
-webkit-box-shadow: 2px 2px 4px #000;
box-shadow: 2px 2px 4px #000;
background-color: rgba(255,255,255,.03);
color: #aaa;
2016-03-31 17:06:21 -06:00
padding: 1%;
border: 1px solid #ccc;
border-radius: .25rem;
}
.dark .form-control:disabled, .dark .form-control:disabled {
background-color: rgba(255,255,255,0.1);
}
.input-group {
margin-bottom:30px;
}
input[type="checkbox"] {
margin: 8px 0;
}
.form-group#buttons {
width: 100%;
display: flex;
justify-content: space-around;
}
input[type="checkbox"] {
display: inline-block;
}
.help-block {margin-top:-20px;}
.alert {
z-index:10;
}
.alert:not(.alert-dismissible) {
text-align: center;
}
.alert a {
color: inherit;
text-decoration: underline;
}
.alert a:hover {
color: inherit;
text-decoration: none;
}
input:focus, textarea:focus {
outline: 0;
}
h1, h2, h3, p {
margin: 0 0 20px 0;
position: relative;
z-index: 6;
}
h1,h2,h3,h4 { font-weight: 600; }
h1 {
font-size: 48px;
line-height: 46px; }
h2 {
font-size: 40px;
line-height: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }
.red { color: #fb6e3d; }
a {
color: #fbc93d;
text-decoration: none;
}
a:hover {
color: #fbc93d;
text-decoration: underline;
}
.light a {
color:#111;
text-decoration: underline;
}
.light a:hover {
color:#111;
text-decoration: none;
}
img {
max-width: 100%;
}
p img {
display: block;
margin: auto;
}
input[type="checkbox"] {
width: auto;
margin: 8px;
}
.with-errors {
color: #d9534f;
}
::selection {
background: #999;
}
::-moz-selection {
background: #999;
}
/* End Resets, Clears & Defaults */
.container {
width: 100%;
max-width: 1000px;
margin: 0 auto;
}
.container:after {
content: "";
display: block;
clear: both;
}
section {
padding: 100px 0 50px;
}
.btn {
text-decoration: none;
font-weight:600;
display: inline-block;
padding: 15px 30px;
transition: 200ms;
background: transparent;
cursor: pointer;
2016-05-12 20:43:01 -06:00
-moz-box-shadow: 2px 2px 4px #000;
-webkit-box-shadow: 2px 2px 4px #000;
box-shadow: 2px 2px 4px #000;
2016-03-31 17:06:21 -06:00
}
.dark .btn {
color: #fff;
border: 1px solid #fff;
}
.dark .btn:hover:not(.disabled),
.dark .btn:active:not(.disabled),
.dark .btn:focus:not(.disabled) {
background: rgba(255,255,255,0.1);
2016-05-12 20:43:01 -06:00
}.dark.btn:active:not(.disabled) {
-moz-box-shadow: 0;
-webkit-box-shadow: 0;
box-shadow: 0;
2016-03-31 17:06:21 -06:00
}
.light .btn {
color: #222;
text-decoration: none;
border: 1px solid #222;
}
.light .btn:hover:not(.disabled),
.light .btn:active:not(.disabled),
.light .btn:focus:not(.disabled) {
background: rgba(0,0,0,0.1);
}
.btn.yellow {
color: #fbc93d;
border: 1px solid #fbc93d;
}
.dark .btn.yellow:hover:not(.disabled),
.dark .btn.yellow:active:not(.disabled),
.dark .btn.yellow:focus:not(.disabled) {
background: rgba(251,201,61,0.1);
}
.btn.smaller {
padding: 10px 25px;
}
.btn .fa {
margin-left: 10px;
}