Template:Home/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
h1, h2, h3 {
clear: both;
text-align: center;
margin: 0.5em 0 0.5em;
}
/*
/*
ul li::marker {
.main-portals h2 {
  content: '💾';
font-size: 32px;
    letter-spacing: 5px;
}
}
*/
*/
 
.home-page h2 {
h1,h2,h3 {
font-weight: normal;
}
 
div#catlinks-sidebar {
    display: none;
}
 
#content-bottom-stuff {
    display: none !important;
}
 
.home-page h2:after {
     border-bottom: 1px solid transparent !important;
     border-bottom: 1px solid transparent !important;
}
}
 
.mw-body h1.firstHeading {
div.tright, div.floatright, table.floatright {
display: none !important;
    padding: 0 0 1em 0em;
}
}
.thumbinner {
.thumbinner {
     max-width: 250px;
     max-width: 250px;
Line 30: Line 21:
.main-portals {
.main-portals {
     display: grid;
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 20px;
     gap: 1em;
}
@media screen and (max-width: 850px) {
.main-portals > div {
    grid-column: span 2;
}
}
#home-magic-words {
    display: none;
}
}


.main-portals > div {
/*Welcome*/
#welcome {
display: grid;
}
#welcome h2 {
    align-self: start;
}
#message {
align-self: end;
}
#message, #cat {
    text-align: center;
}
#left {
display: grid;
display: grid;
border: 1px solid #f81472;
align-items: center;
    border-radius: 15px;
}
background-image: radial-gradient(#001321, black 200%);
#right {
     padding-top: 1em;
display: inline-flex;
     padding-bottom: 1em;
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;
}
}
}


@media screen and (max-width: 850px) {
/*Floppy Disk*/
.main-portals > div {
.hatnote {
     grid-column: span 2;
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;
}
 
/*Cover Flow*/
#cover-flow {
grid-column: span 2;
padding: 0;
}
#cover-flow h2 {
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;
}
}


.home-page #youtube-outer {
/*News*/
    margin: 0 auto;
#ygm {
    margin-bottom: 1em;
grid-column: span 2;
     float: none;
}
#ygm-wrapper {
     padding: 0 2em;
}
}


#hide-cat {
/*Now Playing*/
     display: none;
#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;
}
}


#home-magic-words {
/*Did You Know*/
     display: none;
#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*/
@media screen and (max-width: 750px) {
#polaroid-gallery {
.main-portals {
    grid-column: span 2;
     display: grid;
}
     grid-template-columns: 1fr;
#polaroid-gallery ul {
     grid-row-gap: 20px;
     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;
}
}
*/

Latest revision as of 23:52, 25 April 2024

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 {
    border-bottom: 1px solid transparent !important;
}
.mw-body h1.firstHeading {
	display: none !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;
}

/*Cover Flow*/
#cover-flow {
	grid-column: span 2;
	padding: 0;
}
#cover-flow h2 {
	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;
}