desultd/styles/buttons.css

38 lines
693 B
CSS

/*
* buttons.css
* Copyright (C) 2020 Vintage Salt
*
* Distributed under terms of the MIT license.
*/
/* BIG ICON BUTTONS
* Used on the index for services */
div.iconbuttoncontainer {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto auto auto auto;
}
a.iconbutton {
background: var(--background-dark);
border: 4px solid var(--background-dark);
display: block;
margin: 0.5em;
padding: 1em;
text-align: center;
}
a.iconbutton:hover {
background: var(--link-hover);
color: var(--background);
}
a.iconbutton i {
font-size: 400%
}
/* MOBILE */
@media only screen and (max-width: 600px) {
div.iconbuttoncontainer {
grid-template-columns: 1fr;
}
}