remote-touchpad/webdata/main.css
2018-09-30 00:26:29 +02:00

144 lines
2 KiB
CSS

html,
body,
#pad,
#keyboard,
#opening,
#closed {
width: 100%;
height: 100%;
margin: 0;
}
body {
font-family: sans;
}
#pad,
#sendbutton,
#opening,
#closed {
background-color: #404040 !important;
background-image: url(tex.png);
}
#opening,
#closed {
display: flex;
align-items: center;
justify-content: center;
font-size: 2em;
color: white;
word-wrap: break-word;
flex-direction: column;
}
#pad {
display: flex;
flex-direction: column;
}
#padlabel {
color: gray;
text-shadow:
-1px -1px 0 black,
1px -1px 0 black,
-1px 1px 0 black,
1px 1px 0 black;
opacity: 0.08;
font-weight: bold;
margin-top: auto;
margin-bottom: auto;
text-align: center;
font-size: 4rem;
word-wrap: break-word;
}
@media (max-width: 32rem) {
#padlabel {
font-size: 13vw;
}
}
#fullscreenbutton,
#keyboardbutton,
#sendbutton,
#reloadbutton {
background-color: transparent;
border: 1px solid black;
height: 1.5em;
width: 2em;
font-size: 2em;
color: white;
}
#fullscreenbutton,
#keyboardbutton,
#sendbutton {
border-bottom: none;
}
#fullscreenbutton {
border-left: none;
}
#keyboardbutton {
border-right: none;
margin-left: auto;
}
#keyboard {
display: flex;
flex-direction: row;
}
#text {
flex: 2;
border: none;
resize: none;
font-size: 2em;
background-color: white;
color: black;
}
.buttons {
display: flex;
}
#sendbutton {
border-right: none;
border-top: none;
height: 100%;
}
@media (max-aspect-ratio: 4/3) {
#keyboard {
flex-direction: column;
}
#sendbutton {
border-left: none;
border-top: 1px solid black;
height: 1.5em;
width: 100%;
}
}
@font-face {
font-family: "icon";
src: url("icon.woff") format("woff");
}
.icon {
font-family: "icon";
}
p {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
button:focus {
outline: none;
}