Template:HeroNav/styles.css: Difference between revisions
From Gigantic Wiki
Content added Content deleted
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
.iconhandler { |
.iconhandler { |
||
border-collapse: collapse; |
border-collapse: collapse; |
||
margin: 0 |
margin: 0 10px; } |
||
/* Behaviour on smaller screens on Timeless */ |
/* Behaviour on smaller screens on Timeless */ |
||
@media only screen and (max-width:1412px) { |
@media only screen and (max-width:1412px) { |
||
Line 35: | Line 35: | ||
.iconsize { |
.iconsize { |
||
width: |
width: 62px; |
||
height: |
height: 62px; } |
||
/* Icon image (hover) */ |
/* Icon image (hover) */ |
||
.iconsize img { |
.iconsize img { |
||
border: |
border: 3px solid #017087; |
||
margin: 2px; |
margin: 2px; |
||
background: linear-gradient(#E7E7E7, #C6C7C6); } |
background: linear-gradient(#E7E7E7, #C6C7C6); } |
Revision as of 09:28, 31 March 2024
/* For Template:HeroNav */
/* Container for all icons */
.iconbox {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
white-space: pre-wrap;
text-align: center;
padding: 10px;
color: #F5F7D1;
font-size: 90%; }
/* Container for single icon (a table) */
.iconhandler {
border-collapse: collapse;
margin: 0 10px; }
/* Behaviour on smaller screens on Timeless */
@media only screen and (max-width:1412px) {
body.skin-timeless .iconhandler {
margin: 0 10px; }
}
@media only screen and (max-width:1332px) {
body.skin-timeless .iconhandler {
margin: 0 5px; }
}
@media only screen and (max-width:1284px) {
body.skin-timeless .iconhandler {
margin: 0 3px; }
}
@media only screen and (max-width:1220px) {
body.skin-timeless .iconhandler {
margin: 0; }
}
.iconsize {
width: 62px;
height: 62px; }
/* Icon image (hover) */
.iconsize img {
border: 3px solid #017087;
margin: 2px;
background: linear-gradient(#E7E7E7, #C6C7C6); }
.iconsize img:hover {
border-color: #3FB9BE; }
/* [[Category:Styling pages]] */