-
Notifications
You must be signed in to change notification settings - Fork 9
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
9587edd
commit 920355a
Showing
1 changed file
with
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,189 +1,199 @@ | ||
@font-face { | ||
font-family: "Cartograph CF"; | ||
src: url("../fonts/CartographCF-Regular.woff2") format("woff2"), | ||
url("../fonts/CartographCF-Regular.woff") format("woff"), | ||
url("../fonts/CartographCF-Regular.ttf") format("truetype"); | ||
font-weight: normal; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
$color_1: #908caa; | ||
$color_2: #ebbcba; | ||
$color_3: #e0def4; | ||
$color_4: #31748f; | ||
$color_5: #c4a7e7; | ||
$color_6: #9ccfd8; | ||
$color_7: #6e6a86; | ||
$font-family_1: var(--font-mono); | ||
$background-color_1: #191724; | ||
$background-color_2: transparent; | ||
$background-color_3: #1f1d2e; | ||
$background-color_4: rgba(31, 29, 46, 0.8); | ||
$font-mono: "Cartograph CF", ui-monospace, SFMono-Regular, Menlo, Monaco, | ||
Consolas, "Liberation Mono", "Courier New", monospace; | ||
|
||
@font-face { | ||
font-family: 'Cartograph CF'; | ||
src: url('../fonts/CartographCF-Regular.woff2') format('woff2'), url('../fonts/CartographCF-Regular.woff') format('woff'), url('../fonts/CartographCF-Regular.ttf') format('truetype'); | ||
font-weight: normal; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
@keyframes rainbow { | ||
0%,100% { | ||
background-position: 0 0; | ||
} | ||
50% { | ||
background-position: 100% 0; | ||
} | ||
} | ||
&:root { | ||
--font-mono: "Cartograph CF", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | ||
0%, | ||
100% { | ||
background-position: 0 0; | ||
} | ||
50% { | ||
background-position: 100% 0; | ||
} | ||
} | ||
body { | ||
height: 100%; | ||
background-color: $background-color_1; | ||
margin: 0; | ||
height: 100%; | ||
background-color: $background-color_1; | ||
margin: 0; | ||
} | ||
html { | ||
height: 100%; | ||
height: 100%; | ||
} | ||
pre { | ||
margin: 0; | ||
margin: 0; | ||
} | ||
.noselect { | ||
user-select: none; | ||
-webkit-user-select: none; | ||
-khtml-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
-webkit-user-select: none; | ||
-khtml-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
} | ||
.wrapper { | ||
display: flex; | ||
padding: 1rem 0.5rem; | ||
font-size: 1rem; | ||
height: calc(100% - 2rem); | ||
display: flex; | ||
padding: 1rem 0.5rem; | ||
font-size: 1rem; | ||
height: calc(100% - 2rem); | ||
} | ||
.line-numbers { | ||
color: $color_1; | ||
font-family: $font-family_1; | ||
text-align: end; | ||
user-select: none; | ||
font-size: 15px; | ||
padding-right: 8px; | ||
line-height: 1.5em; | ||
color: $color_1; | ||
font-family: $font-mono; | ||
text-align: end; | ||
user-select: none; | ||
font-size: 15px; | ||
padding-right: 8px; | ||
line-height: 1.5em; | ||
} | ||
#code-view-pre { | ||
font-family: $font-family_1; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
font-size: 15px; | ||
-webkit-text-size-adjust: none; | ||
line-height: 1.5em; | ||
font-family: $font-mono; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
font-size: 15px; | ||
-webkit-text-size-adjust: none; | ||
line-height: 1.5em; | ||
} | ||
#code-view { | ||
font-family: $font-family_1; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
line-height: 1.5em; | ||
font-family: $font-mono; | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
line-height: 1.5em; | ||
} | ||
.viewcounter { | ||
font-size: 12px; | ||
font-family: $font-family_1; | ||
margin-top: 0px; | ||
margin-bottom: 0px; | ||
font-size: 12px; | ||
font-family: $font-mono; | ||
margin-top: 0px; | ||
margin-bottom: 0px; | ||
} | ||
#viewcounter-label { | ||
color: $color_1; | ||
color: $color_1; | ||
} | ||
#viewcounter-count { | ||
color: $color_2; | ||
color: $color_2; | ||
} | ||
code { | ||
color: $color_3; | ||
color: $color_3; | ||
} | ||
textarea { | ||
background-color: $background-color_2; | ||
resize: none; | ||
width: 100%; | ||
height: 100%; | ||
padding: 0; | ||
padding-left: 1rem; | ||
margin: 0; | ||
border: none; | ||
outline: 0; | ||
color: $color_3; | ||
font-size: 15px; | ||
background-color: $background-color_2; | ||
resize: none; | ||
width: 100%; | ||
height: 100%; | ||
padding: 0; | ||
padding-left: 1rem; | ||
margin: 0; | ||
border: none; | ||
outline: 0; | ||
color: $color_3; | ||
font-size: 15px; | ||
} | ||
.button-wrapper { | ||
position: fixed !important; | ||
top: 0; | ||
right: 0; | ||
padding: 1rem 1rem 0.5rem 1rem; | ||
background-color: $background-color_3; | ||
z-index: 10; | ||
position: fixed !important; | ||
top: 0; | ||
right: 0; | ||
padding: 1rem 1rem 0.5rem 1rem; | ||
background-color: $background-color_3; | ||
z-index: 10; | ||
} | ||
.buttons { | ||
display: flex; | ||
>* { | ||
+ { | ||
* { | ||
padding: .10rem .10rem .10rem .10rem; | ||
} | ||
} | ||
} | ||
display: flex; | ||
> * { | ||
+ { | ||
* { | ||
padding: 0.1rem 0.1rem 0.1rem 0.1rem; | ||
} | ||
} | ||
} | ||
} | ||
a { | ||
color: $color_4; | ||
&:visited { | ||
color: $color_5; | ||
} | ||
&:hover { | ||
&:not(.logo) { | ||
color: $color_6; | ||
} | ||
} | ||
color: $color_4; | ||
&:visited { | ||
color: $color_5; | ||
} | ||
&:hover { | ||
&:not(.logo) { | ||
color: $color_6; | ||
} | ||
} | ||
} | ||
.btn { | ||
cursor: pointer; | ||
background: 0 0; | ||
color: $color_6; | ||
padding: 5px 5px 5px 5px; | ||
font-size: 1rem; | ||
border: none; | ||
transition: background-color 0.2s ease-in-out; | ||
display: inline-block; | ||
text-decoration: none; | ||
&:hover { | ||
color: $color_3; | ||
} | ||
&:disabled { | ||
color: $color_7; | ||
} | ||
cursor: pointer; | ||
background: 0 0; | ||
color: $color_6; | ||
padding: 5px 5px 5px 5px; | ||
font-size: 1rem; | ||
border: none; | ||
transition: background-color 0.2s ease-in-out; | ||
display: inline-block; | ||
text-decoration: none; | ||
&:hover { | ||
color: $color_3; | ||
} | ||
&:disabled { | ||
color: $color_7; | ||
} | ||
} | ||
.btn[disabled] { | ||
color: $color_7; | ||
color: $color_7; | ||
} | ||
.logo { | ||
font-size: 1.8rem; | ||
font-weight: 700; | ||
text-align: center; | ||
text-decoration: none; | ||
width: 100%; | ||
font-family: $font-family_1; | ||
display: inline-block; | ||
background: linear-gradient( to right, #eb6f92, #c9b065, #ebbcba, #31748f, #9ccfd8, #c4a7e7 ); | ||
-webkit-background-clip: text; | ||
background-clip: text; | ||
color: transparent; | ||
animation: rainbow 120s linear infinite; | ||
background-size: 400% 100%; | ||
&:hover { | ||
animation: rainbow 3s ease infinite !important; | ||
} | ||
font-size: 1.8rem; | ||
font-weight: 700; | ||
text-align: center; | ||
text-decoration: none; | ||
width: 100%; | ||
font-family: $font-mono; | ||
display: inline-block; | ||
background: linear-gradient( | ||
to right, | ||
#eb6f92, | ||
#c9b065, | ||
#ebbcba, | ||
#31748f, | ||
#9ccfd8, | ||
#c4a7e7 | ||
); | ||
-webkit-background-clip: text; | ||
background-clip: text; | ||
color: transparent; | ||
animation: rainbow 120s linear infinite; | ||
background-size: 400% 100%; | ||
&:hover { | ||
animation: rainbow 3s ease infinite !important; | ||
} | ||
} | ||
#messages { | ||
position: absolute; | ||
top: 0; | ||
right: 168px; | ||
z-index: 1000; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
width: 400px; | ||
li { | ||
background-color: $background-color_4; | ||
font-family: $font-family_1; | ||
color: $color_3; | ||
padding: 7px; | ||
} | ||
position: absolute; | ||
top: 0; | ||
right: 168px; | ||
z-index: 1000; | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
width: 400px; | ||
li { | ||
background-color: $background-color_4; | ||
font-family: $font-mono; | ||
color: $color_3; | ||
padding: 7px; | ||
} | ||
} |