contentdb/app/scss/custom.scss
2020-04-21 19:18:06 +01:00

123 lines
2.0 KiB
SCSS

@import "components.scss";
@import "packages.scss";
@import "packagegrid.scss";
@import "comments.scss";
h1 {
font-size: 2em;
font-weight: bold;
margin: 0 0 0.5em;
letter-spacing: .05em
}
h2 {
font-size: 1.8em;
font-weight: bold;
color: white;
margin: 1.5em 0 1em;
letter-spacing: .05em;
padding: 0 0 0.5em 0;
border-bottom: 1px solid #444;
}
h3 {
font-size: 1.3em;
font-weight: bold;
color: white;
margin: 1.5em 0 1em;
letter-spacing: .05em
}
p, .content li {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased !important;
-moz-font-smoothing: antialiased !important;
text-rendering: optimizelegibility !important;
letter-spacing: .03em;
line-height: 1.6em;
}
pre code {
display: block;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.03);
padding: 0.75rem 1.25rem;
border-radius: 0.25rem;
}
.dropdown-menu {
margin-top: 0;
}
.dropdown:hover .dropdown-menu {
display: block;
}
.nav-link > img {
max-height: 1em;
}
#alerts {
display: block;
list-style: none;
position: fixed;
bottom: 0;
left:0;
right:0;
margin: 0;
padding:0;
z-index: 1000;
}
#alerts li {
list-style: none;
}
.jumbotron {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
.btn-outline-secondary {
color: rgba(255, 255, 255, 0.8);
border-color: rgba(0, 0, 0, 0.6);
background: rgba(0, 0, 0, 0.3);
}
.btn-outline-secondary:hover {
color: #fff;
border-color: rgba(0, 0, 0, 0.8);
background: rgba(0, 0, 0, 0.6);
}
.text-secondary {
color: rgba(255, 255, 255, 0.8) !important;
}
}
.alert .btn {
text-decoration: none;
}
.card {
.card-header {
margin: 0;
font-size: 100%;
font-weight: normal;
}
.table {
margin-bottom: 0;
}
}
.btn-download {
color: #fff;
background-color: #00b05c;
border-color: #00b05c;
}
.btn-download:focus, .btn-download.focus {
-webkit-box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5);
box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5);
}