[CSS] Complete refactor, removing all useless rules, squashing related separate files, and limiting folder depth

This commit is contained in:
Eliseu Amaro 2022-02-24 19:04:14 +00:00
parent af02bc7b32
commit d12038a9f8
Signed by: eliseuamaro
GPG Key ID: 96DA09D4B97BC2D5
26 changed files with 1224 additions and 1523 deletions

View File

@ -5,7 +5,7 @@
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
{% endblock stylesheets %}
{% block body %}

View File

@ -2,12 +2,6 @@
{% import 'cards/macros/settings.html.twig' as macros %}
{% block stylesheets %}
{{ parent() }}
<link rel="preload" href="{{ asset('assets/default_theme/pages/settings.css') }}" as="style" type="text/css">
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/settings.css') }}">
{% endblock stylesheets %}
{% block body %}
<nav class='section-settings'>
<h1>Settings</h1>

View File

@ -1,19 +1,21 @@
{% extends 'stdgrid.html.twig' %}
{% import "/cards/macros/note.html.twig" as noteView %}
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
{% block title %}{{ 'Delete ' | trans }}{{ 'note' | trans }}{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
{% endblock stylesheets %}
{% block body %}
{{ parent() }}
<div class="page">
<div class="main">
{{ noteView.note_compact(note) }}
{{ form(delete) }}
</div>
{{ parent() }}
<div class="page">
<div class="main">
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
{{ NoteFactory.constructor(args) }}
<hr>
{{ form(delete) }}
</div>
</div>
{% endblock body %}

View File

@ -1,18 +1,20 @@
{% extends 'stdgrid.html.twig' %}
{% import "/cards/macros/note.html.twig" as noteView %}
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
{% block title %}{{ 'Favourite ' | trans }}{{ note.getActorNickname() }}{{ '\'s note.' | trans }}{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
{% endblock stylesheets %}
{% block body %}
{{ parent() }}
<div class="page">
<div class="main">
{{ noteView.note_vanilla(note) }}
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
{{ NoteFactory.constructor(args) }}
<hr>
{{ form(add_favourite) }}
</div>
</div>

View File

@ -1,18 +1,20 @@
{% extends 'stdgrid.html.twig' %}
{% import "/cards/macros/note.html.twig" as noteView %}
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
{% block title %}{{ 'Remove favourite from ' | trans }}{{ note.getActorNickname() }}{{ '\'s note.' | trans }}{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
{% endblock stylesheets %}
{% block body %}
{{ parent() }}
<div class="page">
<div class="main">
{{ noteView.note_vanilla(note) }}
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
{{ NoteFactory.constructor(args) }}
<hr>
{{ form(remove_favourite) }}
</div>
</div>

View File

@ -1,18 +1,20 @@
{% extends 'stdgrid.html.twig' %}
{% import "/cards/macros/note.html.twig" as noteView %}
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
{% block title %}{{ 'Repeat ' | trans }}{{ note.getActorNickname() }}{{ '\'s note.' | trans }}{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
{% endblock stylesheets %}
{% block body %}
{{ parent() }}
<div class="page">
<div class="main">
{{ noteView.note_vanilla(note) }}
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
{{ NoteFactory.constructor(args) }}
<hr>
{{ form(add_repeat) }}
</div>
</div>

View File

@ -1,18 +1,20 @@
{% extends 'stdgrid.html.twig' %}
{% import "/cards/macros/note.html.twig" as noteView %}
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
{% block title %}{{ 'Remove repeat from ' | trans }}{{ note.getActorNickname() }}{{ '\'s note.' | trans }}{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
{% endblock stylesheets %}
{% block body %}
{{ parent() }}
<div class="page">
<div class="main">
{{ noteView.note_vanilla(note) }}
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
{{ NoteFactory.constructor(args) }}
<hr>
{{ form(remove_repeat) }}
</div>
</div>

View File

@ -1,303 +1,268 @@
@import url(root.css);
@import url(reset.css);
@import url(widgets/buttons.css);
@import url(widgets/sections.css);
html {
font-family: 'Open Sans',sans-serif;
scroll-margin-top: var(--xxl);
}
html,html>* {
background-image: url('images/noise.png');
background-blend-mode: overlay;
}
hr {
margin-top: var(--s);
margin-bottom: var(--s);
font-family:'Open Sans',sans-serif;
background-image:url(images/noise.png);
background-blend-mode: soft-light;
}
.icon {
vertical-align: center;
fill: var(--foreground);
height: 1em;
width: 1em;
}
.active {
font: 600 1em Poppins,sans-serif;
}
.anchor-hidden {
height: 1px;
overflow: hidden;
width: 1px;
}
.accessibility-menu {
background-color: var(--background-hard) !important;
border: 2px solid var(--border);
border-radius: var(--s);
display: block;
height: min-content;
left: -90%;
padding: var(--s);
position: absolute;
top: -90%;
width: 30%;
z-index: 999;
background-color:var(--background-hard)!important;
border:2px solid var(--border);
border-radius:var(--s);
display:block;
height:min-content;
left:-90%;
padding:var(--s);
position:absolute;
top:-90%;
width:30%;
z-index:999;
}
.accessibility-menu ul {
list-style-type: disc;
margin-left: var(--m);
list-style-type:disc;
margin-left:var(--m);
}
.accessibility-menu:focus-within:not(:active) {
left: var(--s);
top: var(--s);
left:var(--s);
top:var(--s);
}
.page-header {
width: 100%;
align-items: center;
background: var(--background-hard);
box-shadow: var(--shadow);
display: flex;
height: var(--xxl);
padding: var(--s);
position: fixed;
top: 0;
z-index: 1;
.active {
font:900 1em "Open Sans",sans-serif;
}
.header-instance {
flex: 1;
text-align: center;
}
.header-instance * {
margin: unset;
}
.page-content-wrapper {
justify-content: center;
margin-left: auto;
margin-right: auto;
padding: var(--s) var(--s) 0;
position: relative;
top: var(--xxl);
}
.page-content {
display: flex;
flex-direction: column;
margin-top: var(--s);
width: 100%;
}
.markdown-blocks {
background-color: var(--background-card) !important;
border-radius: 0 0 var(--s) var(--s);
padding: var(--s);
}
.markdown-blocks ul {
list-style: disc;
margin-left: 1em;
}
.markdown-blocks ul li {
margin-bottom: .2em;
.anchor-hidden {
height:1px;
overflow:hidden;
width:1px;
}
.doc-navigation {
background-color: var(--background-card) !important;
border-bottom: 0;
border-radius: var(--s) var(--s) 0 0;
padding: var(--s);
background-color:var(--background-card)!important;
border-bottom:0;
border-radius:var(--s) var(--s) 0 0;
padding:var(--s);
}
.doc-navigation ul {
display: flex;
justify-content: space-evenly;
display:flex;
}
.header-instance {
margin-left:auto;
margin-right:auto;
text-align:center;
}
.icon {
height:1em;
vertical-align:center;
width:1em;
}
.markdown-blocks {
background-color:var(--background-card)!important;
border-radius:0 0 var(--s) var(--s);
padding:var(--s);
}
.markdown-blocks ul {
list-style:disc;
margin-left:1em;
}
.markdown-blocks ul li {
margin-bottom:.2em;
}
.page-content {
margin-top:var(--s);
width:100%;
}
.page-content-wrapper {
margin-left:auto;
margin-right:auto;
padding:var(--s) var(--s) 0;
position:relative;
top:var(--xxl);
}
.page-header {
background:var(--background-card);
box-shadow:var(--shadow);
display:inline-flex;
height:var(--xxl);
padding:var(--s);
position:fixed;
top:0;
z-index:1;
}
.page-header #toggle-panel-left {
float:left;
}
.page-header #toggle-panel-right {
float:right;
}
.page-header .header-instance {
text-align:center;
}
.section-panel {
padding: var(--s);
position: fixed;
top: var(--xxl);
}
.section-panel-left {
left: 0;
}
.section-panel-right {
right: 0;
}
.panel-left-icon,.panel-right-icon {
display: inherit;
padding:var(--s);
position:fixed;
top:var(--xxl);
}
.section-panel .panel-content {
display: block;
height: calc(100vh - var(--xxl));
overflow: auto;
display:block;
height:calc(100vh - var(--xxl));
overflow:auto;
}
@media only screen and (max-width:512px) {
.section-panel-left {
left:0;
}
.section-panel-right {
right:0;
}
hr {
margin-bottom:var(--s);
margin-top:var(--s);
}
@media only screen and (max-width: 512px) {
html {
font-size: 85%;
font-size:85%;
}
}
@media only screen and (max-width:1280px) {
.page-header {
width: 100%;
@media only screen and (max-width: 1280px) {
#toggle-panel-left:checked~.section-panel-left,#toggle-panel-right:checked~.section-panel-right {
background-color:var(--background-hard);
box-shadow:var(--shadow);
left:0;
width:100vw;
z-index:auto;
}
.page-content-wrapper {
width: 100%;
#toggle-panel-left:not(:checked)~.section-panel-left,#toggle-panel-right:not(:checked)~.section-panel-right {
display:none;
}
.page-content {
max-width: 100%;
max-width:100%;
}
label[for|="toggle-panel"] {
cursor: pointer;
.page-header,.page-content-wrapper {
width:100%;
}
input[id|="toggle-panel"] {
position: absolute;
top: -100%;
input[id|=toggle-panel] {
position:absolute;
top:-100%;
}
#toggle-panel-left:not(:checked) ~ .section-panel-left,#toggle-panel-right:not(:checked) ~ .section-panel-right {
display: none;
}
#toggle-panel-left:checked ~ .section-panel-left,#toggle-panel-right:checked ~ .section-panel-right {
left: 0;
width: 100vw;
z-index: auto;
background-color: var(--background-hard);
box-shadow: var(--shadow);
label[for|=toggle-panel] {
cursor:pointer;
}
}
@media only screen and (min-width:1281px) {
.page-header {
width: 100%;
}
label[for|="toggle-panel"],input[id|="toggle-panel"] {
display: none !important;
}
.section-panel {
width: 17vw;
}
@media only screen and (min-width: 1281px) {
.page-content-wrapper {
width: 66vw;
width:66vw;
}
a[id|="anchor"]:target+.accessibility-target {
animation-duration: 600ms;
animation-name: highlight;
animation-timing-function: ease-in-out;
}
}
@media only screen and (min-width:1921px) {
.page-header {
align-self: center;
width: 66vw;
}
label[for|="toggle-panel"],input[id|="toggle-panel"] {
display: none !important;
width:100%;
}
.section-panel {
width: 11vw;
width:17vw;
}
a[id|=anchor]:target+.accessibility-target {
animation-duration:.6s;
animation-name:highlight;
animation-timing-function:ease-in-out;
}
label[for|=toggle-panel],input[id|=toggle-panel] {
display:none!important;
}
}
@media only screen and (min-width: 1921px) {
.page-content-wrapper {
width:44vw;
}
.page-header {
width:66vw;
}
.section-panel {
width:11vw;
}
.section-panel-left {
left: 17vw;
left:17vw;
}
.section-panel-right {
right: 17vw;
right:17vw;
}
.page-content-wrapper {
width: 44vw;
label[for|=toggle-panel],input[id|=toggle-panel] {
display:none!important;
}
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(-10px);
opacity:0;
transform:translateY(-10px);
}
100% {
opacity: unset;
transform: none;
opacity:unset;
transform:none;
}
}
@keyframes fadeOut {
100% {
opacity: 0;
transform: translateY(-10px);
0% {
opacity:unset;
transform:none;
}
0% {
opacity: unset;
transform: none;
100% {
opacity:0;
transform:translateY(-10px);
}
}
@keyframes highlight {
0% {
border-radius: var(--s);
box-shadow: initial;
0%,100% {
border-radius:var(--s);
box-shadow:initial;
}
50% {
border-radius: var(--s);
box-shadow: inset 0 20px 40px #FFF;
transition: box-shadow .3s ease-in-out;
z-index: 666;
}
100% {
border-radius: var(--s);
box-shadow: initial;
}
0% {
border-radius: var(--s);
box-shadow: initial;
}
50% {
border-radius: var(--s);
box-shadow: inset 0 20px 40px #000;
transition: box-shadow .3s ease-in-out;
}
100% {
border-radius: var(--s);
box-shadow: initial;
border-radius:var(--s);
box-shadow:inset 0 20px 40px #fff;
transition:box-shadow .3s ease-in-out;
z-index:666;
}
}

View File

@ -0,0 +1,384 @@
.delete-button-container {
-moz-mask-image:url(icons/delete.svg);
-o-mask-image:url(icons/delete.svg);
-webkit-mask-image:url(icons/delete.svg);
mask-image:url(icons/delete.svg);
}
.embed {
border:unset;
display:flex;
padding:var(--s);
}
.embed .p-author,.embed .p-name,.note-author-url,.note-complementary-info a {
font-weight:600;
}
.embed .p-summary {
width:60%;
}
.embed .p-summary hr {
margin-bottom:var(--s);
margin-top:var(--s);
}
.embed header {
margin-bottom:var(--m);
width:100%;
}
.embed img {
margin-right:var(--s);
max-block-size:128px;
padding:unset;
width:auto;
}
.favourite-button-container {
-moz-mask-image:url(icons/heart.svg);
-o-mask-image:url(icons/heart.svg);
-webkit-mask-image:url(icons/heart.svg);
mask-image:url(icons/heart.svg);
}
.feed-actions-details summary,.note-actions-extra-details summary {
display:block;
}
.feed-actions-details-dropdown {
font-size:.937rem;
}
.feed-actions-details[open] svg {
height:auto;
width:1em;
}
.feed-actions-details[open]>.feed-actions-details-dropdown,.note-actions-extra-details[open]>summary+* {
background:var(--background-card);
border:1px solid var(--border);
border-radius:var(--s);
box-shadow:var(--shadow);
display:flex;
flex-direction:column;
padding:4px 8px;
position:absolute;
right:0;
width:max-content;
z-index:1;
}
.feed-actions-details[open]>summary,.note-actions-extra-details[open]>summary,.note-actions-set {
opacity:1!important;
}
.feed-empty .feed-background {
height:auto;
margin-left:auto;
margin-right:auto;
margin-top:var(--xxl);
opacity:3%;
width:40%;
}
.feed-empty,.note-end {
display:flex;
}
.feed-header {
align-items:center;
display:flex;
margin-bottom:var(--m);
}
.feed-header .feed-actions {
margin-left:auto;
text-transform:capitalize;
}
.feed-header>h1,.feed-header>h2,.feed-header>h3,.feed-header>h4,.feed-header>h5,.feed-header>h6 {
margin-bottom:unset;
}
.h-entry {
background-color:var(--background-card);
border-radius:var(--s);
display:flex;
flex-wrap:wrap;
}
.h-entry .embed[class*="p-"] {
padding:unset;
}
.h-entry a:focus {
text-decoration:underline;
}
.h-entry figure,.note-attachments-unit figure {
background:var(--gradient);
border-radius:var(--s);
margin:unset;
padding:var(--s);
}
.h-entry img,.note-attachments-unit figure img {
background:repeating-conic-gradient(#ffffff66 0 90deg,#ffffff33 0 180deg) 0 0/40px 40px round;
}
.h-entry-language {
background:var(--gradient-backwards);
border-radius:0 0 var(--s) 0;
color:var(--foreground);
float:right;
padding:6px 12px;
position:relative;
}
.h-entry:not(:first-child) {
margin-top:var(--s);
}
.h-entry:not(embed) {
border:1px solid var(--border);
}
.h-entry[id^="note-anchor-"]:target {
border:2px solid var(--accent)!important;
}
.hr-replies-end:last-of-type,.note-text-details[open] .note-text-details-summary small {
display:none;
}
.icon-eye-closed {
-moz-mask-image:url(icons/eye-closed.svg);
-o-mask-image:url(icons/eye-closed.svg);
-webkit-mask-image:url(icons/eye-closed.svg);
background-color:var(--foreground);
display:inline-flex;
height:1em;
mask-image:url(icons/eye-closed.svg);
width:1em;
}
.icon-eye-opened {
-moz-mask-image:url(icons/eye-opened.svg);
-o-mask-image:url(icons/eye-opened.svg);
-webkit-mask-image:url(icons/eye-opened.svg);
background-color:var(--foreground);
display:inline-flex;
height:1em;
mask-image:url(icons/eye-opened.svg);
width:1em;
}
.note-actions {
align-items:center;
display:flex;
flex:1;
flex-direction:initial;
justify-content:flex-end;
}
.note-actions-extra-details hr {
margin:unset;
}
.note-actions-extra-details ul {
display:flex;
flex-direction:column;
}
.note-actions-extra-details[open]>summary+*>a {
font-size:.937rem;
line-height:2;
}
.note-actions>li {
display:inline-block;
margin-left:8px;
}
.note-attachments {
display:flex;
flex-wrap:wrap;
}
.note-attachments-unit {
border-radius:var(--s);
display:flex;
height:min-content;
max-width:max-content;
padding:4px;
}
.note-attachments-unit:not(:only-child) {
margin-right:var(--s);
}
.note-attachments-unit>figure figcaption {
display:flex;
word-break:break-all;
}
.note-author-uri,.note-conversation-info,.note-text-details .note-text-details-summary small {
font-style:italic;
}
.note-complementary {
background:var(--gradient-backwards);
border-radius:var(--s) 0 var(--s) var(--s);
display:flex;
flex-wrap:wrap;
font-size:.937rem;
padding:4px 8px;
width:100%;
}
.note-complementary-info span {
display:block;
line-height:1.3;
}
.note-content {
border-radius:0 0 var(--s) var(--s);
display:block;
flex:1;
}
.note-info {
align-items:center;
display:flex;
overflow:auto;
text-overflow:ellipsis;
touch-action:manipulation;
white-space:nowrap;
}
.note-info .note-conversation-info,.note-info .note-author-uri {
margin-left:4px;
}
.note-info small,.note-actions-extra-details summary,.note-replies-start {
opacity:.5;
}
.note-info,embed header {
border-bottom:unset;
border-radius:0 var(--s) 0 0;
display:flex;
line-height:initial;
}
.note-replies .note-replies {
margin-left:1em;
}
.note-replies-indicator {
float:left;
margin-right:8px;
opacity:.66;
}
.note-replies-indicator::before {
content:'\201C';
font-size:1.5em;
opacity:.66;
}
.note-replies-parent {
font-size:.937rem;
opacity:.66;
}
.note-sidebar {
display:flex;
flex-direction:column;
padding:var(--s) 4px 4px var(--s);
}
.note-text {
word-break:break-all;
}
.note-text a {
text-decoration:underline!important;
}
.note-text-details-summary:after {
content:"\2193";
}
.note-text-details[open] summary:after {
content:"\2191";
float:right;
}
.note-wrapper {
flex:1;
height:inherit;
padding:4px;
}
.posting-extra [id|="note-compact"] {
border:unset;
border-bottom:1px solid var(--border);
}
.repeat-button-container {
-moz-mask-image:url(icons/repeat.svg);
-o-mask-image:url(icons/repeat.svg);
-webkit-mask-image:url(icons/repeat.svg);
mask-image:url(icons/repeat.svg);
}
.reply-button-container {
-moz-mask-image:url(icons/reply.svg);
-o-mask-image:url(icons/reply.svg);
-webkit-mask-image:url(icons/reply.svg);
mask-image:url(icons/reply.svg);
}
[id|="note-compact"] {
display:block;
max-height:16vh;
overflow:auto;
touch-action:manipulation;
width:100%;
word-break:break-all;
}
[id|="note-compact"] .note-sidebar {
all:unset;
display:inline-flex;
margin-right:4px;
}
[id|="note-compact"] .note-sidebar img,.note-sidebar img {
background:unset!important;
}
[id|="note-compact"] .note-wrapper {
padding:var(--s);
}
[id|="note-compact"] hr {
margin-bottom:4px;
margin-top:4px;
}
@media only screen and (max-width:1280px) {
.note-replies .note-replies {
margin-left:.33em;
}
.note-replies-indicator::before {
content:'\201C';
font-size:1em;
opacity:.66;
}
}

View File

@ -1,93 +0,0 @@
Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@ -1,36 +0,0 @@
@font-face {
font-family: 'Poppins';
src: local('Poppins Regular'), local('Poppins-Regular'),
url('Poppins-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: local('Poppins Bold Italic'), local('Poppins-BoldItalic'),
url('Poppins-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: local('Poppins Italic'), local('Poppins-Italic'),
url('Poppins-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: local('Poppins Bold'), local('Poppins-Bold'),
url('Poppins-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}

View File

@ -1,420 +0,0 @@
.favourite-button-container {
-moz-mask-image: url("../icons/heart.svg");
-o-mask-image: url("../icons/heart.svg");
-webkit-mask-image: url("../icons/heart.svg");
mask-image: url("../icons/heart.svg");
}
.reply-button-container {
-moz-mask-image: url("../icons/reply.svg");
-o-mask-image: url("../icons/reply.svg");
-webkit-mask-image: url("../icons/reply.svg");
mask-image: url("../icons/reply.svg");
}
.repeat-button-container {
-moz-mask-image: url("../icons/repeat.svg");
-o-mask-image: url("../icons/repeat.svg");
-webkit-mask-image: url("../icons/repeat.svg");
mask-image: url("../icons/repeat.svg");
}
.delete-button-container {
-moz-mask-image: url("../icons/delete.svg");
-o-mask-image: url("../icons/delete.svg");
-webkit-mask-image: url("../icons/delete.svg");
mask-image: url("../icons/delete.svg");
}
.icon-eye-opened {
background-color: var(--foreground);
-moz-mask-image: url("../icons/eye-opened.svg");
-o-mask-image: url("../icons/eye-opened.svg");
-webkit-mask-image: url("../icons/eye-opened.svg");
mask-image: url("../icons/eye-opened.svg");
display: inline-flex;
height: 1em;
width: 1em;
}
.icon-eye-closed {
background-color: var(--foreground);
-moz-mask-image: url("../icons/eye-closed.svg");
-o-mask-image: url("../icons/eye-closed.svg");
-webkit-mask-image: url("../icons/eye-closed.svg");
mask-image: url("../icons/eye-closed.svg");
display: inline-flex;
height: 1em;
width: 1em;
}
.embed {
border: unset;
display: flex;
padding: var(--s);
}
.embed .p-author,.embed .p-name {
font-weight: 600;
}
.embed .p-summary {
width: 60%;
}
.embed .p-summary hr {
margin-bottom: var(--s);
margin-top: var(--s);
}
.embed header {
margin-bottom: var(--m);
width: 100%;
}
.embed img {
padding: unset;
margin-right: var(--s);
max-block-size: 128px;
width: auto;
}
.feed-header>h1,.feed-header>h2,.feed-header>h3,.feed-header>h4,.feed-header>h5,.feed-header>h6 {
margin-bottom: unset;
}
.feed-actions-details summary,.note-actions-extra-details summary {
display: block;
}
.feed-actions-details-dropdown {
font-size: .937rem;
}
.feed-actions-details[open]>.feed-actions-details-dropdown,.note-actions-extra-details[open]>summary+* {
background: var(--background-card);
border: 1px solid var(--border);
border-radius: var(--s);
box-shadow: var(--shadow);
display: flex;
flex-direction: column;
padding: 4px 8px;
position: absolute;
right: 0;
width: max-content;
z-index: 1;
}
.feed-actions-details[open]>summary,.note-actions-extra-details[open]>summary {
opacity: 1 !important;
}
.feed-actions-details[open] svg {
height: auto;
width: 1em;
}
.feed-empty {
display: flex;
}
.feed-empty .feed-background {
height: auto;
margin-left: auto;
margin-right: auto;
margin-top: var(--xxl);
opacity: 3%;
width: 40%;
}
.feed-header {
display: flex;
margin-bottom: var(--m);
align-items: center;
}
.feed-header .feed-actions {
margin-left: auto;
text-transform: capitalize;
}
.h-entry {
background-color: var(--background-card);
border-radius: var(--s);
display: flex;
flex-wrap: wrap;
}
.h-entry .embed[class*="p-"] {
padding: unset;
}
.note-replies .note-replies {
margin-left: 1em;
}
.note-replies-indicator {
opacity: .66;
margin-right: 8px;
float: left;
}
.note-replies-indicator::before {
content: '\201C';
font-size: 1.5em;
opacity: .66;
}
.note-replies-parent {
opacity: .66;
font-size: .937rem;
}
.h-entry a:focus {
text-decoration: underline;
}
.h-entry figure,.note-attachments-unit figure {
background: var(--gradient);
border-radius: var(--s);
margin: unset;
padding: var(--s);
}
.h-entry img,.note-attachments-unit figure img {
background: repeating-conic-gradient(#ffffff66 0 90deg,#ffffff33 0 180deg) 0 0/40px 40px round;
}
.h-entry-language {
background: var(--gradient-backwards);
border-radius: 0 0 var(--s) 0;
color: var(--foreground);
float: right;
padding: 6px 12px;
position: relative;
}
.h-entry:not(:first-child) {
margin-top: var(--s);
}
.h-entry:not(embed) {
border: 1px solid var(--border);
}
.h-entry[id^="note-anchor-"]:target {
border: 2px solid var(--accent) !important;
}
.note-attachments {
display: flex;
flex-wrap: wrap;
}
.note-attachments-unit {
border-radius: var(--s);
display: flex;
max-width: max-content;
height: min-content;
padding: 4px;
}
.note-attachments-unit>figure figcaption {
display: flex;
word-break: break-all;
}
.note-attachments-unit:not(:only-child) {
margin-right: var(--s);
}
.note-info,embed header {
border-bottom: unset;
border-radius: 0 var(--s) 0 0;
display: flex;
line-height: initial;
}
.note-info {
display: flex;
align-items: center;
white-space: nowrap;
overflow: auto;
touch-action: manipulation;
text-overflow: ellipsis;
}
.note-info .note-conversation-info,.note-info .note-author-uri {
margin-left: 4px;
}
.note-info small {
opacity: .5;
}
.note-author-url {
font-weight: 600;
}
.note-author-uri,.note-conversation-info {
font-style: italic;
}
.note-actions {
display: flex;
flex-direction: initial;
justify-content: flex-end;
flex: 1;
align-items: center;
}
.note-actions>li {
display: inline-block;
margin-left: 8px;
}
.note-actions-extra-details ul {
display: flex;
flex-direction: column;
}
.note-actions-extra-details hr {
margin: unset;
}
.note-actions-extra-details summary {
opacity: .5;
}
.note-actions-extra-details[open]>summary+*>a {
font-size: .937rem;
line-height: 2;
}
.note-actions-set {
opacity: 1 !important;
}
.note-end {
display: flex;
}
.note-complementary {
width: 100%;
display: flex;
flex-wrap: wrap;
font-size: .937rem;
background: var(--gradient-backwards);
padding: 4px 8px;
border-radius: var(--s) 0 var(--s) var(--s);
}
.note-complementary:empty,.note-complementary:-moz-only-whitespace {
display: none !important;
}
.note-complementary-info a {
font-weight: 600;
}
.note-complementary-info span {
display: block;
line-height: 1.3;
}
.note-content {
border-radius: 0 0 var(--s) var(--s);
display: block;
flex: 1;
}
.note-replies-start {
opacity: .5;
}
.hr-replies-end:last-of-type {
display: none;
}
.note-sidebar {
display: flex;
flex-direction: column;
padding: var(--s) 4px 4px var(--s);
}
.note-text {
word-break: break-all;
}
.note-text a {
text-decoration: underline !important;
}
.note-text-details-summary:after {
content: "\2193";
}
.note-text-details .note-text-details-summary small {
font-style: italic;
}
.note-text-details[open] summary:after {
content: "\2191";
float: right;
}
.note-text-details[open] .note-text-details-summary small {
display: none;
}