@dark: #781134; @light: #B61E3A; .unselectable() { -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Safari */ -khtml-user-select: none; /* Konqueror HTML */ -moz-user-select: none; /* Old versions of Firefox */ -ms-user-select: none; /* Internet Explorer/Edge */ user-select: none; } .selectable() { -webkit-touch-callout: default; /* iOS Safari */ -webkit-user-select: text; /* Safari */ -khtml-user-select: text; /* Konqueror HTML */ -moz-user-select: text; /* Old versions of Firefox */ -ms-user-select: text; /* Internet Explorer/Edge */ user-select: text; } .clearfix() { display: inline-block; &:after { visibility: hidden; display: block; font-size: 0; content: ' '; clear: both; height: 0; } } .border-radius(@topright: 0, @bottomright: 0, @bottomleft: 0, @topleft: 0) { -webkit-border-top-right-radius: @topright; -webkit-border-bottom-right-radius: @bottomright; -webkit-border-bottom-left-radius: @bottomleft; -webkit-border-top-left-radius: @topleft; -moz-border-radius-topright: @topright; -moz-border-radius-bottomright: @bottomright; -moz-border-radius-bottomleft: @bottomleft; -moz-border-radius-topleft: @topleft; border-top-right-radius: @topright; border-bottom-right-radius: @bottomright; border-bottom-left-radius: @bottomleft; border-top-left-radius: @topleft; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; } .opacity (@opacity: 0.5) { -webkit-opacity: @opacity; -moz-opacity: @opacity; opacity: @opacity; } a { color: black; text-decoration: none; border-bottom: dotted 1px black; &:hover { border-bottom-color: @light; color: @dark; } } body { font-family: 'Source Sans Pro', serif; font-size: 18px; color: black; background-color: white; margin: 0; padding: 10px; .unselectable; } header { width: 100%; min-width: 300px; max-width: 700px; margin: 0 auto; height: 100px; border-bottom: solid 1px @light; a { position: relative; top: -110px; } h1 { color: transparent; text-align: center; margin: 20px 0 0 0; } img { width: 100%; max-height: 200px; display: block; margin: 0 auto; } } html { min-height: 100%; } main { min-width: 300px; max-width: 700px; margin: 0 auto; h2 { font-size: 25px; color: @dark; &.invisible { height: 0; color: transparent; } } h3 { font-size: 18px; font-weight: normal; color: @light; } p { margin: 5px 0; text-align: justify; line-height: 130%; &.publication-date { text-align: right; font-size: 12px; color: @light; } &.spaced { margin-top: 20px; } } ol, ul { li { text-align: justify; } } ul.cases { list-style-type: none; margin: 0; padding: 0; li { width: 50%; float: left; margin: 0 0 20px 0; padding: 0; text-align: center; img { display: block; width: 90%; margin: 0 auto; } @media only screen and (max-width: 699px) { width: 100%; float: none; img { width: 100%; } } } } }