2013-10-24 20:25:52 +02:00
|
|
|
//
|
|
|
|
// Page
|
|
|
|
//
|
|
|
|
|
|
|
|
._page {
|
2015-03-22 21:00:31 +01:00
|
|
|
position: relative;
|
2015-08-09 19:19:22 +02:00
|
|
|
min-height: calc(100% - 1.25rem);
|
2015-03-22 21:00:31 +01:00
|
|
|
|
2015-05-24 17:38:32 +02:00
|
|
|
&._page-error { position: static; }
|
2015-05-03 01:48:34 +02:00
|
|
|
|
2013-10-24 20:25:52 +02:00
|
|
|
> h1 { @extend ._lined-heading; }
|
|
|
|
> h1:first-child { margin-top: 0; }
|
|
|
|
|
|
|
|
a[href^="http:"], a[href^="https:"] { @extend %external-link; }
|
|
|
|
|
|
|
|
a:not([href]) {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
display: block;
|
2014-12-21 17:26:10 +01:00
|
|
|
margin-bottom: 1em;
|
2013-10-24 20:25:52 +02:00
|
|
|
padding: 1px;
|
2014-11-10 04:14:38 +01:00
|
|
|
border: 1px dotted $boxBorder;
|
2013-10-24 20:25:52 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-22 21:00:31 +01:00
|
|
|
//
|
|
|
|
// Links
|
|
|
|
//
|
|
|
|
|
|
|
|
._links {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 2em;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
+ h1 { margin-top: 0; }
|
|
|
|
|
|
|
|
@media (max-width: 1023px) { display: none; }
|
|
|
|
}
|
|
|
|
|
|
|
|
._links-link {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 0 .5rem;
|
2015-04-20 15:58:02 +02:00
|
|
|
background: $contentBackground;
|
2015-03-22 21:00:31 +01:00
|
|
|
@extend %internal-link;
|
|
|
|
|
|
|
|
& + & { margin-left: .75rem; }
|
|
|
|
&:first-child { padding-left: 1rem; }
|
|
|
|
&:last-child { padding-right: 0; }
|
|
|
|
}
|
|
|
|
|
2013-10-24 20:25:52 +02:00
|
|
|
//
|
|
|
|
// Attribution box
|
|
|
|
//
|
|
|
|
|
|
|
|
._attribution {
|
|
|
|
clear: both;
|
|
|
|
margin: 2rem 0 1.5rem;
|
|
|
|
font-size: .75rem;
|
|
|
|
color: $textColorLight;
|
|
|
|
text-align: center;
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
|
|
|
|
& + & { margin-top: 1.5rem; }
|
|
|
|
& + & > ._attribution-link { display: none; }
|
|
|
|
}
|
|
|
|
|
|
|
|
._attribution-p {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
padding: .25rem .75rem;
|
2014-11-10 04:14:38 +01:00
|
|
|
background: $labelBackground;
|
2013-10-24 20:25:52 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
._attribution-link { @extend %internal-link; }
|
|
|
|
|
|
|
|
//
|
|
|
|
// Entry list
|
|
|
|
//
|
|
|
|
|
|
|
|
._entry-list {
|
|
|
|
padding-left: 1em;
|
|
|
|
list-style: none;
|
|
|
|
}
|