papercats/public/static/styles.css

126 lines
2.6 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;
}
canvas {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
#begin {
width: 100%;
height: 100%;
background: rgba(0,0,0,.8);
}
#github svg {
transition: all 1s;
transform-origin: right top;
}
#github:hover svg {
transform: scale(2);
}
.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);
}
}
input {
font-family: "Changa", "Sans Serif";
font-size: 1.5rem;
outline: none;
border: 0;
padding: .5rem 1rem;
line-height: 2.5rem;
}
#name {
/*
border: 4px solid lightgray;
border-radius: 2px;
*/
background: #ededd1;
border-bottom: 6px solid #a1a18d;
}
input[type=button] {
/*
border-style: solid;
border-color: #e6e699 #b8b814 #b8b814 #e6e699;
border-width: 4px 4px 4px 4px;
border-radius: 4px;
background: #eded5e;
*/
background: #eaec4b;
border-bottom: 6px solid #a1a130;
color: #888a34;
text-align: center;
cursor: pointer;
}
input[type=button]:hover {
background: #fafc5b;
}
input[type=button]:active {
/*
border-color: #73730d #cccc7d #cccc7d #73730d;
background: #e8e830;
border: none;
border-top: 4px solid #333;
*/
border-bottom: 2px solid #a1a130;
transform: translateY(4px);
}
input[type=button]:disabled {
cursor: not-allowed;
}
#error {
color: red;
}