Template:Main Page navigation button/styles.css: Difference between revisions

From Popira Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 4: Line 4:
height: 3em;
height: 3em;
box-sizing: border-box;
box-sizing: border-box;
    border: 1px solid var(--theme-primary-0);
    background-color: rgba(47, 217, 227, 0.1);
}
}


Line 22: Line 20:
left: 15px;
left: 15px;
top: 0.8em;
top: 0.8em;
}
/*
* Vector skin
*/
/*
* Citizen skin
*/
body.skin-citizen .mp-nav-button {
background-color: var(--color-surface-2);
border: 1px solid var(--color-surface-3);
border-radius: var(--border-radius--medium);
}
body.skin-citizen .mp-nav-button:hover {
    background-color: var(--color-surface-3);
    border: 1px solid var(--color-surface-4);
transition: 0.15s ease-in-out;
}
body.skin-citizen .mp-nav-button a {
color: var(--color-base);
}
/*
* Cosmos skin
*/
body.skin-cosmos .mp-nav-button {
border-radius: 4px;
background-color: white;
}
}

Latest revision as of 20:26, 29 October 2023

.mp-nav-button { display: inline-block; position: relative; height: 3em; box-sizing: border-box; }

.mp-nav-button a { display: inline-block; position: relative; z-index: 1; width: 100%; height: 100%; padding: 0.6em 0 0.6em 48px; box-sizing: border-box; }

.mp-nav-button img { position: absolute; left: 15px; top: 0.8em; }