Keithaiken (Talk | contribs) |
Keithaiken (Talk | contribs) |
||
Line 11: | Line 11: | ||
/*h2 should be tag where segment header is the given class*/ | /*h2 should be tag where segment header is the given class*/ | ||
.segmentHeader {font-size: 4vw; overflow: hidden; text-align: center;} | .segmentHeader {font-size: 4vw; overflow: hidden; text-align: center;} | ||
− | .segmentHeader:before, .segmentHeader:after {background-color: black; content: ""; display: inline-block; height: 3px; position: relative; vertical-align: middle; width: 50% | + | .segmentHeader:before, .segmentHeader:after {background-color: black; content: ""; display: inline-block; height: 3px; position: relative; vertical-align: middle; width: 50%;} |
.segmentHeader:before {margin-left: -50%;} | .segmentHeader:before {margin-left: -50%;} | ||
.segmentHeader:after {margin-right: -50%;} | .segmentHeader:after {margin-right: -50%;} |
Revision as of 14:50, 1 November 2017