Template:Home/Welcome/styles.css: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
/*
#welcome img{
    margin-top: 1em;
}
*/
#welcome {
#welcome {
     width: 50%;
display: grid;
     padding: 1em;
}
}


#welcome img{
/*
    margin-top: 1em;
@media screen and (min-width: 1400px) {
#welcome {
    grid-template-columns: 1fr !important;
    gap: 1em !important;
}
#left {
grid-template-columns: repeat(3, 1fr) !important;
}
#welcome h2, #message {
align-self: center !important;
}
#catlist {
grid-template-columns: repeat(6, 1fr) !important;
}
}
*/
 
/*
@media screen and (max-width: 1200px) {
#welcome {
grid-template-columns: 1fr;
}
}
}
*/


/*
#welcome h1 {
#welcome h1 {
     text-align: initial;
     text-align: initial;
}*/
#welcome h2 {
    align-self: start;
}
#message {
align-self: end;
}
}


#welcome h2, #message, #cat {
#welcome h2, #message, #cat {
     text-align: center;
     text-align: center;
}
#left {
display: grid;
align-items: center;
}
#right {
display: inline-flex;
justify-content: center;
align-items: center;
}
}


#catlist {
#catlist {
     display: inline-flex;
     display: inline-grid;
     flex-wrap: wrap;
     grid-template-columns: repeat(3, 1fr);
     gap: 3em;
     gap: 2em;
     justify-content: center;
     list-style-type: none;
    margin: 0;
    padding: 0 10px;
}
}


@media (max-width: 600px) {
@media screen and (max-width: 500px) {
    #catlist {
 
        display: inline-grid;
#catlist {
        grid-template-columns: repeat(2, 1fr);
grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
}
        grid-column-gap: 40px;
 
        grid-row-gap: 10px;
#img {
        text-align: left;
width: 120px;
}
}
}
#catlist img {
width: 150px;
}
}


@media (max-width: 850px) {
#catlist li {
     #welcome {   
     margin: 0.75em;
        width:100%;
    }
}
}

Latest revision as of 23:37, 8 August 2023

/*
#welcome img{
    margin-top: 1em;
}
*/

#welcome {
	display: grid;
    padding: 1em;
}

/*
@media screen and (min-width: 1400px) {
	#welcome {
	    grid-template-columns: 1fr !important;
	    gap: 1em !important;
	}
	
	#left {
		grid-template-columns: repeat(3, 1fr) !important;
	}
	
	#welcome h2, #message {
		align-self: center !important;
	}
	
	#catlist {
		grid-template-columns: repeat(6, 1fr) !important;
	}
}
*/

/*
@media screen and (max-width: 1200px) {
	#welcome {
		grid-template-columns: 1fr;
	}
}
*/

/*
#welcome h1 {
    text-align: initial;
}*/

#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;
}