-
Notifications
You must be signed in to change notification settings - Fork 99
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
1 parent
0faa4e3
commit b6cf5a5
Showing
3 changed files
with
147 additions
and
135 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,143 +1,163 @@ | ||
:root { | ||
--main-bg-color: #f3f4f6; | ||
--main-font-color: #1f2937; | ||
--code-bg-color: #e5e7eb; | ||
--code-font-color: #000; | ||
--main-bg-color: #f3f4f6; | ||
--main-font-color: #1f2937; | ||
--code-bg-color: #e5e7eb; | ||
--code-font-color: #000; | ||
} | ||
|
||
body { | ||
background-color: var(--main-bg-color); | ||
color: var(--main-font-color); | ||
margin: 8px; | ||
font-family: "Arvo", serif; | ||
font-size: 16px; | ||
line-height: 1.5rem; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4 { | ||
line-height: 1.2em; | ||
margin-block-start: 1em; | ||
margin-block-end: 0.5em; | ||
} | ||
|
||
.navbar { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 18px; | ||
|
||
h1 { | ||
font-size: 32px; | ||
margin: 0; | ||
} | ||
|
||
body { | ||
background-color: var(--main-bg-color); | ||
color: var(--main-font-color); | ||
margin: 8px; | ||
font-family: "Arvo", serif; | ||
font-size: 16px; | ||
line-height: 1.5rem; | ||
} | ||
|
||
h1, h2, h3, h4 { | ||
line-height: 1.2em; | ||
margin-block-start: 1em; | ||
margin-block-end: 0.5em; | ||
} | ||
|
||
.navbar { | ||
|
||
.navbar-button { | ||
align-self: stretch; | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 18px; | ||
|
||
h1 { | ||
font-size: 32px; | ||
margin: 0; | ||
} | ||
|
||
.navbar-button { | ||
align-self: stretch; | ||
display: flex; | ||
align-items: center; | ||
background-color: #89bfd3; | ||
color: #000; | ||
font-size: 15px; | ||
padding: 10px; | ||
border-radius: 4px; | ||
text-decoration: none; | ||
} | ||
.navbar-button:hover{ | ||
box-shadow: 6px 6px 0px #000; | ||
} | ||
|
||
.editor { | ||
margin-right: 1rem; | ||
margin-left: auto; | ||
} | ||
|
||
.github { | ||
gap: 5px; | ||
} | ||
} | ||
|
||
|
||
.subtitle { | ||
font-size: 20px; | ||
margin: 0 0 18px 0; | ||
} | ||
|
||
pre { | ||
background-color: var(--code-bg-color); | ||
color: var(--code-font-color); | ||
padding: 12px 16px; | ||
background-color: #89bfd3; | ||
color: #000; | ||
font-size: 15px; | ||
padding: 10px; | ||
border-radius: 4px; | ||
overflow-x: auto; | ||
text-decoration: none; | ||
} | ||
|
||
code { | ||
font-size: 14px; | ||
.navbar-button:hover { | ||
box-shadow: 6px 6px 0px #000; | ||
} | ||
|
||
p code { | ||
background-color: var(--code-bg-color); | ||
color: var(--code-font-color); | ||
padding: 2px 5px; | ||
border-radius: 4px; | ||
|
||
.editor { | ||
margin-right: 1rem; | ||
margin-left: auto; | ||
} | ||
|
||
|
||
.github { | ||
gap: 5px; | ||
} | ||
} | ||
|
||
.subtitle { | ||
font-size: 20px; | ||
margin: 0 0 18px 0; | ||
} | ||
|
||
pre { | ||
background-color: var(--code-bg-color); | ||
color: var(--code-font-color); | ||
padding: 12px 16px; | ||
border-radius: 4px; | ||
overflow-x: auto; | ||
} | ||
|
||
code { | ||
font-size: 14px; | ||
|
||
a { | ||
color: #00f; | ||
color: unset; | ||
} | ||
a:hover { | ||
text-decoration: none; | ||
} | ||
|
||
p code, | ||
table code { | ||
background-color: var(--code-bg-color); | ||
color: var(--code-font-color); | ||
padding: 2px 5px; | ||
border-radius: 4px; | ||
} | ||
|
||
a { | ||
color: #00f; | ||
} | ||
a:hover { | ||
text-decoration: none; | ||
} | ||
a:visited { | ||
color: #00f; | ||
} | ||
|
||
#container { | ||
margin: 0 auto; | ||
max-width: 650px; | ||
} | ||
|
||
#container2 { | ||
margin: 0 auto; | ||
max-width: 900px; | ||
} | ||
|
||
#faces { | ||
display: grid; | ||
grid-gap: 2px; | ||
grid-template-columns: 1fr 1fr 1fr 1fr; | ||
|
||
div { | ||
cursor: pointer; | ||
user-select: none; | ||
|
||
background: linear-gradient(#bbb, var(--main-bg-color)); | ||
aspect-ratio: 2/ 3; | ||
|
||
svg { | ||
display: block; | ||
} | ||
} | ||
a:visited { | ||
color: #00f; | ||
|
||
div:hover { | ||
background: linear-gradient(#aaa, var(--main-bg-color)); | ||
} | ||
#container { | ||
margin: 0 auto; | ||
max-width: 650px; | ||
|
||
.big { | ||
grid-column: 3 / 5; | ||
grid-row: 1 / 3; | ||
} | ||
|
||
#faces { | ||
display: grid; | ||
grid-gap: 2px; | ||
grid-template-columns: 1fr 1fr 1fr 1fr; | ||
|
||
div { | ||
cursor: pointer; | ||
user-select: none; | ||
|
||
background: linear-gradient(#bbb , var(--main-bg-color)); | ||
aspect-ratio: 2/ 3; | ||
|
||
svg { | ||
display: block; | ||
} | ||
} | ||
|
||
div:hover { | ||
background: linear-gradient(#aaa , var(--main-bg-color)); | ||
} | ||
|
||
|
||
@media (min-width: 666px) { | ||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr; | ||
aspect-ratio: unset; | ||
|
||
.big { | ||
grid-column: 3 / 5; | ||
grid-column: 4 / 6; | ||
grid-row: 1 / 3; | ||
} | ||
|
||
@media (min-width: 666px) { | ||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr; | ||
aspect-ratio: unset; | ||
|
||
.big { | ||
grid-column: 4 / 6; | ||
grid-row: 1 / 3; | ||
} | ||
} | ||
} | ||
|
||
} | ||
|
||
.hide-sm { | ||
display: none; | ||
} | ||
@media (min-width: 666px) { | ||
.hide-sm { | ||
display: none; | ||
display: block; | ||
} | ||
@media (min-width: 666px) { | ||
.hide-sm { | ||
display: block; | ||
} | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
td, | ||
th { | ||
border: 1px solid #bbb; | ||
padding: 0.25em 0.5em; | ||
} | ||
} |
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