9iron/styles/buttons.css

38 lines
667 B
CSS
Raw Normal View History

2020-08-16 06:08:38 -05:00
/*
* 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;
2020-09-27 17:18:58 -05:00
grid-gap: 1em;
2020-08-16 06:08:38 -05:00
grid-template-columns: 1fr 1fr 1fr;
}
a.iconbutton {
background: var(--background-bright);
border-radius: 8px;
box-shadow: 5px 5px var(--shadow);
display: block;
padding: 1em;
text-align: center;
}
a.iconbutton:hover {
background: var(--link-hover);
color: var(--background);
}
a.iconbutton i {
font-size: 400%
}
2020-08-16 06:41:55 -05:00
/* MOBILE */
@media only screen and (max-width: 600px) {
div.iconbuttoncontainer {
grid-template-columns: 1fr;
}
}