Personal-Site/static/css/main.css
2018-05-12 16:50:36 -07:00

89 lines
1.8 KiB
CSS

:root {
--main-color: #3f51b5; /* R:63, G:82, B:181 */
--main-dark-color: #002984;
--main-light-color: #757de8;
}
body {
padding-top: 70px;
padding-bottom: 40px;
cursor: default;
}
.navbar, .fixed-top {
background-color: #3f51b5 !important;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
border-bottom: #002984 1px solid;
}
a:not(.nav-link):not(.navbar-brand) {
color: #3f51b5;
}
a:hover:not(.nav-link):not(.navbar-brand) {
color: #757de8;
}
li.col-md-6 {
padding-left: 0px;
}
.cover {
text-align: center;
}
.required {
color: red;
}
.invalid-captcha {
box-shadow: 0 0 1.5px 1px red;
}
.fa {
font-size: 0.85rem;
}
.full-height {
height: 100%;
}
.dark-mode {
color: white;
background-color: #343a40;
}
.dark-mode .jumbotron {
background-color: #2b3136;
}
.dark-mode a:not(.navbar-brand):not(.nav-link) {
color: #757de8 !important;
}
.dark-mode a:not(.navbar-brand):not(.nav-link):hover {
color: #3f51b5 !important;
}
.dark-mode .card {
background-color: #343a40;
border-color: rgba(255, 255, 255, 0.125);
}
.dark-mode .form-control {
background-color: rgb(81, 89, 107);
border-color: rgb(60, 66, 80);
}
.dark-mode .form-control:focus {
box-shadow: 0 0 0 .2rem rgba(255,255,255,.5);
}
/* for transitioning to/from dark mode */
.transition {
-webkit-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border 0.25s ease-in-out;
-moz-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border 0.25s ease-in-out;
-o-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border 0.25s ease-in-out;
transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border 0.25s ease-in-out;
}