pages/assets/styles/mix-twbs.scss

180 lines
2.6 KiB
SCSS
Raw Normal View History

2023-02-09 17:50:14 +00:00
$web-font-path: "/fonts/nunito-sans/index.css";
2023-02-09 17:50:14 +00:00
@import "bootstrap/functions";
@import "bootswatch/lux/variables";
@import "bootstrap/bootstrap";
@import "bootswatch/lux/bootswatch";
2023-02-09 17:52:27 +00:00
$peek-height: 25rem;
2022-12-21 03:14:34 +00:00
.blurred-container {
2023-02-09 17:50:14 +00:00
position: relative;
width: 100%;
min-height: 35vh;
2023-02-09 17:52:27 +00:00
height: $peek-height;
2023-02-09 17:50:14 +00:00
top: 0;
left: 0;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.blurred-container .motto {
color: #fff;
font-size: 76px;
font-weight: 600;
text-align: center;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.33);
text-transform: uppercase;
top: 7.5vh;
z-index: 3;
display: block;
margin: 0 auto;
position: relative;
width: 60%;
height: 0;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.motto h1 {
background: #0000007d;
-webkit-text-stroke: 0.3px $gray-100;
2023-02-09 17:53:29 +00:00
line-height: 1;
2023-02-09 17:50:14 +00:00
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.blurred-container .img-src {
position: fixed;
width: 100%;
min-height: 35vh;
2023-02-09 17:52:27 +00:00
height: $peek-height;
2023-02-09 17:50:14 +00:00
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.list-main {
position: relative;
background-color: #fff;
padding-bottom: calc(1rem + 95px);
padding-top: 1rem;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.footer-contents {
position: relative;
background-color: $gray-200;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
/* Gives me greater control over fonts */
.font-serif {
font-family: Georgia, "Times New Roman", Times, serif;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.font-sans {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.font-mono {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.font-small-caps {
font-variant-caps: small-caps;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.strikethrough {
text-decoration: line-through;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.sfTable {
margin: 0 auto;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.text-align-left {
text-align: left;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.text-align-right {
text-align: right;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.float-left {
float: left;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.float-right {
float: right;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.media-object {
max-height: 100%;
max-width: 100%;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
@media (min-width: 768px) {
.pull-left {
max-width: 25%;
2022-12-21 03:14:34 +00:00
}
2023-02-09 17:50:14 +00:00
.w-md-50 {
width: 50%;
2022-12-21 03:14:34 +00:00
}
2023-02-09 17:50:14 +00:00
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
h1 small {
font-size: 60%;
color: #9a9a9a;
font-weight: 300;
line-height: 1.5;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
h1 {
font-weight: 400;
margin: 30px 0 15px;
}
2022-12-21 03:14:34 +00:00
2023-02-09 17:50:14 +00:00
.dogear {
clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 25%, 75% 0);
}
.fa-stack-top {
vertical-align: top;
}
2023-01-06 00:13:02 +00:00
.table-condensed th {
padding: 0.5rem;
}
.table-condensed td {
padding: 0.5rem;
}
2023-02-09 18:15:03 +00:00
@media (min-width: map-get($grid-breakpoints, md)) {
.fixed-bottom {
left: 25%;
}
.md-max-width-33 {
max-width: 33%;
}
2023-02-09 18:15:03 +00:00
}
2023-04-01 06:15:16 +00:00
.card-link {
white-space: nowrap;
}
.category-button {
position: absolute;
top: 1em;
right: 1em;
display: grid;
}
.card-title {
margin-right: 2.25em;
}
.thumb-icon-wrapper {
display: flex;
justify-content: center;
}
.thumb-icon-badge {
font-size: xx-large;
}