Implement new css.Build.
This commit is contained in:
parent
5ca43e14d3
commit
d984bcaf5d
45 changed files with 1681 additions and 1695 deletions
|
|
@ -13,6 +13,7 @@ rules:
|
||||||
- stylelint-commands
|
- stylelint-commands
|
||||||
- after-comment
|
- after-comment
|
||||||
hue-degree-notation: number
|
hue-degree-notation: number
|
||||||
|
import-notation: null
|
||||||
keyframes-name-pattern:
|
keyframes-name-pattern:
|
||||||
- "--.+"
|
- "--.+"
|
||||||
- message: Keyframe name should be written as <dashed-ident>
|
- message: Keyframe name should be written as <dashed-ident>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
/* Override css variables in "assets/css/_custom.css" */
|
/* Override css variables in "assets/css/_custom.css" */
|
||||||
|
|
||||||
@layer vars {
|
|
||||||
:root {
|
:root {
|
||||||
/* Base colours. */
|
/* Base colours. */
|
||||||
--color-black: oklch(1% 0.01 0);
|
--color-black: oklch(1% 0.01 0);
|
||||||
|
|
@ -96,4 +95,3 @@
|
||||||
--color-highlight: var(--color-brand-alt);
|
--color-highlight: var(--color-brand-alt);
|
||||||
--color-mark-highlight: var(--color-red);
|
--color-mark-highlight: var(--color-red);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,3 @@ used in any ruleset using a property like this: font-family: Example, serif;
|
||||||
|
|
||||||
The fonts layer is loaded early to minimize front-end performance impact.
|
The fonts layer is loaded early to minimize front-end performance impact.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@layer fonts {
|
|
||||||
/* Add your fonts here. */
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
@layer vars {
|
|
||||||
:root {
|
:root {
|
||||||
/* Set theme css variables.
|
/* Set theme css variables.
|
||||||
Override css variables in "assets/css/_custom.css" */
|
Override css variables in "assets/css/_custom.css" */
|
||||||
|
|
@ -122,4 +121,3 @@
|
||||||
/* The pt font-size to be used for printing. */
|
/* The pt font-size to be used for printing. */
|
||||||
--print-font-size: 12pt;
|
--print-font-size: 12pt;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Zen custom styles */
|
/* Zen custom styles */
|
||||||
|
|
||||||
@layer zen {
|
|
||||||
/* Page */
|
/* Page */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
@ -204,4 +203,3 @@
|
||||||
background-color: var(--color-warning-bg);
|
background-color: var(--color-warning-bg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Document */
|
/* Document */
|
||||||
|
|
||||||
@layer base {
|
|
||||||
html {
|
html {
|
||||||
/* Change the default font family in all browsers. */
|
/* Change the default font family in all browsers. */
|
||||||
font-family: var(--ff-body);
|
font-family: var(--ff-body);
|
||||||
|
|
@ -19,4 +18,4 @@
|
||||||
/* Accent colour for forms. */
|
/* Accent colour for forms. */
|
||||||
accent-color: var(--color-accent);
|
accent-color: var(--color-accent);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Form defaults. */
|
/* Form defaults. */
|
||||||
|
|
||||||
@layer base {
|
|
||||||
form {
|
form {
|
||||||
/* Add vertical rhythm margins. */
|
/* Add vertical rhythm margins. */
|
||||||
margin-block: 0 var(--spacing-m);
|
margin-block: 0 var(--spacing-m);
|
||||||
|
|
@ -86,4 +85,3 @@
|
||||||
textarea:not([rows]) {
|
textarea:not([rows]) {
|
||||||
min-height: 7lh;
|
min-height: 7lh;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Grouping content */
|
/* Grouping content */
|
||||||
|
|
||||||
@layer base {
|
|
||||||
/* Block quotes */
|
/* Block quotes */
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
|
@ -104,4 +103,3 @@
|
||||||
samp {
|
samp {
|
||||||
color: var(--color-code);
|
color: var(--color-code);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
All HTML headings, `<h1>` through `<h6>`, are available. */
|
All HTML headings, `<h1>` through `<h6>`, are available. */
|
||||||
|
|
||||||
@layer base {
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
|
@ -56,4 +55,3 @@ All HTML headings, `<h1>` through `<h6>`, are available. */
|
||||||
h6 {
|
h6 {
|
||||||
font-size: var(--fs-xs);
|
font-size: var(--fs-xs);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Figure and image. */
|
/* Figure and image. */
|
||||||
|
|
||||||
@layer base {
|
|
||||||
figure,
|
figure,
|
||||||
img {
|
img {
|
||||||
&.image {
|
&.image {
|
||||||
|
|
@ -86,4 +85,3 @@
|
||||||
margin-block: 0 var(--spacing-m);
|
margin-block: 0 var(--spacing-m);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
|
||||||
:focus - A link that has been given keyboard focus.
|
:focus - A link that has been given keyboard focus.
|
||||||
:active - A link that is being actively clicked. */
|
:active - A link that is being actively clicked. */
|
||||||
|
|
||||||
@layer base {
|
|
||||||
a {
|
a {
|
||||||
color: var(--color-link);
|
color: var(--color-link);
|
||||||
}
|
}
|
||||||
|
|
@ -78,4 +77,3 @@ http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Tables */
|
/* Tables */
|
||||||
|
|
||||||
@layer base {
|
|
||||||
table {
|
table {
|
||||||
/* Add vertical rhythm margins. */
|
/* Add vertical rhythm margins. */
|
||||||
margin-block: 0 var(--spacing-m);
|
margin-block: 0 var(--spacing-m);
|
||||||
|
|
@ -31,4 +30,3 @@
|
||||||
/* Align all text the same. */
|
/* Align all text the same. */
|
||||||
text-align: start;
|
text-align: start;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Anchor */
|
/* Anchor */
|
||||||
|
|
||||||
@layer components {
|
|
||||||
.anchor {
|
.anchor {
|
||||||
--anchor-gap: .5rem;
|
--anchor-gap: .5rem;
|
||||||
--anchor-opacity: .4;
|
--anchor-opacity: .4;
|
||||||
|
|
@ -33,4 +32,3 @@
|
||||||
p:has(+ .anchor) {
|
p:has(+ .anchor) {
|
||||||
margin-block-end: 0;
|
margin-block-end: 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Box */
|
/* Box */
|
||||||
|
|
||||||
@layer components {
|
|
||||||
.box {
|
.box {
|
||||||
/* Add vertical rhythm margins. */
|
/* Add vertical rhythm margins. */
|
||||||
margin-block: var(--spacing-m);
|
margin-block: var(--spacing-m);
|
||||||
|
|
@ -63,4 +62,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
/* Button */
|
/* Button */
|
||||||
|
|
||||||
@layer components {
|
|
||||||
.button,
|
.button,
|
||||||
[type='button'],
|
[type='button'],
|
||||||
[type='submit'] {
|
[type='submit'] {
|
||||||
|
|
@ -106,4 +105,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
A simple cards style. */
|
A simple cards style. */
|
||||||
|
|
||||||
@layer components {
|
|
||||||
.cards {
|
.cards {
|
||||||
--grid-group-column-min: 200px;
|
--grid-group-column-min: 200px;
|
||||||
--grid-group-gap: 1.5rem;
|
--grid-group-gap: 1.5rem;
|
||||||
|
|
@ -67,4 +66,3 @@ A simple cards style. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
@layer components {
|
|
||||||
.grid-center {
|
.grid-center {
|
||||||
display: grid;
|
display: grid;
|
||||||
place-content: center;
|
place-content: center;
|
||||||
|
|
@ -11,4 +10,3 @@
|
||||||
.margin-center {
|
.margin-center {
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
Allows the bottom of an element to extend to the bottom of all floated child
|
Allows the bottom of an element to extend to the bottom of all floated child
|
||||||
elements. See http://nicolasgallagher.com/micro-clearfix-hack/ */
|
elements. See http://nicolasgallagher.com/micro-clearfix-hack/ */
|
||||||
|
|
||||||
@layer components {
|
|
||||||
.clearfix {
|
.clearfix {
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
|
|
@ -16,4 +15,3 @@ elements. See http://nicolasgallagher.com/micro-clearfix-hack/ */
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Cookieconsent */
|
/* Cookieconsent */
|
||||||
|
|
||||||
@layer components {
|
|
||||||
.cookieconsent {
|
.cookieconsent {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: wrap;
|
flex-flow: wrap;
|
||||||
|
|
@ -31,4 +30,3 @@
|
||||||
[data-cookieconsentopen] {
|
[data-cookieconsentopen] {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
@layer components {
|
|
||||||
.disabled {
|
.disabled {
|
||||||
/* Re-set default cursor for disabled elements. */
|
/* Re-set default cursor for disabled elements. */
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
@ -12,4 +11,3 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue