Personal-Site/static/css/main.css

89 lines
1.8 KiB
CSS
Raw Normal View History

: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 {
2018-01-03 22:15:36 +00:00
background-color: #3f51b5 !important;
2017-11-29 01:41:02 +00:00
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
2018-01-03 22:15:36 +00:00
border-bottom: #002984 1px solid;
}
2017-11-29 01:11:32 +00:00
a:not(.nav-link):not(.navbar-brand) {
2018-01-03 22:15:36 +00:00
color: #3f51b5;
2017-11-29 01:11:32 +00:00
}
a:hover:not(.nav-link):not(.navbar-brand) {
2018-01-03 22:15:36 +00:00
color: #757de8;
2017-11-29 01:11:32 +00:00
}
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;
}
2017-12-01 02:54:38 +00:00
.full-height {
height: 100%;
}
2017-12-16 05:09:10 +00:00
2018-01-03 21:48:57 +00:00
.dark-mode {
color: white;
background-color: #343a40;
}
.dark-mode .jumbotron {
2017-12-16 05:09:10 +00:00
background-color: #2b3136;
}
2018-01-03 21:48:57 +00:00
.dark-mode a:not(.navbar-brand):not(.nav-link) {
2018-01-03 22:15:36 +00:00
color: #757de8 !important;
2017-12-16 05:09:10 +00:00
}
2018-01-03 21:48:57 +00:00
.dark-mode a:not(.navbar-brand):not(.nav-link):hover {
2018-01-03 22:15:36 +00:00
color: #3f51b5 !important;
2017-12-16 05:09:10 +00:00
}
2018-01-03 21:48:57 +00:00
.dark-mode .card {
background-color: #343a40;
2017-12-16 05:09:10 +00:00
border-color: rgba(255, 255, 255, 0.125);
}
2018-01-03 21:48:57 +00:00
.dark-mode .form-control {
2017-12-16 05:09:10 +00:00
background-color: rgb(81, 89, 107);
border-color: rgb(60, 66, 80);
}
2018-01-03 21:48:57 +00:00
.dark-mode .form-control:focus {
2017-12-16 05:09:10 +00:00
box-shadow: 0 0 0 .2rem rgba(255,255,255,.5);
}
2018-01-03 21:48:57 +00:00
/* 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;
}