more tweaks

This commit is contained in:
a 2022-12-24 04:25:29 -06:00
parent e60f5cae42
commit 555d2c4fc1
7 changed files with 58 additions and 7 deletions

View file

@ -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 */
}
/* Ensure consistent colors for text selection */
/* Ensure consistent colors for text selection and element focus */
::selection {
background: var(--primary-accent);
color: var(--primary-accent-text);
}
*:focus {
border-radius: 2px;
text-decoration: none;
outline: 1px dashed var(--ui-text);
outline-offset: 4px;
}

View 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;
}

View file

@ -0,0 +1,3 @@
.content {
padding-top: 0;
}

View file

@ -1,3 +1,4 @@
@import "common/reset";
@import "common/colors";
@import "common/base";
@import "common/content";

View file

@ -1,3 +1,4 @@
@import "common/reset";
@import "common/colors";
@import "common/base";
@import "common/content";

View file

@ -10,11 +10,8 @@ a:visited {
color: var(--link-visited);
}
*:focus {
border-radius: 2px;
text-decoration: none;
outline: 1px dashed var(--ui-text);
outline-offset: 4px;
a:focus {
}
a:hover {

View file

@ -20,7 +20,6 @@
src="{{ $script.Permalink }}"
integrity="{{ $script.Data.Integrity }}">
</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 "styles/external-links.html" . }}
{{ block "head" . }}