provide empty _custom... scss files for overwritin in site, put theme-specific stuff in _cybercards... files

This commit is contained in:
Helmut Merz 2022-02-19 17:32:01 +01:00
parent ece34571b5
commit 028d429588
5 changed files with 67 additions and 52 deletions

View file

@ -1,7 +1,5 @@
// custom-vars.scss // _custom-vars.scss
// set scss variable defaults //
// copy this to the corresponding folder of your site
$grid-gutter-width: 15px; // and set scss variables according to your needs
//
$link-decoration: none;

View file

@ -1,44 +1,6 @@
// styles // _custom.scss
//
// copy this to the corresponding folder of your site
// and set styles according to your needs
//
.pagination {
display: flex;
justify-content: center;
}
.nav-link {
font-size: 130%;
}
.nav-link.active {
font-weight: bold;
}
code {
color: $purple;
}
p {
font-family: $font-family-sans-serif;
}
p:last-child, ul:last-child {
margin-bottom: 0;
}
.badge a {
color: $white;
font-weight: bold;
}
// shortcode quote
.quote {
font-size: 90%;
padding-top: 1rem;
padding-bottom: 1rem;
}
.quote-author {
padding-top: 0.3rem;
padding-bottom: 0.3rem;
}

View file

@ -0,0 +1,7 @@
// _cybercards-vars.scss
// set theme-specific scss variable defaults
$grid-gutter-width: 15px;
$link-decoration: none;

View file

@ -0,0 +1,46 @@
// _cybercards.scss
// set theme-specific styles
//
.pagination {
display: flex;
justify-content: center;
}
.nav-link {
font-size: 130%;
}
.nav-link.active {
font-weight: bold;
}
code {
color: $purple;
}
p {
font-family: $font-family-sans-serif;
}
p:last-child, ul:last-child {
margin-bottom: 0;
}
.badge a {
color: $white;
font-weight: bold;
}
// shortcode quote
.quote {
font-size: 90%;
padding-top: 1rem;
padding-bottom: 1rem;
}
.quote-author {
padding-top: 0.3rem;
padding-bottom: 0.3rem;
}

View file

@ -1,9 +1,11 @@
// Import partials from `sass_dir` (defaults to `_sass`) // Import partials from `sass_dir` (defaults to `_sass`)
@import @import
"cybercards-vars",
"custom-vars", "custom-vars",
"litera", "litera",
"../../../common/bootstrap/scss/bootstrap", "../../../common/bootstrap/scss/bootstrap",
"bootswatch-5", "bootswatch-5",
"custom", "syntax-tango",
"syntax-tango" "cybercards",
"custom"
; ;