Add files via upload

This commit is contained in:
Gorri
2022-11-02 17:46:33 +01:00
committed by GitHub
parent de4dfc6ac3
commit f5af86908c
39 changed files with 4784 additions and 0 deletions
@@ -0,0 +1,101 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Actions */
ul.actions {
@include vendor('display', 'flex');
cursor: default;
list-style: none;
margin-left: (_size(element-margin) * -0.5);
padding-left: 0;
li {
padding: 0 0 0 (_size(element-margin) * 0.5);
vertical-align: middle;
}
&.special {
@include vendor('justify-content', 'center');
width: 100%;
margin-left: 0;
li {
&:first-child {
padding-left: 0;
}
}
}
&.stacked {
@include vendor('flex-direction', 'column');
margin-left: 0;
li {
padding: (_size(element-margin) * 0.65) 0 0 0;
&:first-child {
padding-top: 0;
}
}
}
&.fit {
width: calc(100% + #{_size(element-margin) * 0.5});
li {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
width: 100%;
> * {
width: 100%;
}
}
&.stacked {
width: 100%;
}
}
@include breakpoint('<=xsmall') {
&:not(.fixed) {
@include vendor('flex-direction', 'column');
margin-left: 0;
width: 100% !important;
li {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
padding: (_size(element-margin) * 0.5) 0 0 0;
text-align: center;
width: 100%;
> * {
width: 100%;
}
&:first-child {
padding-top: 0;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
width: 100%;
&.icon {
&:before {
margin-left: -0.5rem;
}
}
}
}
}
}
}
@@ -0,0 +1,34 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Box */
.box {
border-radius: _size(border-radius);
border: solid 2px;
margin-bottom: _size(element-margin);
padding: 1.5rem;
> :last-child,
> :last-child > :last-child,
> :last-child > :last-child > :last-child {
margin-bottom: 0;
}
&.alt {
border: 0;
border-radius: 0;
padding: 0;
}
}
@mixin color-box($p: null) {
.box {
border-color: _palette($p, border);
}
}
@include color-box;
@@ -0,0 +1,134 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
@include vendor('appearance', 'none');
@include vendor('transition', (
'background-color #{_duration(transition)} ease-in-out',
'box-shadow #{_duration(transition)} ease-in-out',
'color #{_duration(transition)} ease-in-out'
));
border: 0;
border-radius: 0;
cursor: pointer;
display: inline-block;
font-family: _font(family-heading);
font-size: 0.8rem;
font-weight: _font(weight-heading);
letter-spacing: 0.075em;
height: 3rem;
line-height: 3rem;
padding: 0 2rem;
text-align: center;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
&.icon {
&:before {
margin-right: 0.5rem;
}
&.solo {
position: relative;
width: 4rem;
height: 4rem;
line-height: 4rem;
border-radius: 4rem;
text-indent: 4rem;
overflow: hidden;
padding: 0;
white-space: nowrap;
&:before {
position: absolute;
display: block;
top: 0;
left: 0;
width: inherit;
height: inherit;
line-height: inherit;
font-size: 1.25rem;
margin-right: 0;
text-align: center;
text-indent: 0;
}
}
}
&.fit {
width: 100%;
}
&.small {
font-size: 0.7rem;
height: 2.5rem;
line-height: 2.5rem;
padding: 0 1.5rem;
}
&.large {
font-size: 0.9rem;
height: 3.5rem;
line-height: 3.5rem;
padding: 0 2.75rem;
}
@include breakpoint('<=medium') {
font-size: 0.9rem;
height: 3.25rem;
line-height: 3.25rem;
&.large {
font-size: 1rem;
height: 3.75rem;
line-height: 3.75rem;
}
}
&.disabled,
&:disabled {
@include vendor('pointer-events', 'none');
opacity: 0.25;
}
}
@mixin color-button($p: null) {
$highlight: _palette($p, highlight);
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
background-color: transparent;
box-shadow: inset 0 0 0 2px _palette($p, fg-bold);
color: _palette($p, fg-bold) !important;
&:hover {
box-shadow: inset 0 0 0 2px _palette($p, accent);
color: _palette($p, accent) !important;
}
&.primary {
background-color: _palette($p, fg-bold);
box-shadow: none;
color: _palette($p, bg) !important;
&:hover {
background-color: _palette($p, accent);
}
}
}
}
@include color-button;
@@ -0,0 +1,292 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Form */
form {
margin: 0 0 _size(element-margin) 0;
> :last-child {
margin-bottom: 0;
}
> .fields {
$gutter: (_size(element-margin) * 0.75);
@include vendor('display', 'flex');
@include vendor('flex-wrap', 'wrap');
width: calc(100% + #{$gutter * 2});
margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
> .field {
@include vendor('flex-grow', '0');
@include vendor('flex-shrink', '0');
padding: $gutter 0 0 $gutter;
width: calc(100% - #{$gutter * 1});
&.half {
width: calc(50% - #{$gutter * 0.5});
}
&.third {
width: calc(#{100% / 3} - #{$gutter * (1 / 3)});
}
&.quarter {
width: calc(25% - #{$gutter * 0.25});
}
}
}
@include breakpoint('<=xsmall') {
> .fields {
$gutter: (_size(element-margin) * 0.75);
width: calc(100% + #{$gutter * 2});
margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
> .field {
padding: $gutter 0 0 $gutter;
width: calc(100% - #{$gutter * 1});
&.half {
width: calc(100% - #{$gutter * 1});
}
&.third {
width: calc(100% - #{$gutter * 1});
}
&.quarter {
width: calc(100% - #{$gutter * 1});
}
}
}
}
}
label {
display: block;
font-family: _font(family-heading);
font-weight: _font(weight-heading);
line-height: 1.5;
letter-spacing: 0.075em;
font-size: 0.8rem;
text-transform: uppercase;
margin: 0 0 (_size(element-margin) * 0.375) 0;
@include breakpoint('<=medium') {
font-size: 0.9rem;
}
}
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
@include vendor('appearance', 'none');
background: transparent;
border-radius: 0;
border: solid 2px;
color: inherit;
display: block;
outline: 0;
padding: 0 1rem;
text-decoration: none;
width: 100%;
&:invalid {
box-shadow: none;
}
}
select {
background-size: 1.25rem;
background-repeat: no-repeat;
background-position: calc(100% - 1rem) center;
height: _size(element-height);
padding-right: _size(element-height);
text-overflow: ellipsis;
&:focus {
&::-ms-value {
background-color: transparent;
}
}
&::-ms-expand {
display: none;
}
}
input[type="text"],
input[type="password"],
input[type="email"],
select {
height: _size(element-height);
}
textarea {
padding: 0.75rem 1rem;
}
input[type="checkbox"],
input[type="radio"], {
@include vendor('appearance', 'none');
display: block;
float: left;
margin-right: -2rem;
opacity: 0;
width: 1rem;
z-index: -1;
& + label {
@include icon;
cursor: pointer;
display: inline-block;
font-size: 1rem;
letter-spacing: 0;
font-family: _font(family);
text-transform: none;
font-weight: _font(weight);
padding-left: (_size(element-height) * 0.6) + 1rem;
padding-right: 1rem;
position: relative;
&:before {
border-radius: 0;
border: solid 2px;
content: '';
display: inline-block;
height: (_size(element-height) * 0.6);
left: 0;
line-height: (_size(element-height) * 0.575);
position: absolute;
text-align: center;
top: -0.125rem;
width: (_size(element-height) * 0.6);
}
}
&:checked + label {
&:before {
content: '\f00c';
}
}
}
input[type="checkbox"] {
& + label {
&:before {
border-radius: 0;
}
}
}
input[type="radio"] {
& + label {
&:before {
border-radius: 100%;
}
}
}
::-webkit-input-placeholder {
opacity: 1.0;
}
:-moz-placeholder {
opacity: 1.0;
}
::-moz-placeholder {
opacity: 1.0;
}
:-ms-input-placeholder {
opacity: 1.0;
}
@mixin color-form($p: null) {
label {
color: _palette($p, fg-bold);
}
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
border-color: _palette($p, border);
&:focus {
border-color: _palette($p, accent);
}
}
select {
background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette($p, border)}' /></svg>");
option {
background-color: _palette($p, bg);
color: _palette($p, fg);
}
}
.select-wrapper {
&:before {
color: _palette($p, border);
}
}
input[type="checkbox"],
input[type="radio"], {
& + label {
color: _palette($p, fg);
&:before {
border-color: _palette($p, border);
}
}
&:checked + label {
&:before {
background-color: _palette($p, fg-bold);
border-color: _palette($p, fg-bold);
color: _palette($p, bg);
}
}
&:focus + label {
&:before {
border-color: _palette($p, accent);
}
}
}
::-webkit-input-placeholder {
color: _palette($p, fg-light) !important;
}
:-moz-placeholder {
color: _palette($p, fg-light) !important;
}
::-moz-placeholder {
color: _palette($p, fg-light) !important;
}
:-ms-input-placeholder {
color: _palette($p, fg-light) !important;
}
.formerize-placeholder {
color: _palette($p, fg-light) !important;
}
}
@include color-form;
@@ -0,0 +1,17 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Icon */
.icon {
@include icon;
border-bottom: none;
position: relative;
> .label {
display: none;
}
}
@@ -0,0 +1,52 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Icons */
ul.icons {
cursor: default;
list-style: none;
padding-left: 0;
li {
display: inline-block;
padding: 0 0.5rem 0 0;
vertical-align: middle;
&:last-child {
padding-right: 0;
}
.icon {
&:before {
width: 2.25rem;
height: 2.25rem;
line-height: 2.25rem;
display: inline-block;
text-align: center;
border-radius: 100%;
font-size: 1.25rem;
}
}
}
&.alt {
li {
.icon {
&:before {
@include vendor('transition', (
'color #{_duration(transition)} ease-in-out',
'background-color #{_duration(transition)} ease-in-out',
'border-color #{_duration(transition)} ease-in-out',
'box-shadow #{_duration(transition)} ease-in-out'
));
font-size: 1rem;
}
}
}
}
}
@@ -0,0 +1,92 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Image */
.image {
border: 0;
border-radius: _size(border-radius);
display: inline-block;
position: relative;
img {
border-radius: _size(border-radius);
display: block;
}
&.left,
&.right {
max-width: 40%;
img {
width: 100%;
}
}
&.left {
float: left;
margin: 0 2rem 2rem 0;
top: 0.75rem;
}
&.right {
float: right;
margin: 0 0 2rem 2rem;
top: 0.75rem;
}
&.fit {
display: block;
margin: (_size(element-margin) * 1.25) 0;
width: 100%;
&:first-child {
margin-top: 0;
}
img {
width: 100%;
}
}
&.main {
display: block;
margin: (_size(element-margin) * 2) 0;
width: 100%;
&:first-child {
margin-top: 0;
}
img {
width: 100%;
}
}
@include breakpoint('<=small') {
&.fit {
margin: _size(element-margin) 0;
}
&.main {
margin: _size(element-margin) 0;
}
}
}
a.image {
overflow: hidden;
img {
@include vendor('transition', 'transform #{_duration(transition)} ease-out');
}
&:hover {
img {
@include vendor('transform', 'scale(1.05)');
}
}
}
@@ -0,0 +1,98 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* List */
ol {
list-style: decimal;
margin: 0 0 _size(element-margin) 0;
padding-left: 1.25rem;
li {
padding-left: 0.25rem;
}
}
ul {
list-style: disc;
margin: 0 0 _size(element-margin) 0;
padding-left: 1rem;
li {
padding-left: 0.5rem;
}
&.divided {
list-style: none;
padding-left: 0;
li {
border-top: solid 1px;
padding: 0.5rem 0;
&:first-child {
border-top: 0;
padding-top: 0;
}
}
}
}
dl {
margin: 0 0 _size(element-margin) 0;
dt {
display: block;
font-weight: _font(weight-bold);
margin: 0 0 (_size(element-margin) * 0.5) 0;
}
dd {
margin-left: _size(element-margin);
}
}
@mixin color-list($p: null) {
ul {
&.divided {
li {
border-top-color: _palette($p, border);
}
}
&.icons {
li {
a.icon {
&:hover {
&:before {
color: _palette($p, accent);
}
}
}
}
&.alt {
li {
.icon {
&:before {
box-shadow: inset 0 0 0 2px _palette($p, border);
}
}
a.icon {
&:hover {
&:before {
box-shadow: inset 0 0 0 2px _palette($p, accent);
}
}
}
}
}
}
}
}
@include color-list;
@@ -0,0 +1,110 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Pagination */
.pagination {
@include vendor('display', 'inline-flex');
@include vendor('user-select', 'none');
cursor: default;
list-style: none;
margin: 0 0 _size(element-margin) 2px;
padding: 0;
a, span {
@include vendor('transition', (
'background-color #{_duration(transition)} ease-in-out',
'border-color #{_duration(transition)} ease-in-out',
'box-shadow #{_duration(transition)} ease-in-out',
'color #{_duration(transition)} ease-in-out'
));
border: solid 2px;
display: inline-block;
font-family: _font(family-heading);
font-size: 0.8rem;
font-weight: _font(weight-heading);
height: _size(element-height);
letter-spacing: 0.075em;
letter-spacing: _font(letter-spacing-heading);
line-height: calc(#{_size(element-height)} - 4px);
margin-left: -2px;
min-width: _size(element-height);
position: relative;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
.next, .previous {
@include icon;
padding: 0 1.75rem;
&:before {
display: inline-block;
color: inherit !important;
}
}
.previous {
&:before {
content: '\f104';
margin-right: (0.75em / 0.8);
}
}
.next {
&:before {
content: '\f105';
float: right;
margin-left: (0.75em / 0.8);
}
}
@include breakpoint('<=medium') {
a, span {
font-size: 0.9rem;
}
}
@include breakpoint('<=xsmall') {
.page, .extra {
display: none;
}
}
}
@mixin color-pagination($p: null) {
.pagination {
a, span {
border-color: _palette($p, border);
}
a {
color: _palette($p, fg-bold) !important;
&:hover {
color: _palette($p, accent) !important;
border-color: _palette($p, accent);
z-index: 1;
& + a,
& + span {
border-left-color: _palette($p, accent);
}
}
&.active {
background-color: _palette($p, border);
}
}
span {
color: _palette($p, border);
}
}
}
@include color-pagination;
@@ -0,0 +1,35 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Row */
.row {
@include html-grid(1.5rem);
@include breakpoint('<=xlarge') {
@include html-grid(1.5rem, 'xlarge');
}
@include breakpoint('<=large') {
@include html-grid(1.5rem, 'large');
}
@include breakpoint('<=medium') {
@include html-grid(1.5rem, 'medium');
}
@include breakpoint('<=small') {
@include html-grid(1.5rem, 'small');
}
@include breakpoint('<=xsmall') {
@include html-grid(1.5rem, 'xsmall');
}
@include breakpoint('<=xxsmall') {
@include html-grid(1.5rem, 'xxsmall');
}
}
@@ -0,0 +1,112 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Section/Article */
section, article {
&.special {
text-align: center;
}
}
header {
cursor: default;
> .date {
display: block;
font-size: 0.8rem;
height: 1;
margin: 0 0 (_size(element-margin) * 0.5) 0;
position: relative;
}
> p {
font-style: italic;
}
> h1 + p {
font-size: 1.1rem;
margin-top: -0.5rem;
line-height: 2;
}
> h2 + p {
font-size: 1rem;
margin-top: -0.75rem;
}
> h3 + p {
font-size: 0.9rem;
margin-top: -0.75rem;
}
> h4 + p {
font-size: 0.8rem;
margin-top: -0.75rem;
}
&.major {
margin: 0 0 (_size(element-margin) * 2) 0;
text-align: center;
> :last-child {
margin-bottom: 0;
}
> p {
margin-top: 0;
text-align: center;
}
> .date {
font-size: 1rem;
margin: 0 0 (_size(element-margin) * 2) 0;
&:before, &:after {
content: '';
display: block;
position: absolute;
top: 50%;
width: calc(50% - 6rem);
border-top: solid 2px;
}
&:before {
left: 0;
}
&:after {
right: 0;
}
}
}
@include breakpoint('<=medium') {
br {
display: none;
}
}
@include breakpoint('<=small') {
&.major {
margin: 0 0 _size(element-margin) 0;
}
}
}
@mixin color-section($p: null) {
header {
&.major {
.date {
&:before, &:after {
border-top-color: _palette($p, border);
}
}
}
}
}
@include color-section;
@@ -0,0 +1,122 @@
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Table */
.table-wrapper {
-webkit-overflow-scrolling: touch;
overflow-x: auto;
}
table {
margin: 0 0 _size(element-margin) 0;
width: 100%;
tbody {
tr {
border: solid 1px;
border-left: 0;
border-right: 0;
}
}
td {
padding: 0.75rem 0.75rem;
}
th {
font-family: _font(family-heading);
font-size: 0.8rem;
font-weight: _font(weight-heading);
letter-spacing: 0.075em;
line-height: 1.5;
padding: 0 0.75rem 0.75rem 0.75rem;
text-align: left;
text-transform: uppercase;
@include breakpoint('<=medium') {
font-size: 0.9rem;
}
}
thead {
border-bottom: solid 2px;
}
tfoot {
border-top: solid 2px;
}
&.alt {
border-collapse: separate;
tbody {
tr {
td {
border: solid 1px;
border-left-width: 0;
border-top-width: 0;
&:first-child {
border-left-width: 1px;
}
}
&:first-child {
td {
border-top-width: 1px;
}
}
}
}
thead {
border-bottom: 0;
}
tfoot {
border-top: 0;
}
}
}
@mixin color-table($p: null) {
table {
tbody {
tr {
border-color: _palette($p, border);
&:nth-child(2n + 1) {
background-color: _palette($p, border-bg);
}
}
}
th {
color: _palette($p, fg-bold);
}
thead {
border-bottom-color: _palette($p, border);
}
tfoot {
border-top-color: _palette($p, border);
}
&.alt {
tbody {
tr {
td {
border-color: _palette($p, border);
}
}
}
}
}
}
@include color-table;