yammat/static/css/main.css

291 lines
5.8 KiB
CSS
Raw Normal View History

2015-04-04 04:46:33 +00:00
#main article.article {
display: inline-block;
position: relative;
2015-04-09 10:52:34 +00:00
width: 10em;
height: 10em;
2015-04-04 04:46:33 +00:00
margin: 0.3em 0.15em 0px;
overflow-y: hidden;
box-shadow: 0px 0px 3px #c4c4c4;
background-color: #f5f5f5;
2015-04-09 10:52:34 +00:00
line-height: 10em;
2015-04-04 04:46:33 +00:00
text-align: center;
2015-04-04 23:42:31 +00:00
border-radius: 6px;
2015-04-04 04:46:33 +00:00
}
2017-01-21 16:09:44 +00:00
.transp {
color: transparent !important;
}
.text {
text-align: left;
}
.numeric {
text-align: right;
}
.left {
display: inline-block;
/*float: left;*/
padding: 2em;
}
.right {
display: inline-block;
2015-09-17 19:54:04 +00:00
float: right;
padding: 2em;
}
2015-04-08 13:56:37 +00:00
article#func.article {
background-color: #fff7bd;
}
2015-04-04 04:46:33 +00:00
.article a {
2015-04-04 06:19:20 +00:00
display: block;
2015-04-04 04:46:33 +00:00
font-size: 130%;
2015-04-04 06:19:20 +00:00
width: 100%;
height: 100%;
overflow: hidden;
background-size: 100%;
2015-04-17 18:31:26 +00:00
background-position: center;
background-repeat: no-repeat;
2015-04-16 00:12:03 +00:00
}
.article a p {
2015-04-16 00:51:08 +00:00
position: relative;
2015-04-04 04:46:33 +00:00
display: inline-block;
vertical-align: middle;
line-height: normal;
2015-04-16 00:51:08 +00:00
z-index: 1;
2015-04-04 04:46:33 +00: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 17:45:16 +00:00
img.flag {
height: 2em;
}
2015-04-04 04:46:33 +00:00
#message {
padding: 10px;
box-shadow: 0px 0px 3px #c4c4c4;
background-color: #fffe94;
2015-04-05 01:21:52 +00:00
border-radius: 6px;
2015-04-04 04:46:33 +00:00
}
2015-04-09 19:39:39 +00:00
tr#check {
background-color: lightgrey;
}
2015-10-12 00:32:45 +00:00
hr {
margin-bottom: 2em;
margin-top: 2em;
border-top: 1px solid black;
2015-04-06 02:37:20 +00: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-09 23:25:28 +00:00
header .lang a {
background-color: olive;
color: yellow;
}
2015-04-06 02:37:20 +00:00
header ul {
list-style: none outside none;
}
header li {
display: inline-block;
}
2015-04-04 04:46:33 +00:00
.header ul {
list-style: none outside none;
}
.header li {
display: inline-block;
2015-04-06 02:37:20 +00: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 04:46:33 +00:00
}
footer span {
padding-right: 20px;
}
2015-09-17 19:54:04 +00:00
footer span a {
2015-04-06 02:37:20 +00: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 04:46:33 +00:00
table, td, th {
border: 1px solid black;
2015-04-12 16:11:48 +00:00
border-spacing: 0.5rem;
2015-04-04 04:46:33 +00:00
border-collapse: collapse;
}
table, form {
margin: 30px;
}
td {
text-align: right;
2015-04-04 05:54:04 +00:00
padding: 10px;
2015-04-04 04:46:33 +00:00
}
th {
background-color: lightgrey;
}
h1 {
text-align: center;
2015-04-05 01:22:12 +00: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 04:46:33 +00:00
}
2015-10-22 21:57:27 +00:00
input[type], button {
font-size: 24.5px !important;
2015-04-04 07:16:30 +00:00
width: auto;
2015-10-22 21:57:27 +00:00
min-width: 9rem;
height: 9rem;
}
.plusbtn {
margin-left: 30px;
2015-04-04 07:16:30 +00:00
}
2015-04-04 04:46:33 +00:00
.container {
width: auto !important;
padding: 30px;
}
2015-04-04 23:57:01 +00:00
2015-04-06 22:08:06 +00:00
@media screen and (max-width: 690px){
2015-04-04 23:57:01 +00:00
#main article.article {
width: 7em;
height: 7em;
line-height: 7em;
}
}
2015-04-05 01:22:12 +00: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-18 23:00:54 +00: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;
}
2016-01-24 00:27:58 +00:00
#demand-warning {
color: red;
font-weight: bold;
font-size: 150%;
}
.negative {
color: red;
font-weight: bold;
}