MediaWiki:EnsSpeDemo.css: Difference between revisions

From Wiki PeiP systèmes embarqués
Jump to navigation Jump to search
No edit summary
No edit summary
Line 63: Line 63:


.parchment {
.parchment {
   padding: auto 50px auto 50px;
   padding: 0px 50px 0px 50px;
   width: 200px;
   width: 200px;
   height: 300px;
   height: 300px;
Line 70: Line 70:
   font-size: 10pt;
   font-size: 10pt;
   text-align: center;
   text-align: center;
  vertical-align: middle;
   background-image: url('/mediawiki/images/4/48/Parchment.png');
   background-image: url('/mediawiki/images/4/48/Parchment.png');
   background-size: 310px 300px;
   background-size: 310px 300px;
   background-origin: border-box;
   background-origin: border-box;
   }
   }

Revision as of 21:50, 30 June 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-third {
  width: 29%;
  float: left;
  padding: 0 2%;
  }

.demo-half {
  width: 47%;
  float: left;
  padding: 0 2%;
  }

.demo-title {
  text-align: center;
  background-color: grey;
  font-size: 200%;
  margin-bottom: 1em;
  margin-top: 1em;
  }

.parchment {
  padding: 0px 50px 0px 50px;
  width: 200px;
  height: 300px;
  font-family: georgia,times;
  font-style: italic;
  font-size: 10pt;
  text-align: center;
  vertical-align: middle;
  background-image: url('/mediawiki/images/4/48/Parchment.png');
  background-size: 310px 300px;
  background-origin: border-box;
  }