moved static files

improved css
This commit is contained in:
2020-08-20 15:42:54 +10:00
parent b5d25af1ff
commit dc6580e21c
15 changed files with 45 additions and 486 deletions

View File

@ -16,42 +16,6 @@
box-sizing: border-box;
}
/* Default theme */
:global(:root) {
--background-color: #222222;
--headings-color: #ffffff;
--font-color: #ffffff;
--blue: #007bff;
--indigo: #6610f2;
--purple: #6f42c1;
--pink: #e83e8c;
--red: #dc3545;
--orange: #fd7e14;
--yellow: #ffc107;
--green: #28a745;
--teal: #20c997;
--cyan: #17a2b8;
--white: #fff;
--gray: #6c757d;
--gray-dark: #343a40;
--primary: #007bff;
--secondary: #6c757d;
--success: #28a745;
--info: #17a2b8;
--warning: #ffc107;
--danger: #dc3545;
--light: #f8f9fa;
--dark: #343a40;
--breakpoint-xs: 0;
--breakpoint-sm: 576px;
--breakpoint-md: 768px;
--breakpoint-lg: 992px;
--breakpoint-xl: 1200px;
--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
/* Dark theme */
:global(html[data-theme='dark']) {
--background-color: #222222;
@ -67,8 +31,10 @@
color: var(--font-color);
box-sizing: border-box;
}
</style>
</style>
<Nav {segment} rightComponent={userManager}/>
<slot></slot>

View File

@ -34,84 +34,19 @@
<main class="container">
<section>
{#each games as game}
<!-- Project One -->
<Thumb {...game}/>
{/each}
</section>
</main>
<style>
section {
display: block;
border-radius: 5px;
padding: 5px 20px;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
font-size: 1rem;
line-height: 1.8;
font-weight: 400;
text-align: left;
border-radius: 5px;
padding: 5px 20px;
}
body {
font-family: 'Open Sans', sans-serif;
font-display: swap;
font-size: 1rem;
line-height: 1.8;
margin-top: 0;
}
main {
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
display: block;
box-sizing: border-box;
}
.description p {
margin-top: 0;
margin-bottom: 1rem;
box-sizing: border-box;
font-size: 1rem;
font-weight: 400;
}
h5 {
color: var(--headings-color);
}
@media (min-width: 768px) {
.container {
max-width: 720px
}
}
@media (min-width: 992px) {
.container {
max-width: 960px
}
}
@media (min-width: 1200px) {
.container {
max-width: 1140px
}
}
@media (min-width: 640px) {
main {
max-width: none;
}
}
</style>