Skip to content

Commit

Permalink
use sakura earthly theme
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Jul 28, 2022
1 parent 8edb82f commit 0179115
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 30 deletions.
50 changes: 25 additions & 25 deletions vercel/public/sakura.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ body {
line-height: 1.618;
max-width: 38em;
margin: auto;
color: #4a4a4a;
background-color: #f9f9f9;
color: #222222;
background-color: #ffffff;
padding: 13px;
}

Expand Down Expand Up @@ -84,19 +84,19 @@ sup {
}

hr {
border-color: #1d7484;
border-color: #007559;
}

a {
text-decoration: none;
color: #1d7484;
color: #007559;
}
a:visited {
color: #144f5a;
color: #004232;
}
a:hover {
color: #982c61;
border-bottom: 2px solid #4a4a4a;
color: #006994;
border-bottom: 2px solid #222222;
}

ul {
Expand All @@ -116,9 +116,9 @@ blockquote {
padding-top: 0.8em;
padding-bottom: 0.8em;
padding-right: 0.8em;
border-left: 5px solid #1d7484;
border-left: 5px solid #007559;
margin-bottom: 2.5rem;
background-color: #f1f1f1;
background-color: #f7f7f7;
}

blockquote p {
Expand All @@ -135,7 +135,7 @@ video {

/* Pre and Code */
pre {
background-color: #f1f1f1;
background-color: #f7f7f7;
display: block;
padding: 1em;
overflow-x: auto;
Expand All @@ -149,7 +149,7 @@ kbd,
samp {
font-size: 0.9em;
padding: 0 0.5em;
background-color: #f1f1f1;
background-color: #f7f7f7;
white-space: pre-wrap;
}

Expand All @@ -170,17 +170,17 @@ table {
td,
th {
padding: 0.5em;
border-bottom: 1px solid #f1f1f1;
border-bottom: 1px solid #f7f7f7;
}

/* Buttons, forms and input */
input,
textarea {
border: 1px solid #4a4a4a;
border: 1px solid #222222;
}
input:focus,
textarea:focus {
border: 1px solid #1d7484;
border: 1px solid #007559;
}

textarea {
Expand All @@ -197,10 +197,10 @@ input[type='button'] {
text-align: center;
text-decoration: none;
white-space: nowrap;
background-color: #1d7484;
color: #f9f9f9;
background-color: #007559;
color: #ffffff;
border-radius: 1px;
border: 1px solid #1d7484;
border: 1px solid #007559;
cursor: pointer;
box-sizing: border-box;
}
Expand All @@ -222,33 +222,33 @@ input[type='reset']:focus:enabled,
input[type='reset']:hover:enabled,
input[type='button']:focus:enabled,
input[type='button']:hover:enabled {
background-color: #982c61;
border-color: #982c61;
color: #f9f9f9;
background-color: #006994;
border-color: #006994;
color: #ffffff;
outline: 0;
}

textarea,
select,
input {
color: #4a4a4a;
color: #222222;
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
margin-bottom: 10px;
background-color: #f1f1f1;
border: 1px solid #f1f1f1;
background-color: #f7f7f7;
border: 1px solid #f7f7f7;
border-radius: 4px;
box-shadow: none;
box-sizing: border-box;
}
textarea:focus,
select:focus,
input:focus {
border: 1px solid #1d7484;
border: 1px solid #007559;
outline: 0;
}

input[type='checkbox']:focus {
outline: 1px dotted #1d7484;
outline: 1px dotted #007559;
}

label,
Expand Down
2 changes: 1 addition & 1 deletion vercel/src/lib/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
.active {
color: #982c61;
color: #006994;
border-bottom: 2px solid #4a4a4a;
}
</style>
2 changes: 1 addition & 1 deletion vercel/src/routes/Index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h1>Onefetch</h1>
<Nav active="/" />
<div class="spacer" />
<p>Get Onefetch from</p>
<p>Get onefetch from</p>
<ul>
<li>
<a href="https://github.com/o2sh/onefetch/releases/latest"
Expand Down
8 changes: 7 additions & 1 deletion vercel/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@
"checkJs": true,
"isolatedModules": true
},
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte", "typings/**/*.d.ts"],
"include": [
"src/**/*.d.ts",
"src/**/*.ts",
"src/**/*.js",
"src/**/*.svelte",
"typings/**/*.d.ts"
]
}
2 changes: 0 additions & 2 deletions vercel/typings/yaml.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ declare module '*/languages.yaml' {
}

export type Languages = Record<string, Language>;
const languages: Languages;
export default languages;
}

0 comments on commit 0179115

Please sign in to comment.