Template:Home/styles.css: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 16: Line 16:
.main-portals {
.main-portals {
     display: grid;
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 1em;
     gap: 1em;
}
}
@media screen and (max-width: 1000px) {
@media screen and (max-width: 850px) {
.main-portals > div {
.main-portals > div {
     grid-column: span 3 !important;
     grid-column: span 2;
}
#welcome {
grid-template-columns: 1fr !important;
}
}
}
}
Line 34: Line 31:
#welcome {
#welcome {
display: grid;
display: grid;
grid-column: span 3;
grid-template-columns: 1fr 1fr;
gap: 1em;
}
}
#welcome h1 {
#welcome h1 {

Revision as of 14:17, 13 June 2024

h1, h2, h3 {
	clear: both;
	text-align: center;
	margin: 0.5em 0 0.5em;
}
.home-page h1 {
    border-bottom: 1px solid transparent !important;
}
.mw-body h1.firstHeading {
	display: none !important;
}
.thumbinner {
    max-width: 250px;
    width: 100% !important;
}
.main-portals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1em;
}
@media screen and (max-width: 850px) {
.main-portals > div {
    grid-column: span 2;
}
}
#home-magic-words {
    display: none;
}

/*Welcome*/
#welcome {
	display: grid;
}
#welcome h1 {
    align-self: start;
    margin-bottom: 1em;
}
#message {
	align-self: end;
}
#message, #cat {
    text-align: center;
}
#left {
	display: grid;
	align-items: center;
	gap: 1em;
}
#right {
	display: inline-flex;
	justify-content: center;
	align-items: center;
}
#catlist {
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    list-style-type: none;
    margin: 0;
    padding: 0 10px;
}
/*
@media screen and (max-width: 500px) {
	#catlist {
		grid-template-columns: 1fr 1fr;
	}
	#img {
		width: 120px;
	}
}
*/
/*Floppy Disk*/
.hatnote {
	display: none;
}
.overflowed {
	display: none;
}
.navbox {
	display: none;
}
.error {
	display: none;
}
.infobox-tabber {
    display: none;
}
.floppy-outer #youtube-outer {
    display: none;
}
span > a:hover, span > a:active {
    color: #fff;
    text-shadow: 0 0 8px #fff;
}
span > a:hover {
    text-decoration: none;
}
sup.reference {
    display: none;
}
.toc {
    display: none;
}
#floppy1 {
    height: 90ch;
    overflow: hidden;
    padding: 0 1em;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}
span.mw-editsection {
    display: none;
}
a.new {
    display: none;
}
.mw-cite-backlink, .cite-accessibility-label {
    display: none;
}
#References {
	display: none;
}
.mw-references-wrap {
	display: none;
}
.floppy-outer .infobox {
	display: none;
}
.hidden-image {
	display: block !important;
}

/*Cover Flow*/
#cover-flow {
	grid-column: span 2;
	padding: 0;
}
#cover-flow h1 {
	margin: 1em 0 0.5em;
}
#cover-flow .tabber__tabs {
	justify-content: space-around;
}
.tabber__tab, .tabber__tab:visited {
	font-size: 1rem;
    font-style: italic;
    font-weight: 300;
}

/*News*/
#ygm {
	grid-column: span 2;
	}
#ygm-wrapper {
    padding: 0 2em;
}

/*Now Playing*/
#now-playing {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#now-playing .video-wrapper {
   padding: 1em;
}
#button-wrap {
    display: flex;
    justify-content: center;
    height: min-content;
}
#now-playing p {
	display: none;
}
#ytButton {
	background-color: transparent;
    border-color: transparent;
    font-family: 'Press Start 2P';
    color: var(--tmw-primary);
    text-transform: uppercase;
}

/*Did You Know*/
#DidYouKnow {
    display: flex;
    flex-direction: column;
}
.factlist li + li {
    margin-top: 1em;
}
.factlist {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 20px;
}
.factlist li::marker {
  content: '💾';
}

/*Polaroids*/
#polaroid-gallery {
    grid-column: span 2;
}
#polaroid-gallery ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin: 0 auto;
    max-width: 1100px;
}
#rotate-script {
    display: none;
}