Difference between revisions of "Common.css"
m (Spacing) |
m (Spacing) |
||
Line 7: | Line 7: | ||
} | } | ||
− | .info-box:before, .info-box:after { | + | .info-box-outer:before, .info-box-outer:after { |
content: ""; | content: ""; | ||
display: block; | display: block; |
Revision as of 21:17, 4 September 2020
.info-box { background-color: #dcdee0; text-align: left; font-size: 100%; overflow:hidden; border-collapse: inherit; } .info-box-outer:before, .info-box-outer:after { content: ""; display: block; background-color: black; height: 10px; } .info-box-outer: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-outer: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); }