MAPG-235 removed font-family and font-weight css attributes for restrictions and now handled on higher level

This commit is contained in:
Balázs Vigh 2021-05-28 08:19:35 +02:00
parent 28165d76d3
commit bbaa2fe1eb
3 changed files with 8 additions and 9 deletions

View File

@ -31,11 +31,11 @@ main {
color: #ffffff; color: #ffffff;
} }
p, h1, h2, input, textarea, select, button, a, table { p, h1, h2, h3, input, textarea, select, button, a, table, label {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
h1, h2 { h1, h2, h3 {
font-weight: 500; font-weight: 500;
} }
@ -55,7 +55,11 @@ h2, header.small h1 {
font-size: 24px; font-size: 24px;
} }
p, h2 { h3 {
font-size: 18px;
}
p, h2, h3 {
line-height: 150%; line-height: 150%;
} }

View File

@ -78,11 +78,6 @@ div.mapItem>div.buttonContainer {
#restrictions { #restrictions {
margin-top: 1em; margin-top: 1em;
margin-bottom: 1em; margin-bottom: 1em;
font-family: 'Roboto', sans-serif;
}
#restrictions h3 {
font-weight: 500;
} }
#restrictions input { #restrictions input {

View File

@ -54,7 +54,7 @@ TODO: condition!
<input type="range" id="timeLimit" name="timeLimit" min="10" max="1800" step="10" value="300" /> <input type="range" id="timeLimit" name="timeLimit" min="10" max="1800" step="10" value="300" />
</div> </div>
<div id="timeLimitType"> <div id="timeLimitType">
Time limit <label>Time limit</label>
<input type="radio" id="timeLimitTypeGame" name="timeLimitType" value="game" checked /> <input type="radio" id="timeLimitTypeGame" name="timeLimitType" value="game" checked />
<label for="timeLimitTypeGame">for the whole game</label> <label for="timeLimitTypeGame">for the whole game</label>
<input type="radio" id="timeLimitTypeRound" name="timeLimitType" value="round" /> <input type="radio" id="timeLimitTypeRound" name="timeLimitType" value="round" />