Web/aranyjanos/style.css
2021-11-02 07:56:51 +01:00

245 lines
3.3 KiB
CSS

:focus {outline:none;}
::-moz-focus-inner {border:0;}
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #000;
}
body {
font-family: sans-serif;
margin: 10px 10%;
background-color: #aaa;
position: relative;
}
header {
padding: 10px;
text-align: center;
background: #333;
user-select: none;
}
header h1 {
font-family: cursive;
font-size: 50px;
color: gold;
text-shadow: 2px 2px 8px black;
}
h2 {
text-align: center;
}
main {
background-color: #eee;
padding: 14px 16px;
}
nav {
overflow: hidden;
background-color: black;
user-select: none;
}
nav a {
float: left;
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav a:hover {
background-color: #333;
color: white;
}
.active {
background-color: #eee;
color: black;
}
#vers {
width: 100%;
display: inline-block;
margin: 0;
font-family: serif;
padding: 0 24px;
background-color: white;
border-left: solid #aaa 4px;
box-sizing: border-box;
overflow-y: visible;
}
#left {
width: 40%;
display: inline-block;
float: left;
}
#right {
width: 40%;
display:inline-block;
float: right;
margin: 0 10%;
}
table {
width: 100%;
margin-bottom: 16px;
}
thead > tr > th {
font-size: 18px;
font-weight: bold;
border-bottom: solid 2px black;
text-align: center;
}
tbody > tr > th {
font-weight: normal;
text-align: left;
}
td {
text-align: right;
color: blue;
}
#vszStat > tbody > tr > th, #vszStat > tbody > tr > td {
width: 10%;
}
select {
width: 100%;
border: none;
font-family: serif;
font-weight: bold;
font-size: 24px;
border-left: solid #aaa 4px;
box-sizing: border-box;
padding: 24px;
}
select:focus {
outline: none;
}
.clear {
clear:both;
line-height:0;
}
#mainmenu {
padding: 72px;
}
#mainmenu p {
text-align: justify;
width: 50%;
margin: 10px auto;
}
#mainmenu input {
display: block;
font-family: Arial;
width: 50%;
height: 72px;
font-size: 24px;
font-weight: bold;
background-color: aqua;
border: solid 1px black;
margin: auto;
}
#mainmenu input:enabled:hover {
background-color: DeepSkyBlue;
}
#game {
width: 60%;
margin: auto;
padding-top: 72px;
padding-bottom: 72px;
}
#answers input {
font-family: Arial;
width: 23%;
height: 48px;
font-size: 18px;
background-color: aqua;
border: solid 1px black;
margin: 0 1%;
box-sizing: border-box;
}
#answers input:enabled:hover {
background-color: DeepSkyBlue;
}
#help, #newgame {
font-family: Arial;
width: 96px;
height: 24px;
line-height: 24px;
font-size: 16px;
margin: 0;
box-sizing: border-box;
float: right;
border: solid 1px black;
margin-right: 1%;
}
#help {
background-color: lightgreen;
}
#newgame {
background-color: yellow;
}
#help:enabled:hover {
background-color: lime;
}
#newgame:enabled:hover {
background-color: gold;
}
input:enabled {
cursor: pointer;
}
input:disabled {
color: black;
cursor: not-allowed;
}
#pont, #feladat {
display: inline-block;
width: 33%;
margin: 0;
line-height: 24px;
}
#pont {
text-align: left;
margin-left: 1%;
}
#resz {
text-align: left;
display: inline-block;
margin: 72px;
font-style: italic;
}
#idezet {
text-align: center;
margin: 1% 0;
border-top: solid 2px #aaa;
border-bottom: solid 2px #aaa;
}