You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

541 lines
7.8 KiB

7 months ago
/* Default box sizing.
---------------------------------------- */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
dl,
dd {
margin: 0;
}
/* HTML and Body
---------------------------------------- */
html:focus-within {
scroll-behavior: smooth;
}
html {
font-size: 16px;
7 months ago
scroll-behavior: smooth;
7 months ago
}
html,
body {
height: 100%;
}
body {
color: var(--color-text);
7 months ago
background-color: var(--body-bg-color);
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
7 months ago
font-size: 1rem;
font-weight: 400;
min-height: 100vh;
margin: 0;
padding: 0;
line-height: 1.6;
text-rendering: optimizeSpeed;
overflow-x: hidden;
-webkit-font-smoothing: subpixel-antialiased;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
/* Regions
---------------------------------------- */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
display: block;
}
summary {
display: list-item;
cursor: pointer;
}
details {
padding: 1rem;
margin-bottom: 1rem;
border: 1px solid var(--border);
}
template,
[hidden] {
display: none;
}
/* Typography
---------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--color-heading);
font-weight: 700;
font-style: normal;
line-height: 1.6;
}
h1 {
7 months ago
font-size: var(--h1-size);
7 months ago
}
h2 {
7 months ago
font-size: var(--h2-size);
7 months ago
}
h3 {
7 months ago
font-size: var(--h3-size);
7 months ago
}
h4 {
7 months ago
font-size: var(--h4-size);
7 months ago
}
h5 {
7 months ago
font-size: var(--h5-size);
7 months ago
}
h6 {
7 months ago
font-size: var(--h6-size);
7 months ago
}
p {
margin: 0 0 1.2rem 0;
}
b,
strong {
font-weight: bolder;
}
dfn,
cite {
font-style: italic;
}
del {
text-decoration: line-through;
}
small {
font-size: 80%;
}
big {
font-size: 125%;
}
em {
font-style: normal;
}
a {
background-color: transparent;
text-decoration: none;
color: var(--primary);
}
a:active,
a:focus {
text-decoration: none;
border: 0;
outline: 0;
}
a:hover {
color: var(--secondary);
}
a:not([class]) {
text-decoration-skip-ink: auto;
}
/* Typography-> code tags */
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1rem;
}
kbd,
samp {
display: inline-block;
margin: 0;
padding: 0 5px;
}
pre {
overflow: auto;
margin: 1rem 0;
padding: 1rem;
tab-size: 2;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
tt,
var {
font-family: monospace, monospace;
font-style: italic;
}
mark {
background: var(--primary);
}
7 months ago
acronym[title],
abbr[title] {
7 months ago
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
7 months ago
text-decoration: underline dotted;
7 months ago
}
abbr,
acronym {
cursor: help;
}
/* Media
---------------------------------------- */
audio,
canvas,
progress,
video {
vertical-align: baseline;
7 months ago
max-width: 100%;
7 months ago
}
audio:not([controls]) {
display: none;
height: 0;
}
img,
picture,
svg {
max-width: 100% !important;
height: auto;
margin: 0;
padding: 0;
border: 0;
border-style: none;
vertical-align: middle;
}
svg:not(:root) {
overflow: hidden;
}
figure {
max-width: 100%;
height: auto;
margin: 1rem 0;
border: 0;
}
.align-left {
margin: 0 1rem 0 0;
}
.align-right {
margin: 0 0 0 1rem;
}
.align-center {
margin-top: 1rem;
margin-bottom: 1rem;
}
figcaption {
padding: 4px;
font-size: 0.8rem;
text-align: center;
}
.image-field {
margin: 0 0 1rem 0;
}
/* Form
---------------------------------------- */
form {
margin-bottom: 1rem;
}
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.6;
margin: 0;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
.button {
7 months ago
display: inline-block;
7 months ago
}
.button,
button,
7 months ago
[type='button'],
[type='reset'],
[type='submit'] {
7 months ago
position: relative;
cursor: pointer;
border: 0;
padding: 8px 10px;
line-height: 1.6;
-webkit-appearance: button;
}
button::-moz-focus-inner,
7 months ago
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
7 months ago
border-style: none;
padding: 0;
}
button:-moz-focusring,
7 months ago
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
7 months ago
outline: 0;
}
button[disabled],
html input[disabled] {
cursor: not-allowed;
opacity: 0.7;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
input,
button,
textarea,
select {
font: inherit;
}
input {
line-height: normal;
}
input,
textarea {
max-width: 100%;
}
7 months ago
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
7 months ago
textarea {
padding: 10px;
}
7 months ago
input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
7 months ago
textarea:focus {
outline: 0;
}
textarea {
width: 100%;
overflow: auto;
}
7 months ago
[type='checkbox'],
[type='radio'] {
7 months ago
padding: 0;
cursor: pointer;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
7 months ago
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
7 months ago
height: auto;
}
7 months ago
[type='search'] {
7 months ago
-webkit-appearance: textfield;
outline-offset: -2px;
-webkit-appearance: textfield;
-moz-appearance: textfield;
}
7 months ago
[type='search']::-webkit-search-decoration {
7 months ago
-webkit-appearance: none;
}
7 months ago
[type='file'] {
7 months ago
cursor: pointer;
}
fieldset {
margin: 0 0 20px 0;
padding: 1rem;
}
fieldset > :last-child {
margin-bottom: 0;
}
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}
optgroup {
font-weight: bold;
}
select {
padding: 6px;
cursor: pointer;
}
label[for] {
cursor: pointer;
}
/* Form */
.form-item {
margin-bottom: 1rem;
}
.form-required:after {
7 months ago
content: '*';
7 months ago
display: inline-block;
padding-left: 4px;
color: red;
}
.form-item label {
display: block;
}
label.option {
display: inline;
font-weight: normal;
}
::-webkit-input-placeholder {
color: var(--border);
}
:-moz-placeholder {
color: var(--border);
}
::-moz-placeholder {
color: var(--border);
opacity: 1;
}
:-ms-input-placeholder {
color: var(--border);
}
7 months ago
.field--name-body input[type='text'],
.field--name-body input[type='email'],
.field--name-body input[type='url'],
.field--name-body input[type='password'],
.field--name-body input[type='search'],
7 months ago
.field--name-body textarea {
display: block;
margin-bottom: 0.8rem;
}
/* Common HTML Elements
---------------------------------------- */
hr {
background-color: var(--border);
clear: both;
width: 100%;
max-width: 100%;
height: 2px;
border: 0;
-webkit-box-sizing: content-box;
box-sizing: content-box;
overflow: visible;
}
address {
margin: 0 0 1rem 0;
font-style: italic;
}
/* Definition Lists */
dt {
font-weight: 700;
}
dd {
margin: 0 0 1.2rem 0;
}
blockquote {
position: relative;
background-color: var(--light);
margin: 1rem 0;
padding: 1rem;
}
blockquote > :last-child {
margin-bottom: 0;
}
/* List
---------------------------------------- */
7 months ago
ul,
ol {
margin: 0;
padding: 0 0 0.25rem 1rem;
}
[dir='rtl'] ul,
[dir='rtl'] ol {
padding: 0 1rem 0.25rem 0;
}
ol ol,
ul ul {
margin: 0;
padding: 0 0 0.25rem 1rem;
}
[dir='rtl'] ol ol,
[dir='rtl'] ul ul {
padding: 0 1rem 0.25rem 0;
}
ul {
list-style: disc;
}
li > ul,
li > ol {
margin-bottom: 0;
}
[dir='rtl'] ul,
[dir='rtl'] ol {
padding: 0 1rem 0.25rem 0;
}
li {
padding: 4px 0;
}
7 months ago
/* Table
---------------------------------------- */
table {
width: 100%;
margin-bottom: 1.2rem;
border-spacing: 0;
border-collapse: collapse;
}
th,
tr,
td {
vertical-align: middle;
}
th {
margin: 0;
padding: 5px;
text-align: left;
}
td {
padding: 5px;
}