contentdb/app/scss/custom.scss

207 lines
3.1 KiB
SCSS
Raw Normal View History

2018-05-09 19:35:36 +02:00
@import "components.scss";
@import "packages.scss";
@import "gallery.scss";
2018-05-09 19:35:36 +02:00
@import "packagegrid.scss";
2018-06-12 00:11:15 +02:00
@import "comments.scss";
2018-12-21 15:45:54 +01:00
2020-12-22 12:14:16 +01:00
footer {
text-align: center;
color: #999;
a {
color: #2e997e;
}
a:hover {
color: #00bc8c;
}
}
2020-04-21 20:18:06 +02:00
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
}
2020-07-11 00:46:36 +02:00
.badge-notify {
background:yellow; /* #00bc8c;*/
color: black;
position:relative;
top: -12px;
left: -10px;
margin-right: -10px;
font-size:10px;
}
a:hover .badge-notify {
color: black;
}
2021-07-21 03:31:51 +02:00
.badge-emoji {
padding: 0;
background: transparent;
font-size: 15px;
top: -10px;
}
2020-04-21 20:18:06 +02:00
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;
}
2021-02-23 01:01:28 +01:00
.markdown {
word-break: break-word;
img {
max-width: 100%;
}
2021-02-23 01:01:28 +01:00
}
pre {
2020-04-21 20:18:06 +02:00
display: block;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(51, 51, 51, 0.25);
2020-04-21 20:18:06 +02:00
padding: 0.75rem 1.25rem;
border-radius: 0.25rem;
}
.dropdown-menu {
2020-01-18 01:15:29 +01:00
margin-top: 0;
}
2018-12-21 15:45:54 +01:00
.dropdown:hover .dropdown-menu {
2020-04-21 20:18:06 +02:00
display: block;
2018-12-21 15:45:54 +01:00
}
.nav-link > img {
max-height: 1em;
}
2018-12-21 17:06:52 +01:00
2018-12-22 14:14:08 +01:00
#alerts {
2020-01-18 01:15:29 +01:00
display: block;
list-style: none;
position: fixed;
bottom: 0;
left:0;
right:0;
margin: 0;
padding:0;
z-index: 1000;
2018-12-22 14:14:08 +01:00
}
#alerts li {
2020-01-18 01:15:29 +01:00
list-style: none;
2018-12-22 14:14:08 +01:00
}
2018-12-21 17:06:52 +01:00
.jumbotron {
2020-01-18 01:15:29 +01:00
background-size: cover;
background-repeat: no-repeat;
background-position: center;
.btn-outline-secondary {
2020-01-20 21:56:56 +01:00
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;
2020-01-18 01:15:29 +01:00
}
2018-12-21 17:06:52 +01:00
}
2018-12-21 17:55:22 +01:00
.alert .btn {
2020-01-18 01:15:29 +01:00
text-decoration: none;
2018-12-21 17:55:22 +01:00
}
2020-04-21 20:18:06 +02:00
.card {
.card-header {
margin: 0;
font-size: 100%;
font-weight: normal;
}
.table {
margin-bottom: 0;
}
}
.btn-download {
2020-01-18 01:15:29 +01:00
color: #fff;
background-color: #00b05c;
border-color: #00b05c;
}
.btn-download:focus, .btn-download.focus {
2020-01-18 01:15:29 +01:00
-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);
}
2020-09-17 00:32:24 +02:00
.ranks-table tr {
th, td {
text-align: center;
}
td:first-child, th:first-child {
text-align: left;
}
}
#featuredCarousel {
.embed-responsive-item {
filter: brightness(0.85);
object-fit: cover;
}
.carousel-item, .embed-responsive-item {
max-height: 50vh;
}
.carousel-inner {
background-color: #000;
border-radius: 3px;
overflow: hidden;
}
.carousel-indicators {
margin-bottom: 0 !important;
opacity: 0.6;
}
}
@media (min-width: 768px) {
#featuredCarousel h3 {
font-size: calc(1.325rem + .9vw) !important;
}
}
.text-shadow {
text-shadow: 0 0 10px rgba(10, 10, 10, 0.2), 3px 3px 3px rgba(10, 10, 10, 0.4);
}
@import "dracula.scss";