User:MonkeysHK/sandbox7

 .test1 { border: 1px solid var(--theme-border-color); margin: 2em 5px .5em 5px; padding: 1em; position: relative; } .test1-head { position: absolute; top: -1em; background-color: var(--theme-page-background-color); display: inline; padding: 0 1.5em; font-size: large; left: 2em; } .test1-text { padding: 0 1em; } .test2 { padding: 1em; border: 2px solid var(--theme-border-color); border-top-color: transparent; border-bottom-color: transparent; color: var(--theme-page-text-color); margin: 5px; border-radius: 2.5em; display: table; } .test2 > .main-heading { border-right: 3em solid transparent; padding-left: 1em; margin: 1em -1em 1em; line-height: 1; background-color: #261416; } .test2 .main-heading .hgroup { background: var(--theme-page-background-color); display: inline-block; padding: 0 1em; font-size: 2em; } .test2 .intro { border: 1px solid var(--custom-border-yellow-highlight); border-radius: 4px; padding: 1em; box-shadow: 0 0 5px var(--custom-border-yellow-highlight); } .test2 > .card { float: right; margin: 1em 1em 0.75em 0.75em; position: relative; z-index: 5; width: 200px; } .test2 > .card .imagebox { background: #261416; border: 1px solid transparent; border-radius: 0 2.5em; box-shadow: 0 0 3px #999; text-align: center; padding: 1em 0.75em; } .test2 > .outro { margin: 1em 0; min-width: 200px; }

/* Experimental code from terraria wiki */ .infocard { padding: 1em; box-sizing: border-box; border: 1px solid var(--theme-border-color); border-radius: 6px; width: 100%; min-width: 300px; position: relative; background: var(--theme-page-background-color--secondary); color: var(--theme-page-text-color); } .infocard + .infocard{ margin-top: 0.5em; } .infocard > .card { float: right; margin: -1em 1em 0.75em 0.75em; box-shadow: 0 0 6px rgba(0,0,0,0.05); position: relative; z-index: 5; } .infocard > .card .image { background: var(--theme-border-color); border-left: 1px solid var(--theme-border-color); border-right: 1px solid var(--theme-border-color); } .infocard > .card .content { border: 1px solid var(--theme-border-color); border-top: 0; margin: 0 1px; background: var(--theme-page-background-color); border-radius: 0 0 4px 4px; box-sizing: border-box; padding: 0 0.75em 0; } .infocard > .card .content > .intro { margin-top: 0.75em; } .infocard > .card .content > dl { margin: 0.75em 0; } .infocard > .card .content dt { font-weight: bold; margin-top: 0.75em; } .infocard > .card .content dd { margin: 0; } .infocard > .card .content > .outro { margin-bottom: 0.75em; } .infocard .main-heading { border-right: 3em solid transparent; padding-left: 1em; margin: 2em -1em 1em; position: relative; line-height: 1; background: var(--custom-border-yellow-highlight); } .infocard > .main-heading, .infocard .intro:first-child > .main-heading:first-child, .infocard .outro:first-child > .main-heading:first-child { margin-top: 1em; } .infocard .main-heading .hgroup { background: var(--theme-page-background-color--secondary); padding: 0 1em; display: inline-block; position: relative; z-index:10; color: var(--theme-page-text-color); font-weight: 100; } .infocard .main-heading .hgroup > .main { font-size: 2em; color: var(--theme-page-text-color); } .infocard .main-heading .hgroup > .main > .namenote { font-size: 62.5%; color: var(--theme-page-text-color); } .infocard .main-heading .icon { position: absolute; right: -2em; top: 50%; transform: translateY(-50%); z-index: 1; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; width: var(--iconsize); height: var(--iconsize); } .infocard .main-heading .icon.frame{ border: 1px solid var(--theme-border-color); border-radius: 4px; background: var(--theme-page-background-color); } .infocard .main-heading .icon.frame.round{ border-radius: 100%; } .infocard > .intro { margin: 1em 0; min-width: 200px; } .infocard > .outro { margin: 1em 0; min-width: 200px; } .infocard > .box { margin: 1em 0; } .infocard > .intro:first-child, .infocard > .outro:first-child, .infocard > .box:first-child { margin-top: 0; } .infocard > .intro:last-child, .infocard > .outro:last-child, .infocard > .box:last-child { margin-bottom: 0; } .infocard > .intro > .box, .infocard > .outro > .box { margin: 0 0 1em 0; } .infocard > .intro > .box:last-child, .infocard > .outro > .box:last-child { margin: 0; } .infocard .box { border: 1px solid rgba(var(--theme-border-color--rgb), 0.65); background: var(--theme-page-background-color); border-radius: 4px; padding: 1em; } .infocard > .box{ margin: 1em 0; } .infocard .box > .title { line-height: 1; display: inline-block; margin-left: -1em; padding: 0 1em 0 0.5em; min-width: 5em; border-left: 0.5em solid transparent; } .infocard .box > .title > span { font-weight: lighter; font-size: 1.5em; } .infocard .box > .content { margin-top: 1em; } .infocard .box > .content:first-child { margin-top: 4px; } .infocard .heading { margin: 1em 0 0.25em; font-weight: bold; } .infocard.small { font-size: 12px; } .infocard.compact { padding: 0.5em; min-width: 240px; } .infocard.compact .main-heading { padding-left: 0.5em; margin: 0.75em -0.5em 0.5em; } .infocard.compact > .main-heading, .infocard.compact .intro:first-child > .main-heading:first-child, .infocard.compact .outro:first-child > .main-heading:first-child { margin-top: 0.5em; } .infocard.compact .main-heading .hgroup { padding: 0 0.5em; font-weight: normal; } .infocard.compact .main-heading .hgroup > :first-child, .infocard.compact .main-heading .hgroup > :last-child { font-size: 85%; } .infocard.compact .main-heading .hgroup > .main { font-size: 1.25em; } .infocard.compact .main-heading .hgroup > .main > .namenote { font-size: 80%; } .infocard.compact > .intro { margin: 0.5em 0; } .infocard.compact > .outro { margin: 0.5em 0; } .infocard.compact > .box { margin: 0.5em 0; } .infocard.compact > .intro:first-child, .infocard.compact > .outro:first-child, .infocard.compact > .box:first-child { margin-top: 0; } .infocard.compact > .intro:last-child, .infocard.compact > .outro:last-child, .infocard.compact > .box:last-child { margin-bottom: 0; } .infocard.compact > .intro > .box, .infocard.compact > .outro > .box { margin: 0 0 0.5em 0; } .infocard.compact > .intro > .box:last-child, .infocard.compact > .outro > .box:last-child { margin: 0; } .infocard.compact .box { padding: 0.5em; } .infocard.compact .box > .title { margin-left: -0.5em; padding: 0 0.5em 0 0.25em; border-left: 0.25em solid transparent; } .infocard.compact .box > .title > span { font-size: 100%; font-weight: bold; } .infocard.compact .box > .content { margin-top: 0.25em; } .infocard.compact .box > .content:first-child { margin-top: 0; } .infocard.compact .box > .content:first-child { margin-top: 0; } .infocard.compact .heading { margin: 0.5em 0 0; } .infocard.compact > .card { margin: -0.5em 0.5em 0.5em 0.5em; } .infocard.compact > .card .content { padding: 0 0.5em 0; } .infocard.compact > .card .content > .intro { margin-top: 0.5em; } .infocard.compact > .card .content > dl { margin: 0.5em 0; } .infocard.compact > .card .content dt { margin-top: 0.5em; } .infocard.compact > .card .content > .outro { margin-bottom: 0.5em; } .infocard.compact .main-heading .icon { right: -2.5em; } .infocard.dimmed { background: var(--theme-page-background-color); border-color: var(--custom-border-yellow-highlight); } .infocard.dimmed .main-heading { background: var(--theme-accent-color); border-right-color: var(--theme-accent-color); } .infocard.dimmed .main-heading .hgroup { background: var(--theme-page-background-color); }

Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Grants vandalism immunity to the wiki. Also gives sleep quality to editors of the wiki for every  you have.

Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.