Actions

MediaWiki

Difference between revisions of "Common.css"

m (Updated info box style)
(Updated spacing)
Line 1: Line 1:
 
.info-box {
 
.info-box {
 
     background-color: #dcdee0;
 
     background-color: #dcdee0;
     padding: 2rem;
+
     padding: 0.5rem;
 
     text-align: left;  
 
     text-align: left;  
     width: 300px;  
+
     width: 500px;  
 
     font-size: 100%;  
 
     font-size: 100%;  
 
     border-radius:25px;   
 
     border-radius:25px;   
    border: 2px solid #73AD21;
 
 
     overflow:hidden;  
 
     overflow:hidden;  
 
     padding: 20px;  
 
     padding: 20px;  
     border-collapse: inherit
+
     border-collapse: inherit;
 
}
 
}
  

Revision as of 20:47, 4 September 2020

.info-box {
    background-color: #dcdee0;
    padding: 0.5rem;
    text-align: left; 
    width: 500px; 
    font-size: 100%; 
    border-radius:25px;  
    overflow:hidden; 
    padding: 20px; 
    border-collapse: inherit;
}

.info-box:before, .info-box:after {
    content: "";
    display: block;
    background-color: black;
    height: 10px; }
.info-box:before {
    clip-path: polygon(0px 10px, 100% 10px, calc(100% - 20px) 0px, calc(100% - 20px) 8px, 20px 8px, 20px 0px);
    -webkit-clip-path: polygon(0px 10px, 100% 10px, calc(100% - 20px) 0px, calc(100% - 20px) 8px, 20px 8px, 20px 0px); }
.info-box:after {
    clip-path: polygon(20px 10px, 20px 2px, calc(100% - 20px) 2px, calc(100% - 20px) 10px, 100% 0px, 0px 0px);
    -webkit-clip-path: polygon(20px 10px, 20px 2px, calc(100% - 20px) 2px, calc(100% - 20px) 10px, 100% 0px, 0px 0px); }