quitsocialmedia.club/styles/style.scss

938 lines
14 KiB
SCSS
Raw Normal View History

2022-06-01 10:26:43 +02:00
@use 'parts/nav';
@use 'parts/inter';
@use 'parts/ubuntu-mono';
2022-01-05 20:29:51 +01:00
$tiny: .2rem;
$small: .5rem;
$regular-less: .9rem;
$regular: 1.1rem;
$regular-more: 1.3rem;
$regular-more-em: 1.3em;
$big: 1.6rem;
$bigger: 1.8rem;
$twice: 2.2rem;
$height: 3.1rem;
$mastodon: 4.4rem;
$radius-s: .4rem;
$radius-m: .6rem;
$radius-l: 1rem;
$trans: .5s;
$quicktrans: .2s;
2021-02-01 19:07:20 +01:00
:root {
--black-ish: #222;
--white-ish: #F1FAEE;
--dark-grey: #555;
--light-grey: #AAA;
--yellow: #FCC920;
--dark-yellow: #D0A00E;
--light-blue: #A8DADC;
--blue: #1D3557;
--red: #E63946;
--green: #20CE88;
--razzmatazz: #EC0868;
2021-02-11 09:59:35 +01:00
--purple: #592176;
2021-02-01 19:07:20 +01:00
color-scheme: dark light;
--title-text-shadow-hover: none;
}
2020-12-31 20:03:57 +01:00
html {
box-sizing: border-box;
cursor: url(/logos/red-cursor.svg) 16 16, crosshair;
2020-12-31 20:03:57 +01:00
background: var(--background);
scroll-behavior: smooth;
--background: var(--white-ish);
2021-01-01 01:48:06 +01:00
--text: var(--blue);
2020-12-31 20:03:57 +01:00
--deep: white;
2021-01-01 01:48:06 +01:00
--link: var(--primary);
--primary: var(--red);
--secondary: #457B9D;
--internal-link: var(--primary);
2020-12-31 20:03:57 +01:00
--grey: var(--light-grey);
--other-grey: var(--dark-grey);
2021-01-01 01:48:06 +01:00
--shadow: 5px 5px 20px #10204055, -5px -5px 20px #FFFFFFEF;
--little-shadow: 2px 2px 3px #10204055, -2px -2px 3px #FFF6;
--button-shadow: 3px 3px 8px #10204055, -3px -3px 8px #FFF6;
--inner-shadow: inset 3px 3px 5px #10204055, inset -3px -3px 5px #FFF3;
--inner-little-shadow: inset 2px 2px 3px #10204022, inset -2px -2px 3px #FFF3;
--header-shadow: 5px 5px 15px #10204033, -5px -5px 15px #FFFF;
--text-shadow: 0px 0px 0px var(--link), 1px 1px 1px var(--grey);
--title-text-shadow: -3px -3px 0px var(--text), -3px -2px 1px var(--grey), -2px -3px 1px var(--grey), -2px -2px 0px var(--grey), -1px -1px 0px var(--grey), 0px 0px 0px var(--grey);
2020-12-31 20:03:57 +01:00
2022-01-05 20:29:51 +01:00
transition: $trans;
}
/* DARK THEME */
@media screen and (prefers-color-scheme: dark) {
html {
--background: var(--blue);
--text: var(--white-ish);
--deep: #102040;
--link: var(--primary);
--primary: var(--light-blue);
--secondary: var(--red);
--internal-link: var(--primary);
--grey: var(--dark-grey);
--other-grey: var(--light-grey);
--shadow: 5px 5px 20px #102040BB, -5px -5px 20px #FFFFFF11;
--little-shadow: 2px 2px 3px #102040EF, -2px -2px 3px #FFFFFF22;
--button-shadow: 3px 3px 8px #102040AA, -3px -3px 8px #FFFFFF11;
--inner-shadow: inset 3px 3px 5px #10204088, inset -3px -3px 5px #FFF2;
--inner-little-shadow: inset 2px 2px 3px #102040AA, inset -2px -2px 3px #FFF1;
--header-shadow: 5px 5px 15px #102040DD, -5px -5px 15px #FFF2;
transition: $trans;
}
2020-12-31 20:03:57 +01:00
}
body {
2022-01-05 20:29:51 +01:00
font: $regular Inter, -apple-system, Helvetica, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
2020-12-31 20:03:57 +01:00
margin: 0;
overflow-wrap: break-word;
hyphens: auto;
}
* {
2022-01-05 20:29:51 +01:00
transition: $trans, transform $quicktrans;
}
#menutoggle,
#langtoggle {
display: none;
2020-12-31 20:03:57 +01:00
}
*,
::before,
::after {
box-sizing: inherit;
}
.row::before,
.row::after {
display: table;
2022-01-05 20:29:51 +01:00
content: ' ';
2020-12-31 20:03:57 +01:00
clear: both;
}
.one,
.one-third,
.two-thirds,
.one-fourth,
.half,
.two-fifths,
.four-fifths,
.one-fifth {
width: 100%;
}
mark {
background: var(--primary);
color: var(--background);
font-weight: 500;
2021-02-01 19:07:20 +01:00
padding: 0 4px;
2022-01-05 20:29:51 +01:00
border-radius: $radius-s
2020-12-31 20:03:57 +01:00
}
::selection {
color: var(--background);
background: var(--primary);
}
.tool {
position: fixed;
bottom: 3vw;
right: 4vw;
z-index: 2;
.button {
2020-12-31 20:03:57 +01:00
padding: .3rem;
}
}
#scrollbutton[href='#0'] {
.button {
transform: rotate(180deg);
box-shadow: inset -2px -2px 4px #FFF8, inset 2px 2px 4px #0008;
&:hover {
box-shadow: none;
}
&:active {
box-shadow: var(--button-shadow);
}
}
}
2020-12-31 20:03:57 +01:00
a {
text-decoration: none;
color: var(--link);
&:hover,
&:focus,
&:active {
.title {
text-shadow: var(--title-text-shadow-hover);
color: var(--text);
}
}
.box {
&:hover {
box-shadow: var(--inner-shadow);
}
}
}
p,
li,
article li,
.toc {
a {
2021-01-01 01:48:06 +01:00
font-weight: 500;
2022-01-05 20:29:51 +01:00
transition: $quicktrans;
2020-12-31 20:03:57 +01:00
&:hover,
&:focus {
text-shadow: var(--text-shadow);
color: transparent !important;
}
&:active {
text-shadow: none;
color: var(--link) !important;
}
2022-01-05 20:29:51 +01:00
&[href*='mailto' i] {
2020-12-31 20:03:57 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: ' ✉️ ';
2021-03-29 11:20:52 +02:00
}
}
2022-01-05 20:29:51 +01:00
&[href^='/stampa' i],
&[href^='/press' i] {
2021-03-29 11:20:52 +02:00
&::before {
2022-01-05 20:29:51 +01:00
content: '📰 ';
2020-12-31 20:03:57 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href$='/about' i],
&[href*='tommi.space' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🙋🏻‍♂️ ';
2020-12-31 20:03:57 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='development' i] {
2020-12-31 20:03:57 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '💻 ';
2020-12-31 20:03:57 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='link' i],
&[href*='resources' i] {
2020-12-31 20:03:57 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '📚 ';
/* content: '🔗 '; */
2020-12-31 20:03:57 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='/path' i],
&[href*='/percorso' i] {
2020-12-31 20:03:57 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🧭 ';
2020-12-31 20:03:57 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='/why' i],
&[href*='/perch%C3%A9' i],
&[href*='/perche' i] {
2021-01-31 09:44:52 +01:00
&::after {
2022-01-05 20:29:51 +01:00
content: '';
2020-12-31 20:03:57 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='l10n' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🌎 ';
2021-01-01 12:53:46 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='learn' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '📖 ';
2021-01-01 12:53:46 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='/solution' i],
&[href*='/soluz' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '💡 ';
2021-01-01 12:53:46 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='/quick' i],
&[href*='/veloce' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '';
2021-01-01 12:53:46 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='/watch' i],
&[href*='/guarda' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🍿 ';
2021-01-01 12:53:46 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='/note' i],
&[href='/roadmap' i] {
2021-02-12 19:21:24 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '📝 ';
2021-02-12 19:21:24 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='/listen' i],
&[href*='/ascolta' i] {
&::before {
2022-01-05 20:29:51 +01:00
content: '🎧 ';
}
}
2022-01-05 20:29:51 +01:00
&[href='/delete' i],
&[href='/quit' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '';
2021-01-01 12:53:46 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href^='/contributors' i],
&[href^='/it/cont' i],
&[href='/partecipanti' i] {
2021-01-01 12:53:46 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🧑🏽‍💻 ';
2021-01-01 12:53:46 +01:00
}
2020-12-31 20:03:57 +01:00
}
2022-01-05 20:29:51 +01:00
&[href*='liberapay' i],
&[href*='/contribute' i],
&[href*='/contribuisci' i] {
2021-01-31 09:44:52 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🎁 ';
2021-01-31 09:44:52 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href*='keys.openpgp.org' i] {
2021-01-06 10:51:10 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🔑 ';
2021-01-06 10:51:10 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href='/share' i],
&[href='/condividi' i] {
2021-01-31 09:44:52 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '📢 ';
2021-01-31 09:44:52 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href^='/ob' i],
&[href*='/faq' i] {
2021-02-01 19:07:20 +01:00
&::before {
2022-01-05 20:29:51 +01:00
content: '🤔 ';
2021-02-01 19:07:20 +01:00
}
}
2022-01-05 20:29:51 +01:00
&[href='/ma' i],
&[href='/but' i] {
&::before {
2022-01-05 20:29:51 +01:00
content: '🤨 ';
}
}
2020-12-31 20:03:57 +01:00
}
}
.flex {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.vertical {
flex-direction: column;
height: 100%;
}
a,
button,
.button,
.aa-suggestion,
2022-01-05 20:29:51 +01:00
.embed-container,
label {
cursor: url(/logos/red-cursor-hover.svg) 16 16, pointer;
2020-12-31 20:03:57 +01:00
}
/* private or invalid links */
.invalid-link {
opacity: .5;
cursor: not-allowed;
.invalid-link-brackets {
opacity: .3;
}
}
li {
2022-01-05 20:29:51 +01:00
margin-bottom: $small;
line-height: $regular-more-em;
2020-12-31 20:03:57 +01:00
li {
margin-bottom: 0;
2022-01-05 20:29:51 +01:00
list-style-type: ' ';
2020-12-31 20:03:57 +01:00
li {
2022-01-05 20:29:51 +01:00
list-style-type: '+ ';
2020-12-31 20:03:57 +01:00
}
}
}
.task-list-item {
list-style: none;
}
.task-list-item-checkbox {
position: relative;
2022-01-05 20:29:51 +01:00
right: $regular-less;
width: $regular;
height: $regular;
2020-12-31 20:03:57 +01:00
}
.post {
& > p:first-of-type::first-letter {
initial-letter: 4;
-webkit-initial-letter: 4;
}
.embed-container {
2022-01-05 20:29:51 +01:00
border-radius: $radius-l;
2020-12-31 20:03:57 +01:00
box-shadow: var(--shadow);
}
}
hr {
color: transparent;
border-top: 7px dotted var(--grey);
}
.line {
width: 20%;
2022-01-05 20:29:51 +01:00
height: $small;
2020-12-31 20:03:57 +01:00
margin: 0 auto;
2022-01-05 20:29:51 +01:00
border-radius: $radius-s;
2020-12-31 20:03:57 +01:00
box-shadow: var(--little-shadow);
}
.background {
background: var(--background) !important;
color: var(--text) !important;
}
.page-header {
h1 {
2022-01-05 20:29:51 +01:00
font-size: $mastodon;
margin: $regular-less;
2020-12-31 20:03:57 +01:00
text-shadow: var(--header-shadow);
}
p {
text-align: center;
padding: 0 10%;
}
}
.toc {
2022-01-05 20:29:51 +01:00
margin: 0 10% $regular;
2020-12-31 20:03:57 +01:00
li {
margin: 0;
li {
a {
opacity: .8;
}
li a {
opacity: .8;
}
}
}
}
pre,
code {
2022-01-05 20:29:51 +01:00
font: 400 1.1em 'Ubuntu Mono', 'Roboto Mono', 'Fira Code', mono, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
2020-12-31 20:03:57 +01:00
line-height: 1.2em;
}
pre {
overflow-x: scroll;
2022-01-05 20:29:51 +01:00
margin: $bigger 0;
padding: $regular-more;
border-radius: $radius-m;
2020-12-31 20:03:57 +01:00
box-shadow: var(--inner-shadow);
background: var(--black-ish);
code {
box-shadow: unset;
}
}
code {
padding: 2px 9px;
box-shadow: var(--inner-little-shadow);
2022-01-05 20:29:51 +01:00
border-radius: $radius-s;
2020-12-31 20:03:57 +01:00
}
.cite {
text-align: right;
&::before {
content: '~ ';
}
}
blockquote {
2021-01-31 09:44:52 +01:00
margin: 1vw 4vw;
2020-12-31 20:03:57 +01:00
padding: 0;
p {
2021-01-31 09:44:52 +01:00
font-size: .8em;
line-height: 1.5em
2020-12-31 20:03:57 +01:00
}
}
td,
th,
tr {
border: solid 1px var(--grey);
}
th {
2022-01-05 20:29:51 +01:00
padding: $small $regular-less;
2021-01-31 09:44:52 +01:00
2020-12-31 20:03:57 +01:00
/* making the header sticky */
position: sticky;
2021-01-31 09:44:52 +01:00
top: 0;
background: var(--background);
2020-12-31 20:03:57 +01:00
}
td {
font-size: .8em;
2022-01-05 20:29:51 +01:00
padding: $tiny $small;
2020-12-31 20:03:57 +01:00
}
.table {
max-height: 90vh;
overflow: scroll;
2022-01-05 20:29:51 +01:00
margin: $height 2vw;
2020-12-31 20:03:57 +01:00
border: 3px solid var(--grey);
2022-01-05 20:29:51 +01:00
border-radius: $radius-l;
2020-12-31 20:03:57 +01:00
box-shadow: var(--shadow);
}
table {
border-collapse: collapse;
}
.landing {
height: 100vh;
2020-12-31 20:03:57 +01:00
background: var(--primary);
h1 {
color: var(--background);
font-weight: 800;
margin-bottom: 0;
position: relative;
2022-01-05 20:29:51 +01:00
bottom: $regular;
2020-12-31 20:03:57 +01:00
}
.button {
color: var(--primary);
background: var(--background);
2022-01-05 20:29:51 +01:00
margin: $tiny $regular-less;
2020-12-31 20:03:57 +01:00
}
}
.menu {
display: flex;
}
@media only screen and (min-width: 950px) {
.one {
width: 70%;
margin-left: 15%;
}
.half {
width: 50%;
}
.one-third {
width: calc(100% / 3);
}
.one-fourth {
width: 25%;
}
.two-thirds {
width: calc(100% / 3 * 2);
}
.one-fifth {
width: 20%;
}
.two-fifths {
width: 40%;
}
.four-fifths {
width: 80%;
text-align: left;
}
.three-fourths {
width: 75%;
}
.column {
float: left;
}
.line {
margin: auto;
width: 50%;
}
.mobile {
display: none;
}
.box.post-preview img {
max-height: 24vh;
width: auto;
}
}
img {
max-width: 100%;
height: auto;
display: block;
2022-01-05 20:29:51 +01:00
border-radius: $radius-l;
2020-12-31 20:03:57 +01:00
}
figure {
2022-01-05 20:29:51 +01:00
margin: $height auto;
2020-12-31 20:03:57 +01:00
img {
max-height: 90vh;
border: solid 1px black;
box-shadow: var(--shadow);
margin: 0 auto;
}
}
figcaption {
2022-01-05 20:29:51 +01:00
font: $regular 'EB Garamond', Garamond, 'Simoncini Garamond', Georgia, serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
line-height: $regular;
margin-top: $regular-less;
2020-12-31 20:03:57 +01:00
color: var(--other-grey);
text-align: center;
}
.center {
text-align: center;
}
.right,
.date {
text-align: right;
}
p {
line-height: 1.75em;
}
strong,
b {
font-weight: 800;
}
/* make underline text dashed instead of solid */
/*u {
text-decoration: none;
border-bottom: dashed 2px var(--text);
} */
article {
2022-01-05 20:29:51 +01:00
font-size: $regular-more;
padding: $twice 10% $mastodon;
2020-12-31 20:03:57 +01:00
}
time {
font-weight: 300;
}
h1, h2, h3, h4, h5 {
2020-12-31 20:03:57 +01:00
text-transform: uppercase;
&:hover {
.anchor {
2021-02-01 19:07:20 +01:00
opacity: 1;
2020-12-31 20:03:57 +01:00
}
}
.anchor {
2021-02-01 19:07:20 +01:00
opacity: 0;
2020-12-31 20:03:57 +01:00
}
}
.title {
font-weight: 800;
letter-spacing: .1em;
2022-01-05 20:29:51 +01:00
font-size: $twice;
2020-12-31 20:03:57 +01:00
color: transparent;
2022-01-05 20:29:51 +01:00
margin: $regular auto;
2020-12-31 20:03:57 +01:00
text-shadow: var(--title-text-shadow);
text-align: center;
2022-01-05 20:29:51 +01:00
transition: $quicktrans;
2020-12-31 20:03:57 +01:00
}
h1 {
color: var(--text);
text-align: center;
2022-01-05 20:29:51 +01:00
font-size: $height;
2020-12-31 20:03:57 +01:00
text-decoration: none;
}
h2 {
2022-01-05 20:29:51 +01:00
font-size: $bigger;
2021-02-03 12:40:49 +01:00
.anchor {
&::after {
content: '#';
}
}
}
h3 {
.anchor {
&::after {
content: '##';
}
}
2020-12-31 20:03:57 +01:00
}
.box {
max-width: 100%;
color: var(--text);
2022-01-05 20:29:51 +01:00
padding: $big;
margin-top: $bigger;
margin-bottom: $bigger;
border-radius: $radius-l;
2020-12-31 20:03:57 +01:00
box-shadow: var(--shadow);
overflow: scroll;
&.post-preview {
2022-01-05 20:29:51 +01:00
margin-top: $regular-less;
margin-bottom: $regular-less;
2020-12-31 20:03:57 +01:00
max-height: unset;
2022-01-05 20:29:51 +01:00
padding: $small;
2020-12-31 20:03:57 +01:00
.date {
2022-01-05 20:29:51 +01:00
margin: 0 $regular;
2020-12-31 20:03:57 +01:00
}
.button {
transform: scale(.7);
}
}
h2,
h3 {
text-align: center;
}
h3,
h4 {
margin: 0;
}
}
.box,
.stuff {
p {
2022-01-05 20:29:51 +01:00
margin: $regular 10%;
2020-12-31 20:03:57 +01:00
}
}
.stuff {
padding: 4vw 2vw;
2022-01-05 20:29:51 +01:00
margin: $height 2vw;
border-radius: $radius-l;
2020-12-31 20:03:57 +01:00
box-shadow: var(--shadow);
.column {
padding: 0 2vw;
}
}
.stuff-logo {
width: auto;
min-width: 50%;
max-width: 100%;
max-height: 10rem;
border-radius: 0;
}
.last-modified {
2022-01-05 20:29:51 +01:00
margin: 0 auto $twice;
font-size: $regular-less;
2020-12-31 20:03:57 +01:00
opacity: .8;
text-align: center;
}
footer {
2021-01-01 12:53:46 +01:00
margin: 2vw;
2020-12-31 20:03:57 +01:00
overflow: hidden;
2021-01-01 12:53:46 +01:00
width: 96%;
padding: 2vw;
2022-01-05 20:29:51 +01:00
border-radius: $radius-l;
2020-12-31 20:03:57 +01:00
box-shadow: var(--shadow);
* {
text-align: center;
}
img {
border-radius: 0;
margin: auto;
}
& > .row {
justify-content: space-between;
}
2021-02-11 09:59:35 +01:00
time {
2022-01-05 20:29:51 +01:00
font-family: 'Ubuntu Mono', 'Roboto Mono', 'Fira Code', mono, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
2021-02-11 09:59:35 +01:00
}
.time {
line-height: 1.1em;
}
2020-12-31 20:03:57 +01:00
}
@media only screen and (max-width: 950px) {
.page-header h1 {
2022-01-05 20:29:51 +01:00
font-size: $height;
2020-12-31 20:03:57 +01:00
}
.box {
2022-01-05 20:29:51 +01:00
margin: $bigger 3%;
2020-12-31 20:03:57 +01:00
}
.stuff-logo {
2022-01-05 20:29:51 +01:00
margin-top: $bigger
2020-12-31 20:03:57 +01:00
}
2021-02-11 09:59:35 +01:00
.margin {
margin: 0 10%;
}
article {
2022-01-05 20:29:51 +01:00
padding: $twice 7% $mastodon;
2021-02-01 19:07:20 +01:00
}
.tool {
bottom: 3vh
}
2020-12-31 20:03:57 +01:00
}
audio {
width: 100%;
box-shadow: var(--shadow);
2022-01-05 20:29:51 +01:00
border-radius: $radius-m;
2020-12-31 20:03:57 +01:00
}
.controlBar {
background: none !important;
}
svg.button,
img.button {
2022-01-05 20:29:51 +01:00
height: $height;
2020-12-31 20:03:57 +01:00
width: auto;
padding: 0;
2022-01-05 20:29:51 +01:00
margin: $tiny;
2020-12-31 20:03:57 +01:00
background: var(--primary);
}
button,
.button {
display: inline-block;
2022-01-05 20:29:51 +01:00
padding: $small $regular;
font-size: $bigger;
2020-12-31 20:03:57 +01:00
font-weight: 700;
text-transform: uppercase;
2022-01-05 20:29:51 +01:00
border-radius: $radius-m;
2020-12-31 20:03:57 +01:00
box-shadow: var(--button-shadow);
text-align: center;
hyphens: none;
&:hover,
&:focus {
box-shadow: none;
}
&:active {
box-shadow: var(--inner-shadow);
}
}
.written {
background: var(--primary);
color: var(--background);
2022-01-05 20:29:51 +01:00
margin: $big;
2020-12-31 20:03:57 +01:00
}
.smaller {
2022-01-05 20:29:51 +01:00
padding: $tiny $regular-less;
margin: $small;
font-size: $big;
border-radius: $radius-s;
2020-12-31 20:03:57 +01:00
}
.sharing {
.button {
2022-01-05 20:29:51 +01:00
margin-right: $small;
2020-12-31 20:03:57 +01:00
padding: .4rem;
}
}
/* FOOTER */
#license {
font-size: .8em;
font-weight: 200;
}
.embed-container {
--video--width: 1920;
--video--height: 1080;
position: relative;
padding-bottom: calc(var(--video--height) / var(--video--width) * 100%);
overflow: hidden;
max-width: 100%;
background: transparent;
iframe,
object,
embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
.green {
background: var(--green);
color: var(--black-ish) !important;
border-color: var(--green) !important;
}
.red {
background: var(--red);
color: white !important;
border-color: var(--red) !important;
a {
2021-01-01 12:53:46 +01:00
color: var(--light-blue);
2020-12-31 20:03:57 +01:00
}
}
.blue {
2021-01-01 12:53:46 +01:00
background: var(--light-blue);
color: var(--blue) !important;
border-color: var(--light-blue) !important;
2020-12-31 20:03:57 +01:00
a {
2021-01-01 12:53:46 +01:00
color: var(--red);
2020-12-31 20:03:57 +01:00
}
}
2021-02-11 09:59:35 +01:00
.purple {
background: var(--purple);
color: var(--white-ish) !important;
border-color: var(--purple) !important;
a {
color: var(--light-blue);
}
}
2020-12-31 20:03:57 +01:00
.yellow {
background: var(--yellow);
color: var(--black-ish) !important;
border-color: var(--yellow) !important;
a {
color: var(--red);
}
}
.razzmatazz {
background: var(--razzmatazz);
color: white !important;
border-color: var(--razzmatazz) !important;
}
.grey {
background: var(--grey);
border-color: var(--grey) !important;
}
.border {
background: transparent;
color: var(--text);
border: 3px solid var(--text);
2021-02-11 11:35:06 +01:00
}