2016-12-28 10:18:41 +00:00
|
|
|
$iso-paper-ratio: 70.7%;
|
2016-11-10 14:31:25 +00:00
|
|
|
|
2016-11-08 13:08:53 +00:00
|
|
|
.letter {
|
2016-11-28 11:01:39 +00:00
|
|
|
|
2016-11-08 13:08:53 +00:00
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
2016-11-28 11:01:39 +00:00
|
|
|
padding: 0;
|
2016-12-28 10:18:41 +00:00
|
|
|
margin: 0 0 $gutter 0;
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
content: "";
|
|
|
|
|
display: block;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 2px;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
padding: $iso-paper-ratio 0 0 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: $highlight-colour;
|
|
|
|
|
transform: skew(-1deg, 0deg) scale(1, 0.99);
|
|
|
|
|
transform-origin: left bottom;
|
|
|
|
|
box-shadow: inset 0 0 0 2px $panel-colour;
|
|
|
|
|
|
|
|
|
|
}
|
2016-11-28 11:01:39 +00:00
|
|
|
|
|
|
|
|
a {
|
2016-12-28 10:18:41 +00:00
|
|
|
|
2016-11-28 11:01:39 +00:00
|
|
|
display: block;
|
2016-12-28 10:18:41 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 0;
|
|
|
|
|
padding: $iso-paper-ratio 0 0 0;
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 20;
|
|
|
|
|
transition: all 0.1s ease-out;
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
|
|
|
|
|
outline: none;
|
|
|
|
|
box-shadow: 0 3px 0 0 $yellow;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
box-shadow: inset 0 0 0 3px $yellow;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-28 11:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
display: block;
|
2016-12-28 10:18:41 +00:00
|
|
|
width: 100%;
|
|
|
|
|
background: $white;
|
|
|
|
|
box-shadow: inset 0 0 0 2px $panel-colour;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
2016-11-28 11:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-08 13:08:53 +00:00
|
|
|
}
|