400 lines
6.3 KiB
CSS
400 lines
6.3 KiB
CSS
.ps-1
|
|
{
|
|
padding-left: 1em;
|
|
}
|
|
.pe-1
|
|
{
|
|
padding-right: 1em;
|
|
}
|
|
.pt-1
|
|
{
|
|
padding-top: 1em;
|
|
}
|
|
.pb-1
|
|
{
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
.ps-2
|
|
{
|
|
padding-left: 2em;
|
|
}
|
|
.pe-2
|
|
{
|
|
padding-right: 2em;
|
|
}
|
|
.pt-2
|
|
{
|
|
padding-top: 2em;
|
|
}
|
|
.pb-2
|
|
{
|
|
padding-bottom: 2em;
|
|
}
|
|
|
|
.ps-3
|
|
{
|
|
padding-left: 3em;
|
|
}
|
|
.pe-3
|
|
{
|
|
padding-right: 3em;
|
|
}
|
|
.pt-3
|
|
{
|
|
padding-top: 3em;
|
|
}
|
|
.pb-3
|
|
{
|
|
padding-bottom: 3em;
|
|
}
|
|
|
|
.flex
|
|
{
|
|
display: flex;
|
|
}
|
|
.block
|
|
{
|
|
display: block;
|
|
}
|
|
.inline
|
|
{
|
|
display: inline;
|
|
}
|
|
.hidden
|
|
{
|
|
display: none;
|
|
}
|
|
.row
|
|
{
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.column
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.gapx-1 > *
|
|
{
|
|
margin-left: .4em;
|
|
margin-right: .4em;
|
|
}
|
|
.gapx-1 > *:first-child, .gapx-2 > *:first-child, .gapx-3 > *:first-child
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.gapx-1 > *:last-child, .gapx-2 > *:last-child, .gapx-3 > *:last-child
|
|
{
|
|
margin-right: 0;
|
|
}
|
|
.gapx-2 > *
|
|
{
|
|
margin-left: .8em;
|
|
margin-right: .8em;
|
|
}
|
|
.gapx-3 > *
|
|
{
|
|
margin-left: 1.2em;
|
|
margin-right: 1.2em;
|
|
}
|
|
.gapy-1 > *
|
|
{
|
|
margin-top: .4em;
|
|
margin-bottom: .4em;
|
|
}
|
|
.gapy-1 > *:first-child, .gapy-2 > *:first-child, .gapy-3 > *:first-child
|
|
{
|
|
margin-top: 0;
|
|
}
|
|
.gapy-1 > *:last-child, .gapy-2 > *:last-child, .gapy-3 > *:last-child
|
|
{
|
|
margin-bottom: 0;
|
|
}
|
|
.gapy-2 > *
|
|
{
|
|
margin-top: .8em;
|
|
margin-bottom: .8em;
|
|
}
|
|
.gapy-3 > *
|
|
{
|
|
margin-top: 1.2em;
|
|
margin-bottom: 1.2em;
|
|
}
|
|
|
|
html.dark-mode .dark-hidden {
|
|
display: none;
|
|
}
|
|
|
|
html.dark-mode .dark-block {
|
|
display: block;
|
|
}
|
|
|
|
html.light-mode .light-hidden {
|
|
display: none;
|
|
}
|
|
|
|
html.light-mode .light-block {
|
|
display: block;
|
|
}
|
|
|
|
.align-baseline {
|
|
align-items: baseline;
|
|
}
|
|
.align-center {
|
|
align-items: center;
|
|
}
|
|
.align-stretch {
|
|
align-items: stretch;
|
|
}
|
|
.justify-center {
|
|
justify-content: center;
|
|
}
|
|
.justify-between {
|
|
justify-content: space-between;
|
|
}
|
|
.justify-evenly {
|
|
justify-content: space-evenly;
|
|
}
|
|
.justify-around {
|
|
justify-content: space-around;
|
|
}
|
|
|
|
@media screen and (max-width: 750px) {
|
|
.mobile-bigger {
|
|
flex: 3 1 0 !important;
|
|
}
|
|
.mobile-smaller {
|
|
flex: 1 3 0 !important;
|
|
}
|
|
.mobile-hidden {
|
|
display: none !important;
|
|
}
|
|
.mobile-block {
|
|
display: inherit !important;
|
|
}
|
|
}
|
|
@media screen and (min-width: 750px) {
|
|
.desktop-bigger {
|
|
flex: 3 1 0 !important;
|
|
}
|
|
.desktop-smaller {
|
|
flex: 1 3 0 !important;
|
|
}
|
|
.desktop-hidden {
|
|
display: none !important;
|
|
}
|
|
.desktop-block {
|
|
display: inherit !important;
|
|
}
|
|
}
|
|
|
|
|
|
.input-form.input-form-wide {
|
|
width: 600px;
|
|
min-height: 300px;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.input-form {
|
|
width: 400px;
|
|
min-height: 200px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 2em 2em 2em 2em;
|
|
border: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.input-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: .5em;
|
|
}
|
|
|
|
.input-form h1 {
|
|
margin-top: 0px;
|
|
font-size: x-large;
|
|
}
|
|
|
|
.input-form button {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.input-group .input-label {
|
|
padding: 4px 1em;
|
|
}
|
|
|
|
.input-error {
|
|
padding: .5em 1em 4px;
|
|
color: var(--text-error);
|
|
user-select: text;
|
|
}
|
|
|
|
.input-group .input-input.input-has-error {
|
|
border-color: var(--text-error);
|
|
}
|
|
|
|
.password-validation-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: .5em 2em;
|
|
}
|
|
|
|
.password-validation-title {
|
|
font-style: italic;
|
|
font-size: small;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.password-validation-item {
|
|
font-size: small;
|
|
padding-left: .5em;
|
|
}
|
|
|
|
.password-validation-item pre {
|
|
user-select: text;
|
|
}
|
|
|
|
.password-validation-item.validation-error {
|
|
color: var(--text-error);
|
|
}
|
|
|
|
.loading {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.loading:after {
|
|
content: '';
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 4px solid var(--color-purple);
|
|
border-right-color: transparent;
|
|
border-radius: 50%;
|
|
box-sizing: content-box;
|
|
animation: rotate 1s linear infinite;
|
|
}
|
|
|
|
.input-form a {
|
|
padding: .5em;
|
|
text-align: center;
|
|
font-style: italic;
|
|
font-weight: var(--font-extrabold);
|
|
}
|
|
|
|
.tree-item-self[data-type]:after {
|
|
content: attr(data-type);
|
|
border: 1px solid var(--background-modifier-border);
|
|
background-color: var(--background-primary-alt);
|
|
padding: 0 4px;
|
|
border-radius: 4px;
|
|
font-size: var(--font-smaller);
|
|
font-variant: all-petite-caps;
|
|
}
|
|
|
|
.suggestion-subtext {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: var(--font-smaller);
|
|
font-style: italic;
|
|
}
|
|
|
|
.arrow-down {
|
|
border: 2px solid var(--background-modifier-border-focus);
|
|
border-top-color: transparent;
|
|
border-left-color: transparent;
|
|
width: 10px;
|
|
height: 10px;
|
|
transform: rotate(45deg);
|
|
position: relative;
|
|
left: 8px;
|
|
top: -3px;
|
|
}
|
|
|
|
.projects-container {
|
|
flex: 1 1;
|
|
padding: 2em 4em;
|
|
}
|
|
|
|
.project-list {
|
|
display: flex;
|
|
}
|
|
|
|
.project-item {
|
|
margin: 1em;
|
|
padding: .5em;
|
|
border: 1px solid var(--background-modifier-border);
|
|
width: 45%;
|
|
}
|
|
|
|
.project-title {
|
|
font-size: var(--font-ui-large);
|
|
font-weight: var(--font-bold);
|
|
display: block;
|
|
}
|
|
|
|
.project-user {
|
|
font-size: var(--font-small);
|
|
display: inline;
|
|
}
|
|
|
|
.project-pages {
|
|
display: inline;
|
|
float: inline-end;
|
|
font-size: var(--font-small);
|
|
}
|
|
|
|
.arrow-group {
|
|
position: absolute;
|
|
left: -1em;
|
|
top: calc(100% + 7px);
|
|
border: 1px solid var(--background-modifier-border);
|
|
background-color: var(--background-primary);
|
|
z-index: 99;
|
|
text-wrap: nowrap;
|
|
display: none;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.arrow-down.active + .arrow-group {
|
|
display: flex;
|
|
}
|
|
|
|
.arrow-group .arrow-group-item {
|
|
padding: 8px 1em;
|
|
font-weight: var(--font-medium);
|
|
color: var(--text-normal);
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.arrow-group .arrow-group-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.arrow-group .arrow-group-item:hover {
|
|
background-color: var(--background-primary-alt);
|
|
}
|
|
|
|
.link-icon {
|
|
display: inline-block;
|
|
vertical-align: sub;
|
|
}
|
|
|
|
.mobile-nav-bar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.mobile-nav-bar-text {
|
|
padding: .25em;
|
|
font-size: larger;
|
|
color: var(--text-color);
|
|
font-weight: bolder;
|
|
} |