Initial Release
This commit is contained in:
@@ -0,0 +1,385 @@
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Widget: Latest Articles */
|
||||
div.widget {
|
||||
max-width: 1024px;
|
||||
box-sizing: border-box;
|
||||
margin: auto;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
div.widget-wrapper {
|
||||
width: 100%;
|
||||
padding: 32px;
|
||||
margin-top: -56px;
|
||||
padding-top: 56px;
|
||||
border: 2px solid var(--background-layer-2);
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
box-sizing: border-box;
|
||||
background: var(--background-layer-4) url('file://images/background-blog.png');
|
||||
}
|
||||
|
||||
div.widget-latest-articles,
|
||||
div.widget-latest-controls {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
overflow: hidden;
|
||||
scroll-behavior: smooth;
|
||||
scroll-snap-align: center;
|
||||
}
|
||||
|
||||
div.widget-latest-controls {
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
div.latest-item {
|
||||
display: flex;
|
||||
min-width: 100%;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
img.latest-banner {
|
||||
background-color: var(--background-layer-4);
|
||||
border: 2px solid var(--background-layer-1);
|
||||
height: 256px;
|
||||
width: calc(256px * 1.78);
|
||||
aspect-ratio: 16 / 9;
|
||||
box-sizing: border-box;
|
||||
object-fit: cover;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
div.latest-content {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
div.latest-info {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Widget: Latest Articles Controls */
|
||||
div.latest-spacer {
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
div.latest-controls {
|
||||
display: flex;
|
||||
flex-basis: 100%;
|
||||
justify-content: center;
|
||||
place-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.dot-circle {
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
padding: 0;
|
||||
margin: 0 8px;
|
||||
border-radius: 100%;
|
||||
background-color: var(--text-layer-1);
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
}
|
||||
|
||||
.dot-active {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin: 0 4px;
|
||||
background-color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
/* Browser: Layout */
|
||||
div.main-wrapper {
|
||||
margin: auto;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
div.main-aside {
|
||||
width: 100%;
|
||||
flex-basis: 25%;
|
||||
max-width: 25%;
|
||||
height: fit-content;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
div.main-aside,
|
||||
div.main-content {
|
||||
padding: 16px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.main-content {
|
||||
max-width: 75%;
|
||||
flex-basis: 75%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
box-sizing: border-box;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
div.main-content::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Browser: Filters */
|
||||
a.filter-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
width: 100%;
|
||||
margin-top: 8px;
|
||||
padding: 4px 8px;
|
||||
box-sizing: border-box;
|
||||
transition: var(--transition-time) ease-in-out background-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.filter-active,
|
||||
a.filter-link:hover,
|
||||
a.filter-link:focus-visible {
|
||||
background-color: var(--background-layer-2);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img.filter-icon {
|
||||
border-radius: 8px;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
box-sizing: border-box;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
img.icon-small {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
p.filter-name {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Browser: Articles */
|
||||
a.collection-item {
|
||||
width: 100%;
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 8px;
|
||||
transition: var(--transition-time) ease-in-out background-color;
|
||||
}
|
||||
|
||||
a.collection-item:hover,
|
||||
a.collection-item:focus-visible {
|
||||
background-color: var(--background-layer-3);
|
||||
}
|
||||
|
||||
img.item-banner {
|
||||
height: 80px;
|
||||
width: calc(80px * 1.78);
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: 8px;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
box-sizing: border-box;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
div.item-content {
|
||||
flex-basis: 100%;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
div.item-content p.text-header {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.item-info {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* Browser: Special */
|
||||
div.collection-empty {
|
||||
width: 100%;
|
||||
padding: 32px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.collection-empty img {
|
||||
height: 128px;
|
||||
width: 128px;
|
||||
image-rendering: pixelated;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
div.collection-pageselect {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* Article: Chapters */
|
||||
div.article-chapters {
|
||||
position: sticky;
|
||||
display: grid;
|
||||
top: 56px;
|
||||
gap: 8px;
|
||||
min-width: fit-content;
|
||||
}
|
||||
|
||||
a.mobile-home {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
width: fit-content;
|
||||
padding: 4px 12px;
|
||||
border-color: var(--background-layer-0);
|
||||
background-color: var(--background-layer-1);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
div.article-chapters a {
|
||||
text-decoration: none;
|
||||
transition: var(--transition-time) ease-in-out color;
|
||||
}
|
||||
|
||||
div.article-chapters a:hover,
|
||||
div.article-chapters a[active] {
|
||||
color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
div.article-chapters a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Article: Header */
|
||||
img.article-banner {
|
||||
width: calc(256px* 3);
|
||||
max-width: 100%;
|
||||
object-fit: cover;
|
||||
aspect-ratio: 3 / 1;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
div.article-header {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
div.article-header>div.item-info {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
p.article-header,
|
||||
div.article-header>p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
div.background-scroll {
|
||||
animation: background-scroll 160s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes background-scroll {
|
||||
0% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 0 160px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
div.main-wrapper {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.main-aside {
|
||||
flex-basis: 100%;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
div.main-content {
|
||||
flex-basis: 100%;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
div.latest-item {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
div.item-info {
|
||||
gap: 8px;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
div.item-info p.item-bull {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img.latest-banner {
|
||||
width: 100%;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
div.latest-spacer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a.mobile-home {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.article-chapters {
|
||||
display: none;
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
div.article-header {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
div.widget-wrapper {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding-bottom: 16px;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
/* Disable Special Effects */
|
||||
div.background-scroll {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,431 @@
|
||||
img.element-banner {
|
||||
/* Specifically for the Banner on the introduction article */
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
p {
|
||||
/* Expand the wall of text to make it a little easier to digest */
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
html,
|
||||
div.layout-content {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
div.wrapper-layout {
|
||||
position: relative;
|
||||
max-width: 1024px;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
div.layout-navigation {
|
||||
background: var(--background-layer-4) url('file://library/background-navigation.png');
|
||||
border: 2px solid var(--background-layer-2);
|
||||
border-bottom: none;
|
||||
border-top: none;
|
||||
width: 300px;
|
||||
max-width: 300px;
|
||||
max-height: 100vh;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
div.layout-navigation::-webkit-scrollbar,
|
||||
div.layout-content::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.layout-navigation,
|
||||
div.layout-content {
|
||||
padding: 16px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.layout-content {
|
||||
overflow-y: scroll;
|
||||
height: 100vh;
|
||||
flex-basis: 70%;
|
||||
max-width: 70%;
|
||||
}
|
||||
|
||||
/* Layout: Navigation */
|
||||
img.navigation-logo {
|
||||
width: 100%;
|
||||
height: 64px;
|
||||
object-fit: contain;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
p.navigation-header {
|
||||
color: var(--background-layer-0);
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
a.navigation-link {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
}
|
||||
|
||||
a.navigation-link:hover,
|
||||
a.navigation-link:focus-visible,
|
||||
a.navigation-link[active] {
|
||||
background-color: var(--background-layer-1);
|
||||
}
|
||||
|
||||
a.navigation-chapter {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-left: 16px;
|
||||
text-decoration: none;
|
||||
box-sizing: border-box;
|
||||
transition: var(--transition-time) ease-in-out color;
|
||||
font-size: small;
|
||||
/* overflow stuff */
|
||||
width: 264px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
a.navigation-chapter:hover,
|
||||
a.navigation-chapter:focus-visible,
|
||||
a.navigation-chapter[active] {
|
||||
color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
a#skipper:focus,
|
||||
button.navigation-button {
|
||||
display: block;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-5);
|
||||
padding: 4px 8px;
|
||||
width: 100%;
|
||||
color: var(--text-layer-3);
|
||||
transition: var(--transition-time) ease-in-out border-color;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
a#skipper:focus,
|
||||
button.navigation-button:hover,
|
||||
button.navigation-button:focus-visible {
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
border-color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
a#skipper {
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
a#skipper:focus {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* Layout: Search */
|
||||
div.wrapper-search {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 999;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: rgba(29, 30, 46, .5);
|
||||
}
|
||||
|
||||
div.search-actions {
|
||||
display: flex
|
||||
}
|
||||
|
||||
button.search-close {
|
||||
min-width: 48px;
|
||||
height: 48px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 0 8px 0 0;
|
||||
background-color: var(--background-layer-4);
|
||||
border: 2px solid var(--background-layer-1);
|
||||
box-sizing: border-box;
|
||||
font-size: xx-large;
|
||||
line-height: 100%;
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
color: var(--text-layer-3);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
button.search-close:hover,
|
||||
button.search-close:focus-visible {
|
||||
border-color: var(--background-layer-0);
|
||||
/* color: var(--background-layer-0); */
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input.search-input {
|
||||
width: 552px;
|
||||
height: 48px;
|
||||
padding: 12px;
|
||||
font-size: large;
|
||||
border-radius: 8px 0 0 0;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-4);
|
||||
border-right: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
input.search-input::placeholder {
|
||||
color: var(--text-layer-3);
|
||||
}
|
||||
|
||||
div.search-body {
|
||||
width: 600px;
|
||||
max-width: 100%;
|
||||
height: 320px;
|
||||
padding: 4px 12px;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-4);
|
||||
border-top: none;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
div.search-body div.pane {
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
align-content: center;
|
||||
overflow-y: auto;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
div.search-body div.pane::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
div.search-body div.pane::-webkit-scrollbar-thumb {
|
||||
background-color: var(--background-layer-1);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
div.search-body div.pane img {
|
||||
image-rendering: pixelated;
|
||||
height: 128px;
|
||||
width: 128px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
div.search-body div.pane>span {
|
||||
color: var(--background-layer-0);
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.search-body div.pane#results {
|
||||
/* Pushes results to the top and fixes scroll */
|
||||
display: flex;
|
||||
}
|
||||
|
||||
div.search-result {
|
||||
height: fit-content;
|
||||
width: calc(100% - 4px);
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
a.search-item {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-5);
|
||||
transition: var(--transition-time) ease-in-out border-color;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
a.search-item:hover,
|
||||
a.search-item:focus-visible {
|
||||
border-color: var(--background-layer-0);
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
a.search-item p span {
|
||||
color: var(--background-layer-0);
|
||||
text-decoration: underline;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
a.search-item p {
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a.search-item p::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
background: var(--background-layer-5);
|
||||
background: linear-gradient(90deg, transparent 0%, var(--background-layer-5) 100%);
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
div.search-footer {
|
||||
display: flex;
|
||||
background: var(--background-layer-4);
|
||||
border: 2px solid var(--background-layer-1);
|
||||
border-top: none;
|
||||
box-sizing: border-box;
|
||||
border-radius: 0 0 8px 8px;
|
||||
white-space: nowrap;
|
||||
padding: 2px 12px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
div.search-footer span {
|
||||
color: var(--background-layer-0);
|
||||
font-family: monospace;
|
||||
font-size: small;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.search-footer p {
|
||||
font-size: small;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Layout: Content */
|
||||
a.layout-return {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
width: fit-content;
|
||||
padding: 4px 12px;
|
||||
border-color: var(--background-layer-0);
|
||||
background-color: var(--background-layer-1);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
div.background-scroll {
|
||||
animation: background-scroll 320s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes background-scroll {
|
||||
0% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 0 320px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet Styling */
|
||||
@media screen and (max-width: 1024px) {
|
||||
div.layout-navigation {
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
div.wrapper-layout {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.layout-navigation {
|
||||
max-height: fit-content;
|
||||
}
|
||||
|
||||
div.layout-navigation {
|
||||
border: none;
|
||||
min-width: 100%;
|
||||
height: fit-content;
|
||||
border-bottom: 1px solid var(--background-layer-1);
|
||||
/* Remove Shadow */
|
||||
filter: none;
|
||||
}
|
||||
|
||||
div.layout-content {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: fit-content;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
img.navigation-logo {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
a.layout-return {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.layout-spacer {
|
||||
/* Just enough space for a.action-home not to get in the way */
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
/* Disable Special Effects */
|
||||
div.background-scroll {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
a.navigation-chapter {
|
||||
width: 100%;
|
||||
color: var(--text-layer-1) !important;
|
||||
}
|
||||
|
||||
input.navigation-search {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.navigation-results {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.container-search {
|
||||
width: calc(100% - 16px);
|
||||
}
|
||||
|
||||
div.search-body {
|
||||
border-radius: 0 0 8px 8px;
|
||||
}
|
||||
|
||||
div.search-footer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
div.widget {
|
||||
padding: 16px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Widget: Hero */
|
||||
div.widget-hero-wrapper {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
margin-top: -56px;
|
||||
padding-top: 56px;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.widget-hero {
|
||||
max-width: 1024px;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
background: url('file://images/background-home.png') no-repeat center right;
|
||||
}
|
||||
|
||||
div.widget-hero a {
|
||||
color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
|
||||
div.widget-hero {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
a.game-item {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
div.widget-hero-wrapper {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: fit-content;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,220 @@
|
||||
div.wrapper-footer {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
/* Widget: Header */
|
||||
div.wrapper-widget-hero {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
margin-top: -56px;
|
||||
padding-top: 56px;
|
||||
border-bottom: 2px solid var(--background-layer-0);
|
||||
}
|
||||
|
||||
div.widget-hero {
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
max-width: 1024px;
|
||||
padding: 64px 0;
|
||||
text-align: center;
|
||||
background: url('file://images/background-cat.png') no-repeat left;
|
||||
}
|
||||
|
||||
/* Widget: Project Layout */
|
||||
div.widget-project {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
padding: 0;
|
||||
border-bottom: 2px solid var(--accent);
|
||||
}
|
||||
|
||||
div.project-background,
|
||||
div.project-foreground {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
div.project-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: var(--brightness);
|
||||
background-image: var(--background);
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
div.project-foreground {
|
||||
max-width: 1024px;
|
||||
padding: 16px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
div.project-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Project: Metadata */
|
||||
div.project-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 8px;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
div.project-header p.text-header {
|
||||
color: var(--accent);
|
||||
font-size: x-large;
|
||||
}
|
||||
|
||||
div.project-platforms {
|
||||
height: fit-content;
|
||||
width: fit-content;
|
||||
display: flex;
|
||||
white-space: nowrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
img.platform-icon {
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
div.project-info,
|
||||
div.project-gallery,
|
||||
div.project-actions,
|
||||
div.project-gallery-actions {
|
||||
flex-basis: 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
div.project-info {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
box-sizing: border-box;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
div.project-description {
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
/* Project: Screenshots */
|
||||
div.project-gallery {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
div.project-gallery-upper {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
div.project-gallery-scroll {
|
||||
scroll-behavior: smooth;
|
||||
display: flex;
|
||||
overflow-y: hidden;
|
||||
overflow-x: scroll;
|
||||
flex-basis: 100%;
|
||||
margin-bottom: 8px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
div.project-gallery-scroll::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img.gallery-image {
|
||||
border: 2px solid var(--accent);
|
||||
box-sizing: border-box;
|
||||
border-radius: 8px;
|
||||
min-width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
button.project-gallery-button {
|
||||
min-height: 100%;
|
||||
flex-basis: 100%;
|
||||
max-width: 7.5%;
|
||||
font-size: xx-large;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
transition: var(--transition-time) ease-in-out color;
|
||||
}
|
||||
|
||||
button.project-gallery-button:hover,
|
||||
button.project-gallery-button:focus-visible {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* Project: Actions */
|
||||
div.project-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Project: Screenshot Controls */
|
||||
div.project-gallery-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
div.gallery-dot {
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
margin: 0 8px;
|
||||
border-radius: 100%;
|
||||
background-color: var(--text-layer-1);
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
}
|
||||
|
||||
div.gallery-dot-active {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin: 0 6px;
|
||||
background-color: var(--accent);
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
|
||||
/* Not redoing all divs so yeah */
|
||||
div.project-gallery-actions {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.project-info,
|
||||
div.project-gallery,
|
||||
div.project-actions,
|
||||
div.project-gallery-actions {
|
||||
flex-basis: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
div.project-content,
|
||||
div.project-foreground {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
div.project-lower {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
div.project-header {
|
||||
display: block
|
||||
}
|
||||
|
||||
img.gallery-image {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,314 @@
|
||||
/* Element: Paragraph Hint */
|
||||
span.text-hint,
|
||||
p.text-quote {
|
||||
opacity: 0.75;
|
||||
font-size: small;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Element: Paragraph Code */
|
||||
span.text-code {
|
||||
font-size: large;
|
||||
background-color: var(--background-layer-3);
|
||||
color: var(--background-layer-0);
|
||||
font-family: monospace;
|
||||
border-radius: 4px;
|
||||
padding: 2px 4px;
|
||||
}
|
||||
|
||||
/* Element: Paragraph Highlight */
|
||||
a.link-highlight {
|
||||
color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
/* Element: Beanie */
|
||||
img.element-beanie {
|
||||
background: var(--background-layer-4);
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
height: 128px;
|
||||
margin: 8px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* Element: Header */
|
||||
p.element-header {
|
||||
color: var(--background-layer-0);
|
||||
font-size: x-large;
|
||||
font-weight: 600;
|
||||
border-bottom: 1px dashed var(--background-layer-0);
|
||||
margin-bottom: 8px;
|
||||
/* Fixes navbar being on top of element when using anchors */
|
||||
padding-top: 64px;
|
||||
margin-top: -32px;
|
||||
}
|
||||
|
||||
div.layout-content p.element-header:first-child {
|
||||
/* Remove Padding for first header in Library */
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p.element-subheader {
|
||||
color: var(--background-layer-0);
|
||||
font-weight: 600;
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
div.layout-content p.element-subheader:first-child {
|
||||
/* Remove Padding for first header in Library */
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* Element: Code Block */
|
||||
|
||||
div.element-code {
|
||||
position: relative;
|
||||
background-color: var(--background-layer-4);
|
||||
border: 2px solid var(--background-layer-1);
|
||||
box-sizing: border-box;
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
margin: 6px 0 12px 0;
|
||||
}
|
||||
|
||||
div.element-code pre,
|
||||
div.element-code pre span {
|
||||
font-family: monospace;
|
||||
font-size: 14px;
|
||||
overflow-x: scroll;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
span.hljs-attr,
|
||||
span.hljs-keyword,
|
||||
span.hljs-string {
|
||||
color: #a1a8ff;
|
||||
}
|
||||
|
||||
span.hljs-comment {
|
||||
color: #bababe;
|
||||
}
|
||||
|
||||
div.element-code:hover {
|
||||
/* Remove padding so it doesn't shift page content */
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
div.element-code:hover pre {
|
||||
/* Padding for scrollbar so it doesn't touch text directly */
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
div.element-code pre::-webkit-scrollbar {
|
||||
height: 0;
|
||||
}
|
||||
|
||||
div.element-code:hover pre::-webkit-scrollbar {
|
||||
height: 4px;
|
||||
}
|
||||
|
||||
div.element-code pre::-webkit-scrollbar-thumb {
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
div.element-code:hover pre::-webkit-scrollbar-thumb {
|
||||
background-color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
div.element-code button {
|
||||
/* Copy Code Button */
|
||||
width: 80px;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
font-size: small;
|
||||
transition: none;
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
border-color: var(--background-layer-1);
|
||||
}
|
||||
|
||||
div.element-code:hover button {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Element: Banner */
|
||||
img.element-banner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Element: Quote */
|
||||
p.text-quote {
|
||||
padding: 4px 0 8px 0;
|
||||
}
|
||||
|
||||
/* Element: Audio */
|
||||
div.element-audio {
|
||||
width: 100%;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-4);
|
||||
border-radius: 8px;
|
||||
margin: 8px 0;
|
||||
padding: 8px 16px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.audio-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
a.audio-download {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
opacity: 0.5;
|
||||
transition: var(--transition-time) ease-in-out opacity;
|
||||
}
|
||||
|
||||
a.audio-download:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
button.audio-button {
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-4);
|
||||
box-sizing: border-box;
|
||||
min-width: 32px;
|
||||
max-width: 32px;
|
||||
min-height: 32px;
|
||||
max-height: 32px;
|
||||
border-radius: 8px;
|
||||
transition: var(--transition-time) ease-in-out border-color;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
button.audio-button:hover,
|
||||
button.audio-button:focus-visible {
|
||||
cursor: pointer;
|
||||
border-color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
button.audio-button img {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
input.audio-slider {
|
||||
overflow: hidden;
|
||||
appearance: none;
|
||||
flex-basis: 100%;
|
||||
background-color: var(--background-layer-1);
|
||||
border-radius: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
input.audio-slider::-webkit-slider-thumb {
|
||||
appearance: none;
|
||||
background-color: var(--background-layer-0);
|
||||
box-shadow: -1008px 0 0 1000px var(--background-layer-0);
|
||||
border-radius: 100%;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
transition: var(--transition-time) ease-in-out opacity;
|
||||
}
|
||||
|
||||
input.audio-slider[disabled]::-webkit-slider-thumb {
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
p.audio-time {
|
||||
font-family: 'Courier New';
|
||||
background-color: var(--background-layer-5);
|
||||
border-radius: 4px;
|
||||
padding: 4px;
|
||||
box-sizing: border-box;
|
||||
min-width: fit-content;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Element: Images & Videos */
|
||||
div.element-gallery {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
div.gallery-item {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
height: fit-content;
|
||||
place-items: center;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
div.gallery-item video:not(video:fullscreen) {
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
div.gallery-item img,
|
||||
div.gallery-item video:not(video:fullscreen) {
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
background: var(--background-layer-4);
|
||||
border: 2px solid var(--background-layer-1);
|
||||
}
|
||||
|
||||
/* Content: List */
|
||||
ul.element-list {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
ul.element-list li {
|
||||
list-style-type: none;
|
||||
font-size: small;
|
||||
padding: 2px 0;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Content: Table */
|
||||
table.element-table {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
background-color: var(--background-layer-5);
|
||||
border: 2px solid var(--background-layer-2);
|
||||
box-sizing: border-box;
|
||||
border-spacing: 0;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
margin: 8px 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
table.element-table th,
|
||||
table.element-table td {
|
||||
font-size: small;
|
||||
font-family: monospace;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
table.element-table thead {
|
||||
background-color: var(--background-layer-5);
|
||||
}
|
||||
|
||||
table.element-table thead th {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table.element-table tbody tr:nth-child(odd) {
|
||||
background-color: var(--background-layer-3);
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
p.element-header {
|
||||
padding-top: 32px;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,250 @@
|
||||
/* General Styling and Colors for all pages */
|
||||
:root {
|
||||
--transition-time: 200ms;
|
||||
--background-layer-5: #1d1e2e;
|
||||
--background-layer-4: #212335;
|
||||
--background-layer-3: #282a3f;
|
||||
--background-layer-2: #2d2f47;
|
||||
--background-layer-1: #333550;
|
||||
--background-layer-0: #a1a8ff;
|
||||
--text-layer-1: #f0f0f0;
|
||||
--text-layer-2: #181818;
|
||||
--text-layer-3: #b4b4b4;
|
||||
--text-error-1: #f63232;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--background-layer-5);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
pre,
|
||||
tr,
|
||||
td,
|
||||
ul,
|
||||
li,
|
||||
noscript,
|
||||
label,
|
||||
input,
|
||||
textarea,
|
||||
button,
|
||||
span {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: var(--text-layer-1);
|
||||
font-family: 'Poppins', Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
|
||||
/* Utility: Text */
|
||||
.text-hero {
|
||||
font-weight: 600;
|
||||
font-size: xxx-large;
|
||||
color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
.text-headline {
|
||||
font-weight: 600;
|
||||
font-size: xx-large;
|
||||
color: var(--background-layer-0);
|
||||
line-height: 1;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.text-header {
|
||||
color: var(--background-layer-0);
|
||||
font-size: large;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.text-error {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
color: var(--text-error-1);
|
||||
}
|
||||
|
||||
.text-tip {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.text-muted,
|
||||
s {
|
||||
color: var(--text-layer-3);
|
||||
}
|
||||
|
||||
/* Utility: Buttons */
|
||||
button.small {
|
||||
font-size: small;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
width: fit-content;
|
||||
color: var(--text-layer-1);
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
}
|
||||
|
||||
button.small:focus-visible,
|
||||
button.small:hover {
|
||||
color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
button.small:disabled {
|
||||
color: var(--text-layer-1) !important;
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
button.default,
|
||||
a.default {
|
||||
min-width: fit-content;
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
height: fit-content;
|
||||
text-wrap: nowrap;
|
||||
border-radius: 8px;
|
||||
padding: 4px 8px;
|
||||
outline: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: var(--text-layer-1);
|
||||
background-color: var(--background-layer-3);
|
||||
border: 2px solid var(--background-layer-2);
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
}
|
||||
|
||||
a.default:hover,
|
||||
a.default:focus-visible,
|
||||
button.default:hover,
|
||||
button.default:focus-visible {
|
||||
color: var(--text-layer-1);
|
||||
border-color: var(--background-layer-0);
|
||||
background-color: var(--background-layer-1);
|
||||
}
|
||||
|
||||
a.destructive:hover,
|
||||
a.destructive:focus-visible,
|
||||
button.destructive:hover,
|
||||
button.destructive:focus-visible {
|
||||
border-color: var(--text-error-1);
|
||||
}
|
||||
|
||||
*[disabled],
|
||||
*:disabled {
|
||||
opacity: 0.75 !important;
|
||||
background-color: var(--background-layer-3) !important;
|
||||
border-color: var(--background-layer-2) !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
a.wide,
|
||||
button.wide {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
a.tall,
|
||||
button.tall {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* Utility: Inputs */
|
||||
input.text,
|
||||
textarea.text {
|
||||
width: 100%;
|
||||
height: fit-content;
|
||||
text-wrap: nowrap;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
padding: 8px 16px;
|
||||
color: var(--text-layer-1);
|
||||
background-color: var(--background-layer-3);
|
||||
border: 2px solid var(--background-layer-2);
|
||||
transition: var(--transition-time) ease-in-out border;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
input.text:focus-visible,
|
||||
textarea.text:focus-visible {
|
||||
color: var(--text-layer-1);
|
||||
border-color: var(--background-layer-0);
|
||||
background-color: var(--background-layer-1);
|
||||
}
|
||||
|
||||
input.text:required:focus-visible:invalid,
|
||||
textarea.text:required:focus-visible:invalid {
|
||||
border: 2px solid var(--text-error-1);
|
||||
}
|
||||
|
||||
textarea.text {
|
||||
resize: vertical;
|
||||
min-height: 45px;
|
||||
text-wrap: wrap;
|
||||
}
|
||||
|
||||
|
||||
/* Utility: Spacers */
|
||||
div.divider-line {
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
margin: 8px 0;
|
||||
background-color: var(--background-layer-1);
|
||||
}
|
||||
|
||||
div.divider-dashed {
|
||||
display: none;
|
||||
width: 100%;
|
||||
margin: 8px 0;
|
||||
border: 1px dashed var(--background-layer-0);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.divider-header {
|
||||
width: 100%;
|
||||
border-bottom: 2px solid var(--background-layer-1);
|
||||
padding-bottom: 8px;
|
||||
margin-bottom: 8px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.divider-spacer {
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
/* Utility: Shadows & Animations */
|
||||
.special-shadow {
|
||||
filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
|
||||
}
|
||||
|
||||
.special-dropshadow {
|
||||
filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
|
||||
}
|
||||
|
||||
.special-pulse {
|
||||
animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
div.divider-dashed {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
/* Modal Layout */
|
||||
div.modal-wrapper {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(29, 30, 46, .5);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
opacity: 0;
|
||||
transition: var(--transition-time) ease-in opacity;
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
div.modal-content {
|
||||
min-width: 600px;
|
||||
max-width: 600px;
|
||||
border-radius: 16px;
|
||||
padding: 24px 16px;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-5);
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
div.modal-view {
|
||||
height: fit-content;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
div.modal-elements {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
div.modal-footer {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
div.modal-divider {
|
||||
margin: 8px 0;
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
background-color: var(--background-layer-1);
|
||||
}
|
||||
|
||||
div.modal-spacer {
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
div.modal-flex {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
/* Modal Elements */
|
||||
p.modal-alert {
|
||||
color: var(--text-error-1);
|
||||
text-overflow: ellipsis;
|
||||
font-style: italic;
|
||||
font-weight: bolder;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
p.modal-headline {
|
||||
font-weight: 600;
|
||||
font-size: xx-large;
|
||||
color: var(--background-layer-0);
|
||||
line-height: 1;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
p.modal-header {
|
||||
color: var(--background-layer-0);
|
||||
font-size: large;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
p.modal-link-text {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
a.modal-link,
|
||||
p.modal-link {
|
||||
font-size: small;
|
||||
font-style: italic;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
a.modal-link:hover,
|
||||
a.modal-link:focus-visible {
|
||||
color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
|
||||
label.modal-label {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
label.modal-label[error] {
|
||||
font-style: italic;
|
||||
color: var(--text-error-1);
|
||||
}
|
||||
|
||||
input.modal-input[type=text],
|
||||
input.modal-input[type=password] {
|
||||
border-radius: 4px;
|
||||
padding: 4px 8px;
|
||||
outline: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: var(--text-layer-1);
|
||||
background-color: var(--background-layer-3);
|
||||
border: 2px solid var(--background-layer-1);
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
}
|
||||
|
||||
input.modal-input[type=text]:focus-visible,
|
||||
input.modal-input[type=password]:focus-visible {
|
||||
border-color: var(--background-layer-0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
div.modal-content {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
margin: 0 8px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
/* Layout */
|
||||
div.wrapper-layout {
|
||||
max-width: 1024px;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
div.wrapper-navigation {
|
||||
width: 100%;
|
||||
flex-basis: 25%;
|
||||
max-width: 25%;
|
||||
box-sizing: border-box;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
div.wrapper-content {
|
||||
height: 100vh;
|
||||
max-width: 75%;
|
||||
flex-basis: 75%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
box-sizing: border-box;
|
||||
padding: 16px;
|
||||
border: 2px solid var(--background-layer-2);
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
div.wrapper-content::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Layout: Navigation */
|
||||
div.wrapper-navigation {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
img.navigation-logo {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
a.navigation-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
height: fit-content;
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
padding: 4px 8px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: left;
|
||||
box-sizing: border-box;
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
}
|
||||
|
||||
a.navigation-link[active],
|
||||
a.navigation-link:hover,
|
||||
a.navigation-link:focus-visible {
|
||||
outline: 0;
|
||||
background-color: var(--background-layer-1);
|
||||
color: var(--text-layer-1);
|
||||
fill: var(--text-layer-1);
|
||||
}
|
||||
|
||||
a.navigation-link img {
|
||||
fill: var(--text-layer-1);
|
||||
box-sizing: border-box;
|
||||
padding: 2px;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
/* Layout: Content */
|
||||
div.collection-divider {
|
||||
margin: 16px 0;
|
||||
border-bottom: 2px dashed var(--background-layer-0);
|
||||
}
|
||||
|
||||
div.collection-alert {
|
||||
width: 100%;
|
||||
height: fit-content;
|
||||
padding: 24px;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
div.collection-alert[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.collection-alert img {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
}
|
||||
@@ -0,0 +1,206 @@
|
||||
/* Styling for all views in the public */
|
||||
/* Navigation: Layout */
|
||||
div.wrapper-navigation {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
background: var(--background-layer-5);
|
||||
background: linear-gradient(0deg, transparent 0%, var(--background-layer-5) 100%);
|
||||
}
|
||||
|
||||
div.container-navigation {
|
||||
display: flex;
|
||||
padding: 8px 24px;
|
||||
max-width: 1024px;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
box-sizing: border-box;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
div.navigation-side {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
div.divider-navigation {
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
/* Navigation: Left-Hand */
|
||||
img.navigation-logo {
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
transition: var(--transition-time) ease-in-out transform;
|
||||
}
|
||||
|
||||
img.navigation-logo:hover {
|
||||
transform: scale(1.1) rotate(-3deg);
|
||||
}
|
||||
|
||||
a.text-link {
|
||||
text-align: center;
|
||||
transition: var(--transition-time) ease-in-out all;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.text-link:focus-visible,
|
||||
a.text-link:hover {
|
||||
color: var(--background-layer-0);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Navigation: Right-Hand */
|
||||
a#navigation-status,
|
||||
a#navigation-profile {
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
background-color: var(--background-layer-4);
|
||||
transition: var(--transition-time) ease-in-out border-color;
|
||||
}
|
||||
|
||||
a#navigation-status:focus-visible,
|
||||
a#navigation-status:hover,
|
||||
a#navigation-profile:focus-visible,
|
||||
a#navigation-profile:hover {
|
||||
border-color: var(--background-layer-0);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a#navigation-status {
|
||||
border-radius: 8px;
|
||||
height: 32px;
|
||||
padding: 0 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
a#navigation-profile {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
border-radius: 100%;
|
||||
background-size: contain;
|
||||
background-image: url('file://images/default-anon.png');
|
||||
}
|
||||
|
||||
div.status-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 100%;
|
||||
background-color: #fff;
|
||||
border: 2px solid #e0e0e0;
|
||||
}
|
||||
|
||||
p#status-text {
|
||||
min-width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.status-green {
|
||||
background-color: #2ecc71;
|
||||
border-color: #229954;
|
||||
}
|
||||
|
||||
div.status-yellow {
|
||||
background-color: #f1c40f;
|
||||
border-color: #be9a0b;
|
||||
}
|
||||
|
||||
div.status-red {
|
||||
background-color: #ff005b;
|
||||
border-color: #cc0048;
|
||||
}
|
||||
|
||||
/* Page: Content */
|
||||
div.wrapper-content {
|
||||
max-width: 1024px;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* Page: Footer */
|
||||
div.wrapper-footer {
|
||||
border-top: 2px solid var(--background-layer-2);
|
||||
background: var(--background-layer-4) url('file://images/public-footer.gif') no-repeat center right 8px;
|
||||
}
|
||||
|
||||
div.container-footer {
|
||||
padding: 24px 0;
|
||||
text-align: center;
|
||||
place-content: center;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
div.footer-links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
a.footer-link img {
|
||||
object-fit: contain;
|
||||
height: 24px;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
a.footer-link {
|
||||
opacity: 0.5;
|
||||
transition: var(--transition-time) ease-in-out opacity;
|
||||
}
|
||||
|
||||
a.footer-link:hover,
|
||||
a.footer-link:focus-visible {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
div.divider-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
a.text-link {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div#navigation-left p.text-muted {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.divider-mobile {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
div.container-navigation {
|
||||
display: block;
|
||||
padding: 16px 24px;
|
||||
}
|
||||
|
||||
div.navigation-side {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
div#navigation-left {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.wrapper-navigation {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.divider-navigation {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
div.wrapper-special {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: auto;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
div.container-special {
|
||||
max-width: 1024px;
|
||||
width: 100%;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
div.special-alongside {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
img.special-banner {
|
||||
width: 300px;
|
||||
margin: 8px;
|
||||
object-fit: contain;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
img.special-corner {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: -999;
|
||||
}
|
||||
|
||||
/* Page: oAuth2 */
|
||||
div.oauth2-centered {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
text-align: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
div.oauth2-header {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.oauth2-icons {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
img.oauth2-diagram {
|
||||
width: 64px;
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
img.application-icon {
|
||||
background-color: var(--background-layer-1);
|
||||
min-height: 80px;
|
||||
max-height: 80px;
|
||||
min-width: 80px;
|
||||
max-width: 80px;
|
||||
}
|
||||
|
||||
img.oauth2-icon {
|
||||
background-color: var(--background-layer-3);
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
margin: auto;
|
||||
border-radius: 100%;
|
||||
padding: 16px;
|
||||
border: 2px solid var(--background-layer-1);
|
||||
object-fit: contain;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
div.oauth2-container {
|
||||
width: fit-content;
|
||||
min-width: 400px;
|
||||
min-height: 400px;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
/* Page: Picross */
|
||||
div.special-picross {
|
||||
margin-left: -48px;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
div.picross-row {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
p.picross-hint {
|
||||
color: var(--background-layer-0);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
button.picross-button {
|
||||
transition: var(--transition-time) ease-in-out background-color;
|
||||
background-color: var(--background-layer-1);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
button.picross-active {
|
||||
background-color: var(--background-layer-0) !important;
|
||||
}
|
||||
|
||||
button.picross-ignore {
|
||||
background-color: var(--background-layer-4);
|
||||
}
|
||||
|
||||
/* Mobile Styling */
|
||||
@media (max-width: 640px) {
|
||||
div.special-picross {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user