Post by Alistair Blaidddrwg on Oct 20, 2019 21:22:18 GMT -5
[nospaces]
[var name=accent value=#C3A1C2]
[var name=accentDark value=#946784]
[var name=light1 value=rgba(255,255,255,.5)]
[var name=light2 value=rgba(255,255,255,.25)]
[newclass=#aliPost]background: [var=accent]; box-sizing: border-box; display: grid; margin: 0 auto; position: relative; width: 400px;[/newclass]
[newclass=#aliPost > *]position: relative; z-index: 1;[/newclass]
[newclass=#aliPost .postSpace]display: grid; grid-template-columns: 1fr 10px 10px 1fr; margin: -10px 0; place-items: center; z-index: 5;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(1)]border-color: transparent [var=accent]; border-style: solid; border-width: 3px 200px 3px 0; grid-column-start: 1; grid-column-end: span 2; grid-row-start: 1; grid-row-end: span 2;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(2)]border-color: transparent [var=accent]; border-style: solid; border-width: 3px 0 3px 200px; grid-column-start: 3; grid-column-end: span 2; grid-row-start: 1; grid-row-end: span 2;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(3)]border-color: [var=accentDark] transparent; border-style: solid; border-width: 10px 10px 0; grid-column-start: 2; grid-column-end: span 2; grid-row: 2;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(4)]border-color: [var=accentDark] transparent; border-style: solid; border-width: 0 10px 10px; grid-column-start: 2; grid-column-end: span 2; grid-row: 1;[/newclass]
[newclass=#aliPost .postHead]background: [var=light1]; padding: 10px;[/newclass]
[newclass=#aliPost .postBody]background: #FFF; padding: 10px 25px; text-align: justify;[/newclass]
[newclass=#aliPost .postFoot]background: [var=light2]; padding: 10px;[/newclass]
[attr=id,aliPost]
[attr=class,postHead]Header
[attr=class,postSpace]
[attr=class,postBody]Body
[attr=class,postSpace]
[attr=class,postFoot]Footer
[var name=accent value=#C3A1C2]
[var name=accentDark value=#946784]
[var name=light1 value=rgba(255,255,255,.5)]
[var name=light2 value=rgba(255,255,255,.25)]
[newclass=#aliPost]background: [var=accent]; box-sizing: border-box; display: grid; margin: 0 auto; position: relative; width: 400px;[/newclass]
[newclass=#aliPost > *]position: relative; z-index: 1;[/newclass]
[newclass=#aliPost .postSpace]display: grid; grid-template-columns: 1fr 10px 10px 1fr; margin: -10px 0; place-items: center; z-index: 5;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(1)]border-color: transparent [var=accent]; border-style: solid; border-width: 3px 200px 3px 0; grid-column-start: 1; grid-column-end: span 2; grid-row-start: 1; grid-row-end: span 2;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(2)]border-color: transparent [var=accent]; border-style: solid; border-width: 3px 0 3px 200px; grid-column-start: 3; grid-column-end: span 2; grid-row-start: 1; grid-row-end: span 2;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(3)]border-color: [var=accentDark] transparent; border-style: solid; border-width: 10px 10px 0; grid-column-start: 2; grid-column-end: span 2; grid-row: 2;[/newclass]
[newclass=#aliPost .postSpace div:nth-child(4)]border-color: [var=accentDark] transparent; border-style: solid; border-width: 0 10px 10px; grid-column-start: 2; grid-column-end: span 2; grid-row: 1;[/newclass]
[newclass=#aliPost .postHead]background: [var=light1]; padding: 10px;[/newclass]
[newclass=#aliPost .postBody]background: #FFF; padding: 10px 25px; text-align: justify;[/newclass]
[newclass=#aliPost .postFoot]background: [var=light2]; padding: 10px;[/newclass]