PCv5/app/static/css/global.css

132 lines
2.0 KiB
CSS

/* Fonts */
@font-face { font-family: NotoSans; src: url(../fonts/noto_sans.ttf); }
@font-face { font-family: Cantarell; font-weight: normal; src: url(../fonts/Cantarell-Regular.otf); }
@font-face { font-family: Cantarell; font-weight: bold; src: url(../fonts/Cantarell-Bold.otf); }
/* Whole page */
* {
box-sizing: border-box;
/* This transition value is replicated everywhere transitions are customized,
make sure to track them when editing */
transition: .15s ease;
}
body {
margin: 0;
background: #ffffff;
font-family: 'DejaVu Sans', sans-serif;
}
/* General */
a {
text-decoration: none;
color: #c61a1a;
}
a:hover {
text-decoration: underline;
}
a:focus {
outline: none;
}
section p {
line-height: 20px;
}
section ul {
line-height: 24px;
}
/* Forms */
input,
textarea {
display: block;
background: #FFFFFF; color: #000000;
border: none;
}
input:focus:not(type="button"),
textarea:focus {
box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}
textarea {
width: 100%;
border: 1px solid #eeeeee;
}
input[type="checkbox"] {
display: inline;
vertical-align: middle;
}
/* Buttons */
.button,
input[type="button"],
input[type="submit"] {
padding: 6px 10px; border-radius: 2px;
cursor: pointer;
font-family: 'DejaVu Sans', sans-serif; font-weight: 400;
}
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover {
text-decoration: none;
}
/*
Bootstrap-style rules
*/
.flex {
display: flex;
}
.bg-green,
.bg-green {
background: #149641;
color: #ffffff;
}
.bg-green:hover,
.bg-green:focus,
.bg-green:active {
background: #0f7331;
}
.bg-red,
.bg-red {
background: #d23a2f;
color: #ffffff;
}
.bg-red:hover,
.bg-red:focus,
.bg-red:active {
background: #b32a20;
}
.bg-orange {
background: #f59f25;
color: #ffffff;
}
.bg-orange:hover,
.bg-orange:focus,
.bg-orange:active {
background: #ea9720;
}
.bg-white,
.bg-white {
border: 1px solid #e5e5e5;
background: #ffffff;
color: #000000;
}
.bg-white:hover,
.bg-white:focus,
.bg-white:active {
background: #f0f0f0;
border-color: #e3e3e3;
}