JSDSH/assets/style.css

96 lines
1.3 KiB
CSS
Raw Permalink Normal View History

2014-10-24 15:52:18 +02:00
/* We want a scrollbar to show - always
evil hack, but overflow-y: scroll sometimes doesn't work*/
html, body {
height: 100%;
margin: 0 0 1px 0;
padding: 0;
}
#display {
2014-09-26 12:00:15 +02:00
postion:relative;
2014-09-25 18:10:28 +02:00
background: rgba(163,128,95,0.9);
border-radius: 20px;
2014-10-07 11:57:12 +02:00
padding: 5px 10px 5px 10px;
2014-10-24 15:52:18 +02:00
display:none;
2014-09-25 17:29:39 +02:00
}
h1 {
2014-10-07 11:57:12 +02:00
text-align: center;
2014-09-25 18:10:28 +02:00
margin-top: 10px;
}
#game {
width:auto;
2014-10-07 11:57:12 +02:00
margin: 0px 20px 0px 0px;
2014-09-25 18:10:28 +02:00
border: #692200 4px solid ;
2014-10-07 11:57:12 +02:00
border-radius: 4px;
float:left;
2014-09-26 12:00:15 +02:00
}
#output {
position:relative;
}
#uibon, #uiatt {
2014-10-07 11:57:12 +02:00
right: 30px;
}
#load {
2014-10-16 13:22:15 +02:00
margin: 0px auto 5px auto;
2014-10-07 11:57:12 +02:00
}
#clear {
clear: both;
2014-10-16 13:22:15 +02:00
}
2014-10-24 17:14:09 +02:00
.bon {
width: 50px;
}
.label {
display: inline-block;
width: 160px;
padding: auto;
}
select {
width: 100px;
}
2014-10-16 13:22:15 +02:00
/* Don't show anything but warning, if too small */
2014-10-24 15:52:18 +02:00
/* handheld doesn't work, don't know why…*/
@media handheld {
#display {
display:none;
}
#small {
display:inline;
}
}
@media screen and (min-width:815px) {
2014-10-16 13:22:15 +02:00
#small {
display:none;
}
body {
width: 800px;
margin: auto;
background: url('/assets/freielande.jpg') no-repeat 0 0, rgb(198,186,160);
background-size: 100% auto;
padding: 10px 0;
}
2014-10-24 15:52:18 +02:00
#display {
display:block;
}
2014-10-16 13:22:15 +02:00
}
2014-10-24 15:52:18 +02:00
@media screen and (max-width:814px) {
2014-10-16 13:22:15 +02:00
#display {
display:none;
}
2014-10-24 15:52:18 +02:00
#small {
display:inline;
}
2014-10-16 13:22:15 +02:00
}