contentdb/app/scss/custom.scss

284 lines
4.1 KiB
SCSS
Raw Normal View History

2023-08-26 20:49:23 +02:00
:root {
--bs-link-color: rgb(99, 163, 230);
--bs-link-color-rgb: 99, 163, 230;
--bs-link-hover-color: rgb(88, 145, 204);
--bs-link-hover-color-rgb: 88, 145, 204;
2023-08-26 20:49:23 +02:00
}
a {
text-decoration: none;
}
@import "lato.scss";
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;
.list-inline {
max-width: 520px;
margin: 0.25rem auto;
}
2020-12-22 12:14:16 +01:00
}
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;
2023-08-22 20:58:43 +02:00
background: #111 no-repeat center;
padding: 3rem 0 1rem 0;
color: white;
2020-01-18 01:15:29 +01:00
.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;
}
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 {
2023-08-22 20:58:43 +02:00
.ratio > * {
filter: brightness(0.85);
object-fit: cover;
}
2023-08-22 20:58:43 +02:00
.carousel-item, .ratio {
max-height: 50vh;
}
.carousel-inner {
background-color: #000;
border-radius: 3px;
overflow: hidden;
}
.carousel-indicators {
margin-bottom: 0 !important;
opacity: 0.6;
}
}
2023-06-01 19:02:16 +02:00
@mixin line_clamp($lines: 0) {
overflow: hidden;
text-overflow: ellipsis;
@if $lines == 0 {
white-space: nowrap;
} @else {
// Fallbacks for browsers not supporting line-clamp.
max-height: $lines * 1.4em;
display: block;
// Line-clamp settings.
line-clamp: $lines;
display: -webkit-box;
-webkit-line-clamp: $lines;
-webkit-box-orient: vertical;
}
}
.client-preview {
background: #50525e;
padding: 17px 24px 17px 24px;
gap: 25px;
font-size: 15px;
.mt-thumb {
width: 96px;
height: 64px;
}
p {
color: #fefefe;
margin: 0;
}
.desc p:nth-child(2) {
@include line_clamp(2);
line-height: 1.4;
}
.title {
color: #72fe63;
}
.desc {
margin-top: -4px;
}
}
.flex-grow {
flex-grow: 1;
}
@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";
2023-08-14 19:55:42 +02:00
.grid-2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
2023-08-25 22:31:19 +02:00
.grid-300px {
2023-08-14 19:55:42 +02:00
display: grid;
2023-08-25 22:31:19 +02:00
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
2023-08-14 19:55:42 +02:00
}
.gap-2 {
gap: 0.75rem;
}
.gap-3 {
gap: 1rem;
}