MediaWiki:EnsSpeDemo.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 55: | Line 55: | ||
display: flex; | display: flex; | ||
width: 98%; | width: 98%; | ||
padding: 0 1%; | padding: 0 1%; | ||
} | } | ||
Line 62: | Line 61: | ||
display: flex; | display: flex; | ||
width: 47%; | width: 47%; | ||
padding: 0 1%; | padding: 0 1%; | ||
} | } | ||
Line 68: | Line 66: | ||
.demo-third { | .demo-third { | ||
display: flex; | display: flex; | ||
width: 29%; | width: 29%; | ||
padding: 0 2%; | padding: 0 2%; | ||
} | } |
Revision as of 20:06, 1 July 2023
.phone {
position: relative;
width: 180px;
height: 320px;
margin: auto;
border: 8px rgb(75, 75, 75) solid;
border-top-width: 30px;
border-bottom-width: 30px;
border-radius: 18px;
}
.phone:before {
content: '';
display: block;
width: 30px;
height: 5px;
position: absolute;
top: -15px;
left: 50%;
transform: translate(-50%, -50%);
background: #333;
border-radius: 10px;
}
.phone:after {
content: '';
display: block;
width: 20px;
height: 20px;
position: absolute;
left: 50%;
bottom: -35px;
transform: translate(-50%, -50%);
background: #333;
border-radius: 50%;
}
.phone .content {
width: 180px;
height: 320px;
background: white;
}
.demo-col {
display: flex;
flex-direction: column;
}
.demo-row {
display: flex;
flex-direction: row;
}
.demo-full {
display: flex;
width: 98%;
padding: 0 1%;
}
.demo-half {
display: flex;
width: 47%;
padding: 0 1%;
}
.demo-third {
display: flex;
width: 29%;
padding: 0 2%;
}
.demo-title {
display: flex;
text-align: center;
background-color: grey;
font-size: 200%;
margin-bottom: 1em;
margin-top: 1em;
}
.parchment {
display: flex;
padding: 0px 35px 0px 35px;
width: 130px;
height: 200px;
font-family: georgia,times;
font-style: italic;
font-size: 10pt;
background-image: url('/mediawiki/images/4/48/Parchment.png');
background-size: 200px 200px;
background-origin: border-box;
}