Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
MediaWiki help
Creopedia
Search
Search
Appearance
Log in
Personal tools
Log in
View source for Module:Prevnext/styles.css
Module
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
←
Module:Prevnext/styles.css
.t-prevnext { margin: 16px 0; padding: 4px; background-color: var(--background-color-neutral-subtle); border: 1px solid var(--border-color-base); border-radius: 2px; font-size: 0.875rem; line-height: 1.25; display: grid; align-items: center; grid-template-areas: 'prev current next'; grid-template-columns: minmax(max-content, 1fr) minmax(max-content, 1fr) minmax( max-content, 1fr ); } .t-prevnext__prev, .t-prevnext__next { position: relative; border-radius: 2px; display: flex; align-items: center; gap: 12px; } .t-prevnext__prev, .t-prevnext__current, .t-prevnext__next { padding: 8px; } .t-prevnext__prev { grid-area: prev; } .t-prevnext__current { grid-area: current; text-align: center; } .t-prevnext__next { grid-area: next; justify-content: flex-end; text-align: end; } .t-prevnext__link:hover { background-color: var(--background-color-button-quiet--hover); } .t-prevnext__link:hover > .t-prevnext__icon { opacity: 0.8; } .t-prevnext__prev:hover > .t-prevnext__icon { transform: translateX(-2px); } .t-prevnext__next:hover > .t-prevnext__icon { transform: translateX(2px); } .t-prevnext__link:active { background-color: var(--background-color-button-quiet--active); } .t-prevnext__link:active > .t-prevnext__icon { opacity: 1; } .t-prevnext__icon { line-height: 1; /* Fix inline alignment */ opacity: 0.6; transition: transform 250ms ease; } .t-prevnext__title { color: var(--color-emphasized); font-weight: 500; } .t-prevnext__link .t-prevnext__title { color: var(--color-progressive); } .t-prevnext__link--new .t-prevnext__title { color: var(--color-link-red); } .t-prevnext__desc { color: var(--color-subtle); font-size: 0.75rem; } .t-prevnext__linkoverlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .t-prevnext__linkoverlay > a { display: block; font-size: 0; height: 100%; } @media screen and (max-width: 639px) { .t-prevnext { grid-template-areas: 'current current' 'prev next'; grid-template-columns: auto; } .t-prevnext__current { border-bottom: 1px solid var(--border-color-base); } }
Return to
Module:Prevnext/styles.css
.