100 lines
1.8 KiB
SCSS
100 lines
1.8 KiB
SCSS
:root {
|
|
--screen-size-small: 30em; /* breakpoint reference only */
|
|
}
|
|
@keyframes intro {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.muted {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
.responsive-iframe {
|
|
position: relative;
|
|
padding-bottom: 56.25%; /* 16:9 */
|
|
padding-top: 25px;
|
|
height: 0;
|
|
}
|
|
.responsive-iframe iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
iframe {
|
|
border: 0;
|
|
}
|
|
main, footer {
|
|
animation: intro 0.3s both;
|
|
animation-delay: 0.15s;
|
|
}
|
|
footer time[datetime$="M"]:before {
|
|
content: "\2013\0020";
|
|
}
|
|
@media only screen
|
|
and ( max-width: 30em ) {
|
|
footer time[datetime$="M"] {
|
|
display: none;
|
|
}
|
|
}
|
|
blockquote cite {
|
|
display: block;
|
|
}
|
|
blockquote cite::before {
|
|
content: "\2014";
|
|
}
|
|
:target {
|
|
color: #fff;
|
|
}
|
|
/* hack.css overrides and enhancements */
|
|
.hack li ul {
|
|
margin: 0;
|
|
}
|
|
.main {
|
|
padding: 20px 10px;
|
|
}
|
|
nav a.active {
|
|
background-color: #ff2e88;
|
|
color: #fff;
|
|
}
|
|
a[itemprop="url"] {
|
|
color: #ff9800;
|
|
}
|
|
a[itemprop="url"]:hover {
|
|
color: #fff;
|
|
}
|
|
a[href*="://"]::after,
|
|
a[rel*="external"] {
|
|
content: " " url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20class='i-external'%20viewBox='0%200%2032%2032'%20width='14'%20height='14'%20fill='none'%20stroke='%23ff9800'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='9.38%'%3E%3Cpath%20d='M14%209%20L3%209%203%2029%2023%2029%2023%2018%20M18%204%20L28%204%2028%2014%20M28%204%20L14%2018'/%3E%3C/svg%3E");
|
|
}
|
|
figure a[href*="://"]::after,
|
|
figure a[rel*="external"] {
|
|
content: "";
|
|
}
|
|
html {
|
|
font-size: 13px;
|
|
}
|
|
.hack pre {
|
|
font-size: 17px;
|
|
}
|
|
article [itemprop="description"], article [itemprop="summary"] {
|
|
margin-bottom: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
article [itemprop="summary"] p {
|
|
margin: 0;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
html {
|
|
font-size: 1em;
|
|
}
|
|
.container {
|
|
max-width: 50rem;
|
|
}
|
|
}
|