PCv5/app/static/css/global.css

135 lines
1.7 KiB
CSS

/*
fonts
*/
@font-face { font-family: NotoSans; src: url(../fonts/noto_sans.ttf); }
@font-face { font-family: Raleway; font-weight: 200; src: url(../fonts/raleway_200.ttf); }
@font-face { font-family: Raleway; font-weight: 300; src: url(../fonts/raleway_300.ttf); }
/*
ALL
*/
* {
box-sizing: border-box;
transition: .15s ease;
}
/*
Body
*/
body {
margin: 0;
background: #ffffff;
font-family: 'DejaVu Sans', sans-serif;
}
/*
Links
*/
a {
text-decoration: none;
color: #c61a1a;
}
a:focus {
outline: none;
}
/*
Inputs
*/
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 */
textarea {
width: 100%;
border: 1px solid #eeeeee;
}
/* 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;
}
/* Checkbox */
input[type="checkbox"] {
display: inline;
vertical-align: middle;
}
/*
Bootstrap-style rules
*/
.flex {
display: flex;
}
.bg-green,
.bg-green {
background-color: #149641;
color: #ffffff;
}
.bg-green:hover,
.bg-green:focus,
.bg-green:active {
background-color: #0f7331;
}
.bg-red,
.bg-red {
background-color: #c0341d;
color: #ffffff;
}
.bg-red:hover,
.bg-red:focus,
.bg-red:active {
background-color: #aa3421;
}
.bg-orange {
background: #e99820;
color: #ffffff;
}
.bg-orange:hover,
.bg-orange:focus,
.bg-orange:active {
background: #de8d13;
}
.bg-white,
.bg-white {
border: 1px solid #e5e5e5;
background-color: #ffffff;
color: #000000;
}
.bg-white:hover,
.bg-white:focus,
.bg-white:active {
background-color: #f0f0f0;
border-color: #e3e3e3;
}