-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
290 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
@import "/static/reset.css"; | ||
|
||
:root { | ||
--color-primary-100: #dbeafe; | ||
--color-primary-900: #1e3a8a; | ||
--color-primary-950: #172554; | ||
|
||
--color-gray-100: #f4f4f5; | ||
--color-gray-400: #a1a1aa; | ||
--color-gray-600: #52525b; | ||
--color-gray-900: #18181b; | ||
--color-gray-950: #09090b; | ||
|
||
--color-green-100: #dcfce7; | ||
--color-green-700: #15803d; | ||
|
||
--color-red-100: #fee2e2; | ||
--color-red-700: #b91c1c; | ||
|
||
font-family: Inter, sans-serif; | ||
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */ | ||
font-weight: 500; | ||
} | ||
|
||
@supports (font-variation-settings: normal) { | ||
:root { font-family: InterVariable, sans-serif; } | ||
} | ||
|
||
body { | ||
background-color: var(--color-gray-950); | ||
color: var(--color-gray-100); | ||
} | ||
|
||
header { | ||
background-color: var(--color-primary-950); | ||
color: var(--color-primary-100); | ||
padding: 1rem; | ||
text-align: center; | ||
} | ||
|
||
header h1 { | ||
font-weight: bold; | ||
} | ||
|
||
main { | ||
max-width: 1200px; | ||
margin: 2rem auto; | ||
padding: 0 1rem; | ||
} | ||
|
||
.table-responsive { | ||
overflow-x: auto; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
border-collapse: separate; | ||
border-spacing: 0; | ||
border-radius: 4px; | ||
overflow: hidden; | ||
border: 1px var(--color-gray-900) solid; | ||
} | ||
|
||
th, td { | ||
padding: .5rem 1rem; | ||
text-align: left; | ||
border-bottom: 1px solid var(--color-gray-900); | ||
} | ||
|
||
td { | ||
border-right: 1px solid var(--color-gray-900); | ||
} | ||
|
||
td:last-child { | ||
border-right: none; | ||
} | ||
|
||
th { | ||
background-color: var(--color-primary-900); | ||
color: var(--color-primary-100); | ||
font-weight: 600; | ||
text-transform: uppercase; | ||
font-size: .875rem; | ||
} | ||
|
||
.cell { | ||
width: 100%; | ||
justify-content: stretch; | ||
display: flex; | ||
gap: .5rem; | ||
} | ||
|
||
tr:last-child td { | ||
border-bottom: none; | ||
} | ||
|
||
.badge { | ||
width: 100%; | ||
display: flex; | ||
justify-content: center; | ||
padding: 0.25rem 0.5rem; | ||
border-radius: 4px; | ||
font-size: 0.875rem; | ||
font-weight: 600; | ||
text-transform: uppercase; | ||
} | ||
|
||
.badge-success { | ||
background-color: var(--color-green-700); | ||
color: var(--color-green-100); | ||
} | ||
|
||
.badge-danger { | ||
background-color: var(--color-red-700); | ||
color: var(--color-red-100); | ||
} | ||
|
||
input { | ||
width: 100%; | ||
min-width: 6rem; | ||
border: none; | ||
background: transparent; | ||
border-radius: 4px; | ||
font-size: 1rem; | ||
} | ||
|
||
input[type=number] { | ||
width: 3rem; | ||
min-width: 3rem; | ||
} | ||
|
||
input[type=url] { | ||
min-width: 10rem; | ||
} | ||
|
||
input:focus { | ||
outline: none; | ||
box-shadow: 0 0 0 1px var(--color-gray-400), 0 0 0 4px var(--color-gray-600); | ||
} | ||
|
||
input::placeholder { | ||
color: var(--color-gray-600); | ||
} | ||
|
||
form { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
*, ::before, ::after { | ||
box-sizing: border-box; | ||
} | ||
|
||
html, :host { | ||
line-height: 1.5; | ||
-webkit-text-size-adjust: 100%; | ||
-moz-tab-size: 4; | ||
tab-size: 4; | ||
font-feature-settings: normal; | ||
font-variation-settings: normal; | ||
-webkit-tap-highlight-color: transparent; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
line-height: inherit; | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: inherit; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
font-size: inherit; | ||
font-weight: inherit; | ||
} | ||
|
||
button, input, optgroup, select, textarea { | ||
font-family: inherit; | ||
font-feature-settings: inherit; | ||
font-variation-settings: inherit; | ||
font-size: 100%; | ||
font-weight: inherit; | ||
line-height: inherit; | ||
letter-spacing: inherit; | ||
color: inherit; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
button, | ||
input:where([type='button']), | ||
input:where([type='reset']), | ||
input:where([type='submit']) { | ||
-webkit-appearance: button; | ||
background-color: transparent; | ||
background-image: none; | ||
border: none; | ||
} | ||
|
||
button, [role=button] { | ||
cursor: pointer; | ||
} | ||
|
||
button, select { | ||
text-transform: none; | ||
} | ||
|
||
b, strong { | ||
font-weight: bolder; | ||
} | ||
|
||
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { | ||
margin: 0; | ||
} |
Oops, something went wrong.