papercats/public/css/styles.css

166 lines
3.0 KiB
CSS
Raw Normal View History

2019-01-15 10:42:15 -05:00
/* arabic */
@font-face {
font-family: "Changa";
font-style: normal;
font-weight: 600;
src: local("Changa SemiBold"), local("Changa-SemiBold"), url(8-mw6umTgtMSI5PXqVIDMRJtnKITppOI_IvcXXDNrsc.woff2) format("woff2");
unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE80-FEFC;
}
/* latin-ext */
@font-face {
font-family: "Changa";
font-style: normal;
font-weight: 600;
src: local("Changa SemiBold"), local("Changa-SemiBold"), url(l9R1mHXzJ6oxjfw8BkQIThJtnKITppOI_IvcXXDNrsc.woff2) format("woff2");
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: "Changa";
font-style: normal;
font-weight: 600;
src: local("Changa SemiBold"), local("Changa-SemiBold"), url(aXdbZDB08TCIBRKa7Qgu_FtXRa8TVwTICgirnJhmVJw.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
body, html {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
background: white;
color: white;
font-family: "Changa", "Sans Serif";
user-select: none;
2019-01-15 23:15:38 -05:00
background-attachment: fixed;
2019-01-15 10:42:15 -05:00
}
canvas {
2019-01-15 23:15:38 -05:00
position: fixed;
2019-01-15 10:42:15 -05:00
width: 100%;
height: 100%;
top: 0;
left: 0;
}
2019-02-22 03:09:27 -05:00
#begin, #wasted {
2019-01-15 23:15:38 -05:00
position: fixed;
2019-01-15 10:42:15 -05:00
width: 100%;
height: 100%;
2019-01-15 23:15:38 -05:00
top: 0;
left: 0;
2019-02-22 03:09:27 -05:00
background: rgba(0, 0, 0, .8);
2019-01-15 10:42:15 -05:00
}
#github svg {
transition: all 1s;
2019-02-03 01:49:23 -05:00
fill: #222;
color: #fff;
position: absolute;
top: 0;
2019-02-22 04:35:16 -05:00
left: 0;
2019-02-03 01:49:23 -05:00
border: 0;
width: 80px;
height: 80px;
2019-02-22 04:35:16 -05:00
transform: rotate(-90deg);
2019-01-15 10:42:15 -05:00
}
#github:hover svg {
2019-02-03 01:49:23 -05:00
width: 160px;
height: 160px;
2019-01-15 10:42:15 -05:00
}
.center {
vertical-align: middle;
text-align: center;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.scale {
animation: scale 5s infinite ease-in-out;
}
@keyframes scale {
0% {
transform: scale(0.8);
}
50% {
transform: scale(1);
}
100% {
transform: scale(0.8);
}
}
2019-02-22 04:35:16 -05:00
input, button {
2019-01-15 10:42:15 -05:00
font-family: "Changa", "Sans Serif";
font-size: 1.5rem;
outline: none;
border: 0;
padding: .5rem 1rem;
line-height: 2.5rem;
}
2019-02-22 04:35:16 -05:00
button {
text-align: center;
cursor: pointer;
}
button:active {
transform: translateY(4px);
}
button:disabled {
cursor: not-allowed;
}
2019-02-22 07:26:25 -05:00
#name, #settings {
2019-01-15 10:42:15 -05:00
background: #ededd1;
border-bottom: 6px solid #a1a18d;
}
2019-02-22 03:09:27 -05:00
.yellow {
2019-01-15 10:42:15 -05:00
background: #eaec4b;
border-bottom: 6px solid #a1a130;
color: #888a34;
}
2019-02-22 03:09:27 -05:00
.yellow:hover {
2019-01-15 10:42:15 -05:00
background: #fafc5b;
}
2019-02-22 03:09:27 -05:00
.yellow:active {
2019-01-15 10:42:15 -05:00
border-bottom: 2px solid #a1a130;
2019-02-22 00:22:21 -05:00
}
2019-02-22 03:09:27 -05:00
.orange {
2019-02-22 00:22:21 -05:00
background: #FF972F;
border-bottom: 6px solid #AE4E0D;
color: #422100;
}
2019-02-22 03:09:27 -05:00
.orange:hover {
2019-02-22 00:22:21 -05:00
background: #FFB76F;
}
2019-02-22 03:09:27 -05:00
.orange:active {
2019-02-22 00:22:21 -05:00
border-bottom: 2px solid #AE4E0D;
}
2019-02-22 03:09:27 -05:00
.green {
2019-02-22 00:22:21 -05:00
background: #7fed4c;
border-bottom: 6px solid #56a130;
color: #4f8a34;
}
2019-02-22 03:09:27 -05:00
.green:hover {
2019-02-22 00:22:21 -05:00
background: #8efc5b;
}
2019-02-22 03:09:27 -05:00
.green:active {
2019-02-22 00:22:21 -05:00
border-bottom: 2px solid #56a130;
}
2019-02-22 04:35:16 -05:00
span {
2019-01-15 10:42:15 -05:00
color: red;
}
2019-02-22 03:09:27 -05:00
#wasted {
display: none;
}
#wasted img {
width: 650px;
}
2019-02-22 04:35:16 -05:00
.toggle {
position: fixed;
right: 5px;
bottom: 5px;
}
#settings {
2019-02-22 07:26:25 -05:00
display: grid;
padding: 20px;
}
#settings > * {
margin-top: 10px;
2019-02-22 04:35:16 -05:00
}