43 lines
540 B
CSS
43 lines
540 B
CSS
|
html {
|
||
|
box-sizing: border-box;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
*, *:before, *:after {
|
||
|
box-sizing: inherit;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
margin: 15px auto;
|
||
|
max-width: 450px;
|
||
|
}
|
||
|
|
||
|
ul.switches {
|
||
|
display: flex;
|
||
|
margin: 0 0 15px;
|
||
|
padding: 0;
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
.switches li {
|
||
|
margin: 5px;
|
||
|
}
|
||
|
|
||
|
.switches a {
|
||
|
display: inline-block;
|
||
|
padding: 10px;
|
||
|
border: 1px solid #000;
|
||
|
border-radius: 5px;
|
||
|
text-decoration: none;
|
||
|
color: #000;
|
||
|
}
|
||
|
|
||
|
.switches a:hover {
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
|
||
|
.switches a.active {
|
||
|
background-color: #858585;
|
||
|
color: #eee;
|
||
|
}
|