Difference between revisions of "Common.css"
m (Font fixes) |
m (Fonts) |
||
Line 3: | Line 3: | ||
font-family: 'ScalySans'; | font-family: 'ScalySans'; | ||
src: url("https://dnd-fonts.herokuapp.com/fonts/ScalaSans Regular LF.otf"); | src: url("https://dnd-fonts.herokuapp.com/fonts/ScalaSans Regular LF.otf"); | ||
+ | } | ||
+ | @font-face | ||
+ | { | ||
+ | font-family: 'ScalySansBold'; | ||
+ | src: url("https://dnd-fonts.herokuapp.com/fonts/ScalaSans Bold LF.otf"); | ||
} | } | ||
Line 14: | Line 19: | ||
padding: 1rem; | padding: 1rem; | ||
width: 400px; | width: 400px; | ||
− | font-family: " | + | font-family: "ScalySans", sans-serif; |
} | } | ||
Revision as of 22:00, 4 September 2020
@font-face { font-family: 'ScalySans'; src: url("https://dnd-fonts.herokuapp.com/fonts/ScalaSans Regular LF.otf"); } @font-face { font-family: 'ScalySansBold'; src: url("https://dnd-fonts.herokuapp.com/fonts/ScalaSans Bold LF.otf"); } .info-box { background-color: #dcdee0; text-align: left; font-size: 100%; overflow:hidden; border-collapse: inherit; margin: 0; padding: 1rem; width: 400px; font-family: "ScalySans", sans-serif; } .info-box-outer { margin: 5px } .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); }