MediaWiki:EnsSpeDemo.css: Difference between revisions

From Wiki PeiP systèmes embarqués
Jump to navigation Jump to search
(Created page with ".phone { position: relative; width: 360px; height: 640px; margin: auto; border: 16px rgb(75, 75, 75) solid; border-top-width: 60px; border-bottom-width: 60px; border-radius: 36px; } .phone:before { content: ''; display: block; width: 60px; height: 5px; position: absolute; top: -30px; left: 50%; transform: translate(-50%, -50%); background: #333; border-radius: 10px; } .phone:after { content...")
 
No edit summary
 
(129 intermediate revisions by the same user not shown)
Line 1: Line 1:
.phone {
.phone {
     position: relative;
     position: relative;
     width: 360px;
     width: 180px;
     height: 640px;
     height: 320px;
     margin: auto;
     margin: auto;
     border: 16px rgb(75, 75, 75) solid;
     border: 8px rgb(75, 75, 75) solid;
     border-top-width: 60px;
     border-top-width: 30px;
     border-bottom-width: 60px;
     border-bottom-width: 30px;
     border-radius: 36px;
     border-radius: 18px;
   }
   }


Line 13: Line 13:
     content: '';
     content: '';
     display: block;
     display: block;
     width: 60px;
     width: 30px;
     height: 5px;
     height: 5px;
     position: absolute;
     position: absolute;
     top: -30px;
     top: -15px;
     left: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
Line 26: Line 26:
     content: '';
     content: '';
     display: block;
     display: block;
     width: 35px;
     width: 20px;
     height: 35px;
     height: 20px;
     position: absolute;
     position: absolute;
     left: 50%;
     left: 50%;
     bottom: -65px;
     bottom: -35px;
     transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
     background: #333;
     background: #333;
Line 37: Line 37:


.phone .content {
.phone .content {
     width: 360px;
    display: flex;
     height: 640px;
     width: 180px;
     height: 320px;
     background: white;
     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;
  justify-content: center;
  background-color: grey;
  font-size: 200%;
  margin-bottom: 1em;
  margin-top: 1em;
  }
.demo-center {
  align-items: center;
  justify-content: center;
  }
.demo-left {
  justify-content: left;
  }
.demo-right {
  justify-content: right;
  }
.demo-parent {
  position: relative;
  }
.demo-dyn {
  border: 0px;
  display: none;
  position: absolute;
  color: blue;
  font-style: bold;
  font-size: 24pt;
  }
.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;
  }
.demo-slider {
  display: flex;
  border: 1px grey solid;
  box-sizing: border-box;
  height: 30px;
  width: 141px;
  }
.demo-slider-cursor {
  display: flex;
  width: 15px;
  height: 30px;
  background-color: black;
  position: relative;
   }
   }

Latest revision as of 07:38, 3 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 {
    display: flex;
    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;
  justify-content: center;
  background-color: grey;
  font-size: 200%;
  margin-bottom: 1em;
  margin-top: 1em;
  }

.demo-center {
  align-items: center;
  justify-content: center;
  }

.demo-left {
  justify-content: left;
  }

.demo-right {
  justify-content: right;
  }

.demo-parent {
  position: relative;
  }

.demo-dyn {
  border: 0px;
  display: none;
  position: absolute;
  color: blue;
  font-style: bold;
  font-size: 24pt;
  }

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

.demo-slider {
  display: flex;
  border: 1px grey solid;
  box-sizing: border-box;
  height: 30px;
  width: 141px;
  }

.demo-slider-cursor {
  display: flex;
  width: 15px;
  height: 30px;
  background-color: black;
  position: relative;
  }