more tweaks
This commit is contained in:
parent
e60f5cae42
commit
555d2c4fc1
|
@ -35,8 +35,15 @@ Containers are an immediate child <div>, purely for constraining width.
|
||||||
padding: 0 1em; /* and we apply a horizontal padding only to containers */
|
padding: 0 1em; /* and we apply a horizontal padding only to containers */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure consistent colors for text selection */
|
/* Ensure consistent colors for text selection and element focus */
|
||||||
::selection {
|
::selection {
|
||||||
background: var(--primary-accent);
|
background: var(--primary-accent);
|
||||||
color: var(--primary-accent-text);
|
color: var(--primary-accent-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*:focus {
|
||||||
|
border-radius: 2px;
|
||||||
|
text-decoration: none;
|
||||||
|
outline: 1px dashed var(--ui-text);
|
||||||
|
outline-offset: 4px;
|
||||||
|
}
|
43
assets/styles/common/reset.scss
Normal file
43
assets/styles/common/reset.scss
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
*, *::before, *::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
line-height: 1.5;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
|
||||||
|
p, h1, h2, h3, h4, h5, h6 {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
img, picture, video, canvas, svg,
|
||||||
|
article, aside, details, figcaption, figure,
|
||||||
|
footer, header, hgroup, menu, nav, section {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
input, button, textarea, select {
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol, ul {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote, q {
|
||||||
|
quotes: none;
|
||||||
|
}
|
||||||
|
blockquote:before, blockquote:after,
|
||||||
|
q:before, q:after {
|
||||||
|
content: '';
|
||||||
|
content: none;
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
.content {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
|
@import "common/reset";
|
||||||
@import "common/colors";
|
@import "common/colors";
|
||||||
@import "common/base";
|
@import "common/base";
|
||||||
@import "common/content";
|
@import "common/content";
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
@import "common/reset";
|
||||||
@import "common/colors";
|
@import "common/colors";
|
||||||
@import "common/base";
|
@import "common/base";
|
||||||
@import "common/content";
|
@import "common/content";
|
||||||
|
|
|
@ -10,11 +10,8 @@ a:visited {
|
||||||
color: var(--link-visited);
|
color: var(--link-visited);
|
||||||
}
|
}
|
||||||
|
|
||||||
*:focus {
|
a:focus {
|
||||||
border-radius: 2px;
|
|
||||||
text-decoration: none;
|
|
||||||
outline: 1px dashed var(--ui-text);
|
|
||||||
outline-offset: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
src="{{ $script.Permalink }}"
|
src="{{ $script.Permalink }}"
|
||||||
integrity="{{ $script.Data.Integrity }}">
|
integrity="{{ $script.Data.Integrity }}">
|
||||||
</script>
|
</script>
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
|
|
||||||
{{ partial "seo.html" . }}
|
{{ partial "seo.html" . }}
|
||||||
{{ partial "styles/external-links.html" . }}
|
{{ partial "styles/external-links.html" . }}
|
||||||
{{ block "head" . }}
|
{{ block "head" . }}
|
||||||
|
|
Loading…
Reference in a new issue