vegan-prestwich/style/style.scss

186 lines
2.4 KiB
SCSS
Raw Normal View History

2022-11-25 00:54:51 +00:00
@charset "utf-8";
2022-11-27 23:45:57 +00:00
@import "minima/initialize";
2022-11-25 00:54:51 +00:00
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2024-03-25 19:45:59 +00:00
$base-font-size: 16px;
2022-11-25 00:54:51 +00:00
$base-font-weight: 400;
2024-03-25 19:45:59 +00:00
$small-font-size: $base-font-size * 0.875;
2022-11-25 00:54:51 +00:00
$base-line-height: 1.5;
2024-03-25 19:45:59 +00:00
$spacing-unit: 30px;
2022-11-25 00:54:51 +00:00
2024-03-25 19:45:59 +00:00
$text-color: #111;
2022-11-25 00:54:51 +00:00
$background-color: #fdfdfd;
2024-04-14 22:13:53 +00:00
$brand-color: #20399d;
2022-11-25 00:54:51 +00:00
2024-04-14 22:13:53 +00:00
$green: #00d13d;
2024-03-25 19:45:59 +00:00
$grey-color: #828282;
2022-11-25 00:54:51 +00:00
$grey-color-light: lighten($grey-color, 40%);
2024-03-25 19:45:59 +00:00
$grey-color-dark: darken($grey-color, 25%);
2022-11-25 00:54:51 +00:00
2024-03-25 19:45:59 +00:00
$content-width: 1000px;
2022-11-25 00:54:51 +00:00
2024-03-25 19:45:59 +00:00
$on-palm: 600px;
$on-laptop: 800px;
2022-11-25 00:54:51 +00:00
2022-11-27 23:45:57 +00:00
html {
2024-04-14 22:13:53 +00:00
font-size: $base-font-size;
2022-11-27 23:45:57 +00:00
}
2022-11-25 00:54:51 +00:00
2024-03-25 19:45:59 +00:00
h1,
h2,
h3,
h4 {
2024-04-14 22:13:53 +00:00
border-bottom: 1px solid $grey-color-light;
2022-11-25 00:54:51 +00:00
}
hr {
2024-04-14 22:13:53 +00:00
margin: 2em;
border: 0;
border-top: 1px solid #c8e3d0;
height: 0;
2022-11-25 00:54:51 +00:00
}
2023-03-30 19:32:27 +00:00
ul {
2024-04-14 22:13:53 +00:00
line-height: 180%;
2023-03-30 19:32:27 +00:00
}
2022-11-25 00:54:51 +00:00
.small {
2024-04-14 22:13:53 +00:00
font-size: smaller;
2022-11-25 00:54:51 +00:00
}
2024-12-08 18:50:03 +00:00
a {
text-decoration: underline;
text-decoration-color: #ccc;
}
2022-11-25 00:54:51 +00:00
.places-list {
2024-04-14 22:13:53 +00:00
&--detailed {
color: $grey-color;
2022-11-25 00:54:51 +00:00
2024-04-14 22:13:53 +00:00
li {
margin-bottom: 10px;
2022-11-25 00:54:51 +00:00
2024-04-14 22:13:53 +00:00
p {
margin-bottom: auto;
}
2022-11-25 00:54:51 +00:00
}
2024-04-14 22:13:53 +00:00
}
2024-03-25 19:45:59 +00:00
2024-04-14 22:13:53 +00:00
&__address {
font-size: small;
}
2024-03-25 19:45:59 +00:00
2024-04-14 22:13:53 +00:00
&__contact {
font-size: small;
2024-03-25 19:45:59 +00:00
2024-04-14 22:13:53 +00:00
a {
margin-right: 5px;
2022-11-25 00:54:51 +00:00
}
2024-04-14 22:13:53 +00:00
}
2024-03-25 19:45:59 +00:00
2024-04-14 22:13:53 +00:00
&__tags {
font-size: small;
opacity: 0.6;
}
2022-11-25 00:54:51 +00:00
}
.place-meta {
2024-04-14 22:13:53 +00:00
font-size: 14px;
background: $grey-color-light;
padding: 10px 20px;
border-radius: 5px;
margin: 0 0 10px;
strong {
color: #797;
margin-right: 5px;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
hr {
margin: 10px 0;
}
2022-11-25 00:54:51 +00:00
}
.place-images {
2024-04-14 22:13:53 +00:00
a {
display: inline-block;
width: 150px;
height: 150px;
border: 2px solid white;
overflow: hidden;
margin: 0 10px 10px 0;
&:hover {
border: 2px solid $green;
2022-11-25 00:54:51 +00:00
}
2024-04-14 22:13:53 +00:00
img {
display: block;
width: 150px;
height: 150px;
object-fit: cover;
}
}
2022-11-25 00:54:51 +00:00
}
.place-tags {
2024-04-14 22:13:53 +00:00
color: $grey-color;
2022-11-25 00:54:51 +00:00
}
.contribute {
2024-04-14 22:13:53 +00:00
font-size: 12px;
list-style-type: circle;
2022-11-25 00:54:51 +00:00
}
2024-03-25 19:45:59 +00:00
.avoid-break {
2024-04-14 22:13:53 +00:00
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
2022-11-25 00:54:51 +00:00
}
2024-03-25 19:45:59 +00:00
2022-11-25 00:54:51 +00:00
.site-footer {
2024-04-14 22:13:53 +00:00
text-align: center;
2022-11-25 00:54:51 +00:00
}
2024-03-25 19:45:59 +00:00
.site-header {
2024-04-14 22:13:53 +00:00
border-top: none;
}
2024-03-25 19:45:59 +00:00
2022-11-25 00:54:51 +00:00
@media screen and (min-width: 401px) {
2024-04-14 22:13:53 +00:00
.columns {
column-count: 3;
column-gap: 20px;
}
2022-11-25 00:54:51 +00:00
}
@media screen and (min-width: 801px) {
2024-04-14 22:13:53 +00:00
.place-meta {
float: right;
width: 270px;
margin: 0 0 20px 20px;
}
.row {
display: flex;
flex-wrap: wrap;
& > .col {
flex-grow: 1;
flex-basis: 220px;
margin: 10px;
2022-11-25 00:54:51 +00:00
}
2024-04-14 22:13:53 +00:00
}
2022-11-25 00:54:51 +00:00
2024-04-14 22:13:53 +00:00
.columns {
column-count: 4;
column-gap: 20px;
}
}