Template:Home/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 151: Line 151:
#now-playing .video-wrapper {
#now-playing .video-wrapper {
   padding: 1em;
   padding: 1em;
}
#now-playing .video-outer {
    max-width: calc(100% - 2rem);
    height: inherit;
}
}
#button-wrap {
#button-wrap {

Revision as of 21:39, 2 December 2023

h1, h2, h3 {
	clear: both;
	text-align: center;
	margin: 0.5em 0 0.5em;
}
.main-portals h2 {
	font-size: 32px;
    letter-spacing: 5px;
}
.home-page h2:after {
    border-bottom: 1px solid transparent !important;
}
.thumbinner {
    max-width: 250px;
}
.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 h2 {
    align-self: start;
}
#message {
	align-self: end;
}
#message, #cat {
    text-align: center;
}
#left {
	display: grid;
	align-items: center;
}
#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 {
    max-height: 600px;
    height: 600px;
    overflow: hidden;
    padding: 0 2em;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
#floppy1 h2 {
	font-size: 1.5em;
}
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;
}

/*News*/
dl {
    padding-left: 20px;
	padding-right: 20px;
}
#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-pink);
    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;
}
#rotate-script {
    display: none;
}