theshell.ch/site/_sass/_home.scss
britea d667ce5ef9 css-team: do homepage
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@140 a672b425-5310-4d7a-af5c-997e18724b81
2018-11-12 12:48:24 +00:00

48 lines
730 B
SCSS

.home-tiles {
display: grid;
grid-template-columns: auto auto auto;
grid-gap: 20px;
padding-top: 40px;
}
.home-tile {
display:block;
text-align: center;
font-size: 1rem;
margin: .5em;
padding: 2rem;
background-color: #68BB6A;
transition: all .2s ease-in-out;
}
.home-tile:hover {
text-align: center;
margin: .5em;
background-color: #388E3C;
transform: scale(1.1);
}
.home-tile-title {
color: white;
text-decoration: none;
}
.home-tile-title:hover {
color: white;
text-decoration: none;
}
#videoHome {
width: 100%;
}
.hide{
opacity:0;
}
@media screen and (max-width: 500px) {
.home-tiles {
grid-template-columns: auto;
}
}