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
|
||||
- after-comment
|
||||
hue-degree-notation: number
|
||||
import-notation: null
|
||||
keyframes-name-pattern:
|
||||
- "--.+"
|
||||
- message: Keyframe name should be written as <dashed-ident>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
/* Override css variables in "assets/css/_custom.css" */
|
||||
|
||||
@layer vars {
|
||||
:root {
|
||||
/* Base colours. */
|
||||
--color-black: oklch(1% 0.01 0);
|
||||
|
|
@ -96,4 +95,3 @@
|
|||
--color-highlight: var(--color-brand-alt);
|
||||
--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.
|
||||
*/
|
||||
|
||||
@layer fonts {
|
||||
/* Add your fonts here. */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
@layer vars {
|
||||
:root {
|
||||
/* Set theme css variables.
|
||||
Override css variables in "assets/css/_custom.css" */
|
||||
|
|
@ -122,4 +121,3 @@
|
|||
/* The pt font-size to be used for printing. */
|
||||
--print-font-size: 12pt;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Zen custom styles */
|
||||
|
||||
@layer zen {
|
||||
/* Page */
|
||||
|
||||
body {
|
||||
|
|
@ -204,4 +203,3 @@
|
|||
background-color: var(--color-warning-bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Document */
|
||||
|
||||
@layer base {
|
||||
html {
|
||||
/* Change the default font family in all browsers. */
|
||||
font-family: var(--ff-body);
|
||||
|
|
@ -19,4 +18,4 @@
|
|||
/* Accent colour for forms. */
|
||||
accent-color: var(--color-accent);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Form defaults. */
|
||||
|
||||
@layer base {
|
||||
form {
|
||||
/* Add vertical rhythm margins. */
|
||||
margin-block: 0 var(--spacing-m);
|
||||
|
|
@ -86,4 +85,3 @@
|
|||
textarea:not([rows]) {
|
||||
min-height: 7lh;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Grouping content */
|
||||
|
||||
@layer base {
|
||||
/* Block quotes */
|
||||
|
||||
blockquote {
|
||||
|
|
@ -104,4 +103,3 @@
|
|||
samp {
|
||||
color: var(--color-code);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
All HTML headings, `<h1>` through `<h6>`, are available. */
|
||||
|
||||
@layer base {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
|
@ -56,4 +55,3 @@ All HTML headings, `<h1>` through `<h6>`, are available. */
|
|||
h6 {
|
||||
font-size: var(--fs-xs);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Figure and image. */
|
||||
|
||||
@layer base {
|
||||
figure,
|
||||
img {
|
||||
&.image {
|
||||
|
|
@ -86,4 +85,3 @@
|
|||
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.
|
||||
:active - A link that is being actively clicked. */
|
||||
|
||||
@layer base {
|
||||
a {
|
||||
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 */
|
||||
|
||||
@layer base {
|
||||
table {
|
||||
/* Add vertical rhythm margins. */
|
||||
margin-block: 0 var(--spacing-m);
|
||||
|
|
@ -31,4 +30,3 @@
|
|||
/* Align all text the same. */
|
||||
text-align: start;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Anchor */
|
||||
|
||||
@layer components {
|
||||
.anchor {
|
||||
--anchor-gap: .5rem;
|
||||
--anchor-opacity: .4;
|
||||
|
|
@ -33,4 +32,3 @@
|
|||
p:has(+ .anchor) {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Box */
|
||||
|
||||
@layer components {
|
||||
.box {
|
||||
/* Add vertical rhythm margins. */
|
||||
margin-block: var(--spacing-m);
|
||||
|
|
@ -63,4 +62,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
/* Button */
|
||||
|
||||
@layer components {
|
||||
.button,
|
||||
[type='button'],
|
||||
[type='submit'] {
|
||||
|
|
@ -106,4 +105,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
A simple cards style. */
|
||||
|
||||
@layer components {
|
||||
.cards {
|
||||
--grid-group-column-min: 200px;
|
||||
--grid-group-gap: 1.5rem;
|
||||
|
|
@ -67,4 +66,3 @@ A simple cards style. */
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
@layer components {
|
||||
.grid-center {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
|
|
@ -11,4 +10,3 @@
|
|||
.margin-center {
|
||||
margin-inline: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
Allows the bottom of an element to extend to the bottom of all floated child
|
||||
elements. See http://nicolasgallagher.com/micro-clearfix-hack/ */
|
||||
|
||||
@layer components {
|
||||
.clearfix {
|
||||
&::before {
|
||||
content: '';
|
||||
|
|
@ -16,4 +15,3 @@ elements. See http://nicolasgallagher.com/micro-clearfix-hack/ */
|
|||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Cookieconsent */
|
||||
|
||||
@layer components {
|
||||
.cookieconsent {
|
||||
display: flex;
|
||||
flex-flow: wrap;
|
||||
|
|
@ -31,4 +30,3 @@
|
|||
[data-cookieconsentopen] {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
@layer components {
|
||||
.disabled {
|
||||
/* Re-set default cursor for disabled elements. */
|
||||
cursor: default;
|
||||
|
|
@ -12,4 +11,3 @@
|
|||
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