Just commit all of family home before editing 'cause i just accidentally overwrote gaeastohuaosneuh
This commit is contained in:
parent
18bba535b4
commit
84de7930cb
64 changed files with 15325 additions and 0 deletions
31
web/themes/custom/geofresco/src/global/_base.scss
Normal file
31
web/themes/custom/geofresco/src/global/_base.scss
Normal file
|
@ -0,0 +1,31 @@
|
|||
@charset "utf-8";
|
||||
|
||||
// Set our custom font for headers
|
||||
.title,
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content h3,
|
||||
.content h4,
|
||||
.content h5,
|
||||
.content h6 {
|
||||
font-family: $family-serif;
|
||||
}
|
||||
|
||||
// Prevent images from being larger than their Drupal-set size
|
||||
.image.no-upscale img {
|
||||
width: intrinsic; /* Safari/WebKit uses a non-standard name */
|
||||
width: -moz-max-content; /* Firefox/Gecko */
|
||||
width: -webkit-max-content; /* Chrome */
|
||||
}
|
||||
|
||||
// Style the wordmark (logo)
|
||||
.navbar-item .wordmark {
|
||||
max-height: 3rem; // 4rem
|
||||
}
|
||||
|
||||
$navbar-item-img-max-height: 3rem;
|
||||
|
||||
.navbar-item .wordmark img {
|
||||
height: 100%;
|
||||
width: auto;
|
||||
}
|
15
web/themes/custom/geofresco/src/global/_components.scss
Normal file
15
web/themes/custom/geofresco/src/global/_components.scss
Normal file
|
@ -0,0 +1,15 @@
|
|||
@charset "UTF-8";
|
||||
// Extend or override Bulma's components,
|
||||
// ../../node_modules/bulma/sass/components
|
||||
|
||||
// Make menu items slightly less far apart so we never entirely lose
|
||||
// 'Community' on mid-size screens.
|
||||
// See https://gitlab.com/drutopia/octavia/issues/52
|
||||
.navbar-item, .navbar-link {
|
||||
padding-left: .75rem;
|
||||
padding-right: .75rem;
|
||||
@include from($widescreen) {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
25
web/themes/custom/geofresco/src/global/_elements.scss
Normal file
25
web/themes/custom/geofresco/src/global/_elements.scss
Normal file
|
@ -0,0 +1,25 @@
|
|||
@charset "UTF-8";
|
||||
// Extend or override Bulma's elements ../../node_modules/bulma/sass/elements
|
||||
|
||||
// Style the slogan shown at the top of each page
|
||||
.slogan.title {
|
||||
color: $red;
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
display: inline-block;
|
||||
margin-top: 0.8rem; // 1.2rem
|
||||
margin-left: 0.6rem; // 0.8rem
|
||||
}
|
||||
|
||||
.hero.is-primary .family-home-branding__front {
|
||||
padding: .5rem .75rem;
|
||||
background-color: white;
|
||||
.column {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.slogan.title {
|
||||
margin-top: 0;
|
||||
color: $red;
|
||||
}
|
||||
}
|
46
web/themes/custom/geofresco/src/global/_fonts.scss
Normal file
46
web/themes/custom/geofresco/src/global/_fonts.scss
Normal file
|
@ -0,0 +1,46 @@
|
|||
$family-serif: "Pagella", "Palatino", "Bookman", "Bookman Old Style", "Garamond", "Georgia", "Times", "Times New Roman", serif !default
|
||||
|
||||
@font-face {
|
||||
font-family: 'Pagella';
|
||||
src: url('../../fonts/texgyrepagella-regular-webfont.eot');
|
||||
src: url('../../fonts/texgyrepagella-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/texgyrepagella-regular-webfont.woff') format('woff'),
|
||||
url('../../fonts/texgyrepagella-regular-webfont.ttf') format('truetype'),
|
||||
url('../../fonts/texgyrepagella-regular-webfont.svg#tex_gyre_pagellaregular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Pagella';
|
||||
src: url('../../fonts/texgyrepagella-bold-webfont.eot');
|
||||
src: url('../../fonts/texgyrepagella-bold-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/texgyrepagella-bold-webfont.woff') format('woff'),
|
||||
url('../../fonts/texgyrepagella-bold-webfont.ttf') format('truetype'),
|
||||
url('../../fonts/texgyrepagella-bold-webfont.svg#tex_gyre_pagellabold') format('svg');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Pagella';
|
||||
src: url('../../fonts/texgyrepagella-italic-webfont.eot');
|
||||
src: url('../../fonts/texgyrepagella-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/texgyrepagella-italic-webfont.woff') format('woff'),
|
||||
url('../../fonts/texgyrepagella-italic-webfont.ttf') format('truetype'),
|
||||
url('../../fonts/texgyrepagella-italic-webfont.svg#tex_gyre_pagellaitalic') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Pagella';
|
||||
src: url('../../fonts/texgyrepagella-bolditalic-webfont.eot');
|
||||
src: url('../../fonts/texgyrepagella-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../../fonts/texgyrepagella-bolditalic-webfont.woff') format('woff'),
|
||||
url('../../fonts/texgyrepagella-bolditalic-webfont.ttf') format('truetype'),
|
||||
url('../../fonts/texgyrepagella-bolditalic-webfont.svg#tex_gyre_pagellabold_italic') format('svg'
|
||||
);
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
3
web/themes/custom/geofresco/src/global/_grid.scss
Normal file
3
web/themes/custom/geofresco/src/global/_grid.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
@charset "UTF-8";
|
||||
// Extend or override Bulma's grid ../../node_modules/bulma/sass/grid
|
||||
|
6
web/themes/custom/geofresco/src/global/_layout.scss
Normal file
6
web/themes/custom/geofresco/src/global/_layout.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
// Extend or override Bulma's layouts ../../node_modules/bulma/sass/layout
|
||||
|
||||
.hero-body {
|
||||
padding: 2rem 1.5rem;
|
||||
}
|
28
web/themes/custom/geofresco/src/global/global.scss
Normal file
28
web/themes/custom/geofresco/src/global/global.scss
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Bring in Bulma allowing us to extend and override it.
|
||||
|
||||
// Set brand colors.
|
||||
$blue: #4391E0;
|
||||
$red: #a70c20;
|
||||
|
||||
// Update Bulma's global variables.
|
||||
$primary: $blue;
|
||||
|
||||
// Import each part of Bulma separately so we can layer in our styles.
|
||||
// Extend or override Bulam's base styles in this themes base.scss etc.
|
||||
@import "../../node_modules/bulma/sass/utilities/_all";
|
||||
@import "fonts";
|
||||
@import "../../node_modules/bulma/sass/base/_all";
|
||||
@import "base";
|
||||
@import "../../node_modules/bulma/sass/elements/_all";
|
||||
@import "elements";
|
||||
@import "../../node_modules/bulma/sass/components/_all";
|
||||
@import "components";
|
||||
@import "../../node_modules/bulma/sass/grid/_all";
|
||||
@import "grid";
|
||||
@import "../../node_modules/bulma/sass/layout/_all";
|
||||
@import "layout";
|
||||
|
||||
// You can add final styles below or import another Sass or SCSS stylesheet here
|
||||
// and it will have access to Bulma variables and mixins.
|
||||
|
||||
@import '../../node_modules/bulma-extensions/bulma-timeline/dist/bulma-timeline';
|
7
web/themes/custom/geofresco/src/global/overrides.scss
Normal file
7
web/themes/custom/geofresco/src/global/overrides.scss
Normal file
|
@ -0,0 +1,7 @@
|
|||
.navbar > .container > .navbar-brand {
|
||||
margin-left: inherit;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding-top: 1.5rem;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue