some styles

This commit is contained in:
2019-02-24 04:35:56 +00:00
parent 67f267d7ab
commit 58c1e1185b
3 changed files with 64 additions and 15 deletions

42
public/main.css Normal file
View File

@ -0,0 +1,42 @@
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;
}