freehold-cottage/_sass/site.scss

439 lines
8.2 KiB
SCSS
Raw Normal View History

2022-11-11 04:16:46 +00:00
@charset "utf-8";
// Define defaults for each variable.
2022-11-11 04:31:56 +00:00
$highlight: #005555 !default;
$text: #003636 !default;
$header: #005500 !default;
$icons: #005500;
$light-bg: #C9E4CA !default;
2022-11-11 04:16:46 +00:00
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$fancy-font: "Roboto Condensed", sans-serif !default;
@import "bootstrap/functions";
@import "bootstrap/variables";
@import "bootstrap/mixins";
//@import "bootstrap/root";
@import "bootstrap/reboot";
@import "bootstrap/type";
@import "bootstrap/images";
//@import "bootstrap/code";
@import "bootstrap/grid";
//@import "bootstrap/tables";
//@import "bootstrap/forms";
//@import "bootstrap/buttons";
//@import "bootstrap/transitions";
//@import "bootstrap/dropdown";
//@import "bootstrap/button-group";
//@import "bootstrap/input-group";
//@import "bootstrap/custom-forms";
@import "bootstrap/nav";
@import "bootstrap/navbar";
//@import "bootstrap/card";
//@import "bootstrap/breadcrumb";
//@import "bootstrap/pagination";
//@import "bootstrap/badge";
//@import "bootstrap/jumbotron";
//@import "bootstrap/alert";
//@import "bootstrap/progress";
//@import "bootstrap/media";
//@import "bootstrap/list-group";
//@import "bootstrap/close";
//@import "bootstrap/modal";
//@import "bootstrap/tooltip";
//@import "bootstrap/popover";
//@import "bootstrap/carousel";@import "utilities/align";
// @import "bootstrap/utilities/background";
// @import "bootstrap/utilities/borders";
// @import "bootstrap/utilities/clearfix";
// @import "bootstrap/utilities/display";
@import "bootstrap/utilities/embed";
@import "bootstrap/utilities/flex";
// @import "bootstrap/utilities/float";
@import "bootstrap/utilities/position";
// @import "bootstrap/utilities/screenreaders";
// @import "bootstrap/utilities/sizing";
// @import "bootstrap/utilities/spacing";
@import "bootstrap/utilities/text";
// @import "bootstrap/utilities/visibility";
@import "bootstrap/print";
/* roboto-condensed-regular - latin */
@font-face {
font-family: "Roboto Condensed";
font-style: normal;
font-weight: 400;
2023-11-02 11:51:09 +00:00
src: url("/assets/fonts/roboto-condensed.eot");
/* IE9 Compat Modes */
2022-11-11 04:16:46 +00:00
src: local("Roboto Condensed"), local("RobotoCondensed-Regular"),
2023-11-02 11:51:09 +00:00
url("/assets/fonts/roboto-condensed.eot?#iefix") format("embedded-opentype"),
/* IE6-IE8 */
url("/assets/fonts/roboto-condensed.woff2") format("woff2"),
/* Super Modern Browsers */
url("/assets/fonts/roboto-condensed.woff") format("woff"),
/* Modern Browsers */
url("/assets/fonts/roboto-condensed.ttf") format("truetype"),
2022-11-11 04:16:46 +00:00
/* Safari, Android, iOS */
2023-11-02 11:51:09 +00:00
url("/assets/fonts/roboto-condensed.svg#RobotoCondensed") format("svg");
/* Legacy iOS */
2022-11-11 04:16:46 +00:00
}
body {
background: url("/assets/flower-background.png") repeat center center fixed;
color: $text;
}
h1,
h2,
h3,
h4,
h5,
nav {
font-family: $fancy-font;
}
hr {
border-top: 1px solid $text;
margin-bottom: 2rem;
margin-top: 2rem;
}
nav,
footer {
//background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkmAkAAJ8AmzsOXcYAAAAASUVORK5CYII=);
background: $light-bg;
}
main .container {
background: white;
}
.hidden {
&-xs {
@include media-breakpoint-down(xs) {
display: none;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&-sm {
@include media-breakpoint-down(sm) {
display: none;
}
}
}
.navbar {
a {
color: $header;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
.navbar-brand {
font-size: 130%;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&__link {
font-size: 1.2rem;
margin-right: 1.2rem;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&:hover,
&.active,
&:active {
color: $highlight;
text-decoration: none;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&__icon {
color: $icons;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&--smaller {
font-size: 1rem;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
@include media-breakpoint-down(sm) {
text-align: center;
.container {
display: block;
}
}
}
main {
padding: 80px 0 90px;
line-height: 1.8;
color: $text;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
.container {
padding-top: 15px;
padding-bottom: 15px;
border-radius: 10px;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
@include media-breakpoint-down(sm) {
padding-top: 110px;
}
}
.header {
border-bottom: 1px solid $text;
margin-bottom: 2rem;
padding-bottom: 1rem;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&__text {
color: $header;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&__subtitle {
opacity: 0.7;
margin-left: 1rem;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
@include media-breakpoint-down(md) {
text-align: center;
&__subtitle {
display: block;
font-size: 50%;
}
}
}
.margin {
&--top {
margin-top: 60px;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&--bottom {
margin-bottom: 60px;
}
}
hr {
border-top-color: #eee;
}
.page {
&__banner {
margin-bottom: 1rem;
position: relative;
border-radius: 5px;
overflow: hidden;
img {
display: block;
max-width: 100%;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
strong {
color: $highlight;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
a {
text-decoration: underline;
}
2023-11-02 11:51:09 +00:00
h1,
h2,
h3,
h4,
h5,
h6 {
2022-11-11 04:16:46 +00:00
color: $header;
2022-11-11 04:31:56 +00:00
scroll-margin-top: 60px;
2023-11-02 11:51:09 +00:00
2022-11-11 04:31:56 +00:00
@include media-breakpoint-down(md) {
scroll-margin-top: 80px;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:31:56 +00:00
@include media-breakpoint-down(md) {
scroll-margin-top: 90px;
}
2022-11-11 04:16:46 +00:00
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
h2 {
padding-top: 30px;
padding-bottom: 10px;
margin-top: 0;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
i {
width: 3em;
opacity: 0.3;
text-align: center;
font-size: 90%;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
blockquote {
padding-left: 1rem;
font-style: italic;
border-left: 0.3rem solid $icons;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&--menu {
text-align: center;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
em {
color: #1cb81c;
font-style: normal;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
ul {
list-style-type: none;
padding: 0;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
table {
min-width: 300px;
margin: 1rem auto;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
thead {
background: $light-bg;
}
2023-11-02 11:51:09 +00:00
td,
th {
2022-11-11 04:16:46 +00:00
padding: 0.2rem 0.5rem;
text-align: center;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
@include media-breakpoint-down(sm) {
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
h1,
h2,
h3 {
text-align: center;
}
}
}
.homepage-banner {
img {
width: 100%;
display: block;
border-radius: 3px;
overflow: hidden;
margin-bottom: 10px;
}
}
.news-images {
a {
position: relative;
border: 2px solid white;
background-size: cover;
background-position: center;
border-radius: 3px;
overflow: hidden;
display: inline-block;
width: 150px;
height: 100px;
margin: 0 10px 10px 0;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&:hover {
border: 2px solid $green;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
@include media-breakpoint-down(sm) {
display: block;
width: 48%;
padding: 0;
height: 0;
padding-top: 50%;
margin: 0 1% 10px;
float: left;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
&::after {
display: block;
2023-11-02 11:51:09 +00:00
clear: both;
2022-11-11 04:16:46 +00:00
}
}
.embed-reviews {
padding: 10px;
background: white;
border-radius: 5px;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
.widSSP {
margin: 0px auto !important;
width: auto !important;
}
}
2023-11-02 11:51:09 +00:00
.social-links,
.contact-links {
2022-11-11 04:16:46 +00:00
list-style-type: none;
padding: 0;
margin-top: 2em;
&__icon {
color: $icons;
width: 2em;
text-align: center;
display: inline-block;
opacity: 0.7;
position: absolute;
left: 0;
top: 0;
}
&__list {
position: relative;
padding: 0 0 0 2em;
min-height: 2em;
}
}
2022-11-11 04:31:56 +00:00
.gallery {
a {
overflow: hidden;
border-radius: 5px;
display: block;
2023-11-02 11:51:09 +00:00
2022-11-11 04:31:56 +00:00
&:hover {
cursor: pointer;
outline: 2px solid $icons;
}
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:31:56 +00:00
img {
display: block;
width: 100%;
}
2023-11-02 11:51:09 +00:00
2022-11-11 04:31:56 +00:00
.col-3 {
margin-top: 15px;
margin-bottom: 15px;
}
}
2022-11-11 04:16:46 +00:00
footer {
padding: 4rem 0;
font-size: 80%;
text-align: center;
2023-11-02 11:51:09 +00:00
2022-11-11 04:16:46 +00:00
ul {
list-style-type: none;
padding-left: 0;
}
}
2023-11-02 11:51:09 +00:00
.scores-doors {
display: block;
a {
display: block;
margin: 10px auto;
max-width: fit-content;
img {
max-width: 100%;
}
}
}