[S] More styling

This commit is contained in:
2025-03-23 00:39:58 -04:00
parent ad6303ff87
commit be9ce5cfd8
4 changed files with 73 additions and 62 deletions
-61
View File
@@ -1,61 +0,0 @@
@import "tailwindcss";
:root {
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html, body {
height: 100%;
width: 100%;
margin: 0;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
.card {
padding: 2em;
}
#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
+70
View File
@@ -0,0 +1,70 @@
:root
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif
line-height: 1.5
font-weight: 400
color-scheme: dark
color: rgba(255, 255, 255, 0.87)
background-color: #242424
font-synthesis: none
text-rendering: optimizeLegibility
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
html, body
height: 100%
width: 100%
margin: 0
a
font-weight: 500
color: #646cff
text-decoration: inherit
a:hover
color: #535bf2
.card
padding: 2em
#app
max-width: 1280px
margin: 0 auto
padding: 2rem
text-align: center
button
border-radius: 8px
border: 1px solid transparent
padding: 0.6em 1.2em
font-size: 1em
font-weight: 500
font-family: inherit
background-color: #1a1a1a
cursor: pointer
transition: border-color 0.25s
button:hover
border-color: #646cff
button:focus,
button:focus-visible
outline: 4px auto -webkit-focus-ring-color
// Expand and shrink (breathing) animation when clicked
//@keyframes breathing
// 0%
// transform: scale(1)
// 50%
// transform: scale(2) rotate(180deg)
// 100%
// transform: scale(1) rotate(360deg)
//
//button:active
// animation: breathing 0.5s linear
+2 -1
View File
@@ -1,5 +1,6 @@
import { mount } from 'svelte'
import './app.css'
import './app.sass'
import './tailwind.css'
import App from './App.svelte'
const app = mount(App, {
+1
View File
@@ -0,0 +1 @@
@import "tailwindcss";