Template:Main Page navigation button/styles.css

From Popira Wiki

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

   border: 1px solid var(--theme-primary-0);
   background-color: rgba(47, 217, 227, 0.1);

}

.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; }

/*

* 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; }