Difference between revisions of "Common.css"
m (Font) |
m (Font) |
||
Line 1: | Line 1: | ||
+ | @font-face | ||
+ | { | ||
+ | font-family: 'MrJeeves'; | ||
+ | src: url("https://dnd-fonts.herokuapp.com/fonts/MrsEaves SmallCaps Regular.otf"); | ||
+ | } | ||
+ | |||
@font-face | @font-face | ||
{ | { | ||
Line 13: | Line 19: | ||
@font-face | @font-face | ||
{ | { | ||
− | font-family: ' | + | font-family: 'BookSanity'; |
− | src: url("https:// | + | src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Regular.otf"); |
} | } | ||
+ | |||
+ | @font-face | ||
+ | { | ||
+ | font-family: 'BookSanity'; | ||
+ | src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Bold.otf"); | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | |||
+ | @font-face | ||
+ | { | ||
+ | font-family: 'BookSanity'; | ||
+ | src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Regular Italic.otf"); | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | |||
+ | @font-face | ||
+ | { | ||
+ | font-family: 'BookSanity'; | ||
+ | src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Bold Italic.otf"); | ||
+ | font-weight: bold; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | .title { | ||
+ | |||
+ | } | ||
.info-box { | .info-box { |
Revision as of 22:27, 4 September 2020
@font-face { font-family: 'MrJeeves'; src: url("https://dnd-fonts.herokuapp.com/fonts/MrsEaves SmallCaps Regular.otf"); } @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"); } @font-face { font-family: 'BookSanity'; src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Regular.otf"); } @font-face { font-family: 'BookSanity'; src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Bold.otf"); font-weight: bold; } @font-face { font-family: 'BookSanity'; src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Regular Italic.otf"); font-style: italic; } @font-face { font-family: 'BookSanity'; src: url("https://dnd-fonts.herokuapp.com/fonts/Bookmania Bold Italic.otf"); font-weight: bold; font-style: italic; } .title { } .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 th { font-family: "ScalySansBold"; font-size: 30px; } .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); }