Template:Home/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 32: Line 32:
#home-magic-words {
#home-magic-words {
     display: none;
     display: none;
}
/*Welcome*/
#welcome {
display: grid;
    padding: 1em;
}
#welcome h2 {
    align-self: start;
}
#message {
align-self: end;
}
#welcome h2, #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;
}
}
#catlist img {
width: 150px;
}
#catlist li {
    margin: 0.75em;
}
}

Revision as of 10:24, 31 October 2023

.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, 1fr);
    gap: 20px;
}

.main-portals > div {
	border: var(--tmw-pink-border);
    border-radius: 15px;
	background-image: radial-gradient(#001321, black 200%);
    padding: 1em;
}

@media screen and (max-width: 850px) {
.main-portals > div {
    grid-column: span 2;
}
}

#home-magic-words {
    display: none;
}


/*Welcome*/
#welcome {
	display: grid;
    padding: 1em;
}
#welcome h2 {
    align-self: start;
}
#message {
	align-self: end;
}
#welcome h2, #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;
	}
}
#catlist img {
	width: 150px;
}
#catlist li {
    margin: 0.75em;
}