theshell.ch/site/_sass/_topics.scss
britea f321427165 css-team: correct list commands
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@66 a672b425-5310-4d7a-af5c-997e18724b81
2018-11-08 19:47:03 +00:00

42 lines
658 B
SCSS

ol {
list-style: none;
counter-reset: command;
width: 50%;
}
.list-commands {
border-radius: 50px;
background-color: #bdbdbd;
counter-increment: command;
margin-bottom: 5px;
a{
height:29px;
width:calc(100% - 2em - 20px);
text-decoration: none;
font-size: 2.5vh;
font-weight: bold;
display: inline-block;
margin-left:20px;
}
}
.list-commands:before {
content: counter(command);
background: #6a6;
border-radius: 100%;
height: 33px;
width: 33px;
font-size: 3vh;
text-align: center;
display: inline-block;
}
.list-commands:hover{
background-color: #646464;
}