IT2805/Exercise 6/style.css

58 lines
852 B
CSS

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: grey;
}
h1 {
text-align: center;
color: #2b68d8;
padding: 10px;
border-radius: 20px;
background-color: #DFDFDF;
margin: 30px 10%;
}
form {
margin: 0 10%;
background-color: #DFDFDF;
padding: 50px;
border-radius: 20px;
}
input, select {
display: block;
margin-bottom: 20px;
}
input[type=text], input[type=number], input[type=email], input[type=date], select {
border-radius: 5px;
}
input[type=submit] {
font-size: large;
border-radius: 5px;
color: #2b68d8;
background-color: #DDDDDD;
}
input[type=submit]:hover {
background-color: #FFFFFF;
}
#sliders input, #taxFields input {
display: inline;
margin-right: 20px;
}
#sliders {
margin: 20px 0;
}
#taxFields {
margin: 20px 0;
}
.inline * {
display: inline;
}