Template:Cc-by-sa-layout/styles.css: Difference between revisions

Template page
mNo edit summary
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
     align-items: center;
     align-items: center;
     margin: 0.5em auto;
     margin: 0.5em auto;
     background-color: #f9f9f9;
     /*background-color: #f9f9f9;
     border: 2px solid #e0e0e0;
     border: 2px solid #e0e0e0;*/
     border-spacing: 8px;
     border-spacing: 8px;
     display: flex;
     display: flex;
Line 17: Line 17:
.rlicense-text div {
.rlicense-text div {
margin: 0.5em auto;
margin: 0.5em auto;
}
.error {
display: none;
}
}



Latest revision as of 14:42, 19 April 2024

.responsive-license-cc {
    clear: both; 
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin: 0.5em auto;
    /*background-color: #f9f9f9;
    border: 2px solid #e0e0e0;*/
    border-spacing: 8px;
    display: flex;
}
.responsive-license-cc div {
	margin: 4px;
}
.rlicense-text div {
	margin: 0.5em auto;
}
.error {
	display: none;
}

@media screen and (max-width: 640px) { /* For mobile devices */
	.responsive-license-cc {
		flex-flow: column;
	}
	.rlicense-text {
		order: 1;
	}
}