article { margin-right: 2%; margin-left: 3%; float: left; width: 83%; background: #FFF; margin-bottom: 2.5%; padding-right: 0; padding-left: 0; padding: 1.6em 1.6em; font-family: Merriweather, "Liberation Serif", "Segoe UI"; position: relative; max-width: 950px; ; .pubdate { position: absolute; top: 0; right: 0; padding: 55px 10px; transform: rotate(20deg); text-shadow: 1px 1px 0.2px green; color: pink; text-align: right; } ul { line-height: 1.6; } code { color: #a00; background: #eee; border: 1px solid #ccc; padding: 0 5px; font-weight: 630; } @media #{$gt-gsm} { ul { line-height: 1.4; } float: none; margin-right: auto; margin-left: auto; width: auto; padding-right: 4vh; padding-left: 4vh; border: 1px solid #eaeaea; border: 1px solid rgba(51, 51, 51, 0.1); border-color: #eaeaea !important; margin-top: 50px; margin-bottom: 50px; &.zen-mode { margin-left: auto; transition: margin-left 0.25s ease-out 0.25s; } &.zen-mode-disabling { margin-left: --(width_panel); transition: margin-left 0.5s ease-out 0.25s; } } li p { display: inline; } ol { li { list-style-type: upper-roman; } li li { list-style-type: lower-roman; } } .footnotes { color: #777; font-size: 0.8em; li { padding-bottom: 15px; list-style-type: decimal; } ol p { display: inline; } } font-size: 1.3em; h1 { font-size: 2.2em; color: #A5B; } h2 { font-size: 1.9em; color: #BB8; } h3 { font-size: 1.6em; color: #AC4; } h2:before { content: "# "; color: #ABB; font: bold 1.3em arial, sans-serif; } h3:before { content: "## "; color: #ABB; font: bold 1.2em arial, sans-serif; } h4:before { content: "### "; color: #ABB; font: bold 1.1em arial, sans-serif; } @media #{$gt-gsm} { font-size: 1.1em; h1 { font-size: 2em; color: #A5B; } h2 { font-size: 1.5em; color: #BB8; } h3 { font-size: 1.25em; color: #AC4; } h2:before { content: "# "; color: #ABB; font: bold 0.95em arial, sans-serif; } h3:before { content: "## "; color: #ABB; font: bold 0.95em arial, sans-serif; } h4:before { content: "### "; color: #ABB; font: bold 1em arial, sans-serif; } } } section { > p:nth-of-type(1):after { content: " "; display: table; clear: both; } > p:nth-of-type(1) > img { height: 150px; float: right; } @media #{$gt-gsm} { > p:first-of-type { margin-top: 2.5%; margin-bottom: 2.5%; padding-left: 6%; color: #944040; } } } .keybs { border: 1px solid gray; font-size: 1em; box-shadow: 1px 0 1px 0 #eee,0 2px 0 2px #ccc,0 2px 0 3px #444; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; margin: 2px 3px; padding: 1px 5px; white-space: nowrap; }