Initial commit.

This commit is contained in:
Frank419
2024-08-20 07:44:34 +08:00
commit 942a4c151f
61 changed files with 7781 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
:root {
counter-reset: headings;
}
.singular-main h2 {
position: relative;
counter-increment: headings;
}
.singular-main h2::before {
content: counter(headings);
display: inline-flex;
justify-content: center;
align-items: center;
width: 2em;
height: 2em;
background-color: var(--minimalistflex-tint);
color: var(--minimalistflex-contrast);
margin-right: 12px;
}
.singular-main h2::after {
content: "";
display: block;
position: absolute;
bottom: 0;
right: 0;
width: calc(100% - 2em);
height: 4px;
background: linear-gradient(90deg, var(--minimalistflex-tint), var(--minimalistflex-tint-alt));
}
+41
View File
@@ -0,0 +1,41 @@
.palettes {
padding: 0;
margin: 0;
list-style-type: none;
display: flex;
flex-direction: column;
align-items: center;
}
.palette {
width: 100%;
position: relative;
text-align: center;
cursor: default;
border: solid 1px #c3c4c7;
box-sizing: border-box;
background-size: cover;
background-position: center center;
}
.palette > button {
display: block;
width: 100%;
box-sizing: content-box;
border: none;
border-radius: 0;
background-color: transparent;
color: inherit;
padding: 9px 0;
line-height: 1.6;
}
.palette > button:hover {
background-color: #ffffff3f;
}
#minimalistflex-palette-galatic,
#minimalistflex-palette-dark {
color: #fff;
}
+53
View File
@@ -0,0 +1,53 @@
/*
* This file is used to style the editor.
*/
:root :where(body) {
line-height: 2em;
margin: 0 10%;
}
tt,
kbd,
code,
pre {
font-family: Hack, 'Courier New', Courier, monospace;
background-color: #111 !important;
color: #fff !important;
border-radius: 2px;
padding: 5px 10px;
overflow-x: auto;
}
code:has(br) {
display: inline-block;
}
blockquote,
address {
border-left: solid 3px #ffd900;
padding-left: 1em;
}
dt {
font-weight: bold;
}
table {
border: none;
border-collapse: collapse;
}
table thead,
table tbody tr:not(:last-child) {
border-bottom: solid 1px #000;
}
table thead,
table tbody tr:nth-child(2n) {
background-color: color-mix(
in srgb,
#f0f0f0,
transparent 25%
)
}
+20
View File
@@ -0,0 +1,20 @@
@media screen and (max-width: 782px) {
.minimalistflex-content {
width: 67%;
}
.minimalistflex-sidebar {
width: 33%;
}
}
@media screen and (max-width: 600px) {
.minimalistflex-content,
.minimalistflex-sidebar {
width: 100%;
}
.minimalistflex-master {
flex-wrap: wrap;
}
}
+58
View File
@@ -0,0 +1,58 @@
.placeholder {
width: 100%;
position: relative;
text-align: center;
cursor: default;
border: 1px dashed #c3c4c7;
box-sizing: border-box;
padding: 9px 0;
line-height: 1.6;
}
.images:has(.image-item) + .placeholder {
display: none;
}
.suggested-image-item,
.image-item {
width: 100%;
height: 150px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
-webkit-box-shadow: inset 0 0 15px rgba(0,0,0,.1), inset 0 0 0 1px rgba(0,0,0,.05);
box-shadow: inset 0 0 15px rgba(0,0,0,.1), inset 0 0 0 1px rgba(0,0,0,.05);
background: #eee;
cursor: pointer;
vertical-align: middle;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
}
.suggested-image-item::before,
.image-item::before {
content: '';
position: absolute;
display: none;
top: 0px;
right: 0px;
left: 0px;
bottom: 0px;
box-shadow: 0 0 0 5px #2271b1 inset;
}
.image-item::before {
box-shadow: 0 0 0 5px #b12222 inset;
}
.suggested-image-item:hover::before,
.image-item:hover::before {
display: block;
}
.actions {
padding: 1em 0;
}