yammat/static/css/main.css

278 lines
5.6 KiB
CSS
Raw Normal View History

2015-04-04 06:46:33 +02:00
#main article.article {
display: inline-block;
position: relative;
2015-04-09 12:52:34 +02:00
width: 10em;
height: 10em;
2015-04-04 06:46:33 +02:00
margin: 0.3em 0.15em 0px;
overflow-y: hidden;
box-shadow: 0px 0px 3px #c4c4c4;
background-color: #f5f5f5;
2015-04-09 12:52:34 +02:00
line-height: 10em;
2015-04-04 06:46:33 +02:00
text-align: center;
2015-04-05 01:42:31 +02:00
border-radius: 6px;
2015-04-04 06:46:33 +02:00
}
.text {
text-align: left;
}
.numeric {
text-align: right;
}
.left {
display: inline-block;
/*float: left;*/
padding: 2em;
}
.right {
display: inline-block;
2015-09-17 21:54:04 +02:00
float: right;
padding: 2em;
}
2015-04-08 15:56:37 +02:00
article#func.article {
background-color: #fff7bd;
}
2015-04-04 06:46:33 +02:00
.article a {
2015-04-04 08:19:20 +02:00
display: block;
2015-04-04 06:46:33 +02:00
font-size: 130%;
2015-04-04 08:19:20 +02:00
width: 100%;
height: 100%;
overflow: hidden;
background-size: 100%;
2015-04-17 20:31:26 +02:00
background-position: center;
background-repeat: no-repeat;
2015-04-16 02:12:03 +02:00
}
.article a p {
2015-04-16 02:51:08 +02:00
position: relative;
2015-04-04 06:46:33 +02:00
display: inline-block;
vertical-align: middle;
line-height: normal;
2015-04-16 02:51:08 +02:00
z-index: 1;
2015-04-04 06:46:33 +02:00
}
.article .avatar p {
text-shadow: -1px 0 1px black, 0 1px 1px black, 1px 0 1px black, 0 -1px 1px black;
}
2015-04-10 19:45:16 +02:00
img.flag {
height: 2em;
}
2015-04-04 06:46:33 +02:00
#message {
padding: 10px;
box-shadow: 0px 0px 3px #c4c4c4;
background-color: #fffe94;
2015-04-05 03:21:52 +02:00
border-radius: 6px;
2015-04-04 06:46:33 +02:00
}
2015-04-09 21:39:39 +02:00
tr#check {
background-color: lightgrey;
}
2015-10-12 02:32:45 +02:00
hr {
margin-bottom: 2em;
margin-top: 2em;
border-top: 1px solid black;
2015-04-06 04:37:20 +02:00
}
header a {
display: inline-block;
height: 5em;
line-height: 5em;
margin-bottom: 1em;
background-color: gold;
padding: 0px 1em;
border-radius: 6px;
box-shadow: 0px 0px 3px #c4c4c4;
}
2015-04-10 01:25:28 +02:00
header .lang a {
background-color: olive;
color: yellow;
}
2015-04-06 04:37:20 +02:00
header ul {
list-style: none outside none;
}
header li {
display: inline-block;
}
2015-04-04 06:46:33 +02:00
.header ul {
list-style: none outside none;
}
.header li {
display: inline-block;
2015-04-06 04:37:20 +02:00
padding-left: 1em;
}
.header a {
display: inline-block;
height: 5em;
line-height: 5em;
margin-bottom: 1em;
background-color: aliceblue;
padding: 0px 1em;
border-radius: 6px;
box-shadow: 0px 0px 3px #c4c4c4;
2015-04-04 06:46:33 +02:00
}
footer span {
padding-right: 20px;
}
2015-09-17 21:54:04 +02:00
footer span a {
2015-04-06 04:37:20 +02:00
margin-top: 1em;
display: inline-block;
position: relative;
height: 5em;
line-height: 5em;
background-color: aliceblue;
padding: 0px 1em;
border-radius: 6px;
box-shadow: 0px 0px 3px #c4c4c4;
}
2015-04-04 06:46:33 +02:00
table, td, th {
border: 1px solid black;
2015-04-12 18:11:48 +02:00
border-spacing: 0.5rem;
2015-04-04 06:46:33 +02:00
border-collapse: collapse;
}
table, form {
margin: 30px;
}
td {
text-align: right;
2015-04-04 07:54:04 +02:00
padding: 10px;
2015-04-04 06:46:33 +02:00
}
th {
background-color: lightgrey;
}
h1 {
text-align: center;
2015-04-05 03:22:12 +02:00
display: block;
position: relative;
transform-origin: 50% 50%;
animation-name: shake;
animation-duration: 0.8s;
animation-iteration-count: infinite;
animation-timing-function: linear;
-webkit-animation-name: shake;
-webkit-animation-duration: 0.8s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-moz-animation-name: shake;
-moz-animation-duration: 0.8s;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: linear;
2015-04-04 06:46:33 +02:00
}
2015-10-22 23:57:27 +02:00
input[type], button {
font-size: 24.5px !important;
2015-04-04 09:16:30 +02:00
width: auto;
2015-10-22 23:57:27 +02:00
min-width: 9rem;
height: 9rem;
}
.plusbtn {
margin-left: 30px;
2015-04-04 09:16:30 +02:00
}
2015-04-04 06:46:33 +02:00
.container {
width: auto !important;
padding: 30px;
}
2015-04-05 01:57:01 +02:00
2015-04-07 00:08:06 +02:00
@media screen and (max-width: 690px){
2015-04-05 01:57:01 +02:00
#main article.article {
width: 7em;
height: 7em;
line-height: 7em;
}
}
2015-04-05 03:22:12 +02:00
@keyframes shake {
0% {transform: translate(2px, 1px) rotate(0deg);
color: black;}
10% {transform: translate(-1px, -2px) rotate(-1deg);}
20% {transform: translate(-3px, 0px) rotate(1deg);}
30% {transform: translate(0px, 2px) rotate(0deg);}
40% {transform: translate(1px, -1px) rotate(1deg);}
50% {transform: translate(-1px, 1px) rotate(-1deg);
color: red;}
60% {transform: translate(-3px, -2px) rotate(0deg);}
70% {transform: translate(2px, 1px) rotate(-1deg);}
80% {transform: translate(-1px, -2px) rotate(1deg);}
90% {transform: translate(2px, -1px) rotate(0deg);}
100% {transform: translate(1px, -2px) rotate(-1deg);
color: black;}
}
@-webkit-keyframes shake {
0% {-webkit-transform: translate(2px, 1px) rotate(0deg);
color: black;}
10% {-webkit-transform: translate(-1px, -2px) rotate(-1deg);}
20% {-webkit-transform: translate(-3px, 0px) rotate(1deg);}
30% {-webkit-transform: translate(0px, 2px) rotate(0deg);}
40% {-webkit-transform: translate(1px, -1px) rotate(1deg);}
50% {-webkit-transform: translate(-1px, 1px) rotate(-1deg);
color: red;}
60% {-webkit-transform: translate(-3px, -2px) rotate(0deg);}
70% {-webkit-transform: translate(2px, 1px) rotate(-1deg);}
80% {-webkit-transform: translate(-1px, -2px) rotate(1deg);}
90% {-webkit-transform: translate(2px, -1px) rotate(0deg);}
100% {-webkit-transform: translate(1px, -2px) rotate(-1deg);
color: black;}
}
@-moz-keyframes shake {
0% {-moz-transform: translate(2px, 1px) rotate(0deg);
color: black;}
10% {-moz-transform: translate(-1px, -2px) rotate(-1deg);}
20% {-moz-transform: translate(-3px, 0px) rotate(1deg);}
30% {-moz-transform: translate(0px, 2px) rotate(0deg);}
40% {-moz-transform: translate(1px, -1px) rotate(1deg);}
50% {-moz-transform: translate(-1px, 1px) rotate(-1deg);
color: red;}
60% {-moz-transform: translate(-3px, -2px) rotate(0deg);}
70% {-moz-transform: translate(2px, 1px) rotate(-1deg);}
80% {-moz-transform: translate(-1px, -2px) rotate(1deg);}
90% {-moz-transform: translate(2px, -1px) rotate(0deg);
color: black;}
100% {-moz-transform: translate(1px, -2px) rotate(-1deg);}
}
2015-07-19 01:00:54 +02:00
#barcode {
display: none;
opacity: 0;
}
#barcode.shown {
z-index: 1000;
display: block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: black;
color: white;
font-size: 300%;
opacity: 0.9;
display: flex;
align-items: center;
justify-content: center;
}
#barcodeContent {
text-align: center;
}