ffmprovisr/css/css.css

176 lines
2.6 KiB
CSS
Raw Normal View History

2017-10-09 15:05:58 +02:00
.grid {
display: grid;
align-content: center;
grid-template-areas:
"header"
"sidebar"
"content"
2017-10-09 15:17:43 +02:00
"footer";
2017-10-09 15:05:58 +02:00
}
.header {
grid-area: header;
text-align: center;
}
.content {
grid-area: content;
}
.sidebar {
grid-area: sidebar;
}
.footer {
grid-area: footer;
text-align: center;
}
2017-10-09 15:17:43 +02:00
@media only screen and (max-width: 999px) {
2017-10-09 15:05:58 +02:00
.grid {
grid-template-columns: 1fr;
grid-template-areas:
"header"
"sidebar"
"content"
"footer";
2017-10-09 15:16:21 +02:00
}
2017-10-09 15:05:58 +02:00
}
@media only screen and (min-width: 1000px) {
.grid {
grid-gap: 1rem;
grid-template-columns: 30% auto;
2017-10-09 15:05:58 +02:00
grid-template-areas:
"header header"
"sidebar content"
"footer footer";
}
}
.license img {
max-width: 10em;
display: inline;
}
h1, h2, h3, h4, h5, h6 {
2015-03-21 03:33:41 +01:00
font-family: 'Montserrat', sans-serif;
}
2017-10-09 15:05:58 +02:00
h1 {
letter-spacing: 0.1em;
font-size: 7vw;
}
h2 {
2017-10-09 15:05:58 +02:00
font-size: 3em;
}
h3 {
font-size: 2em;
}
.intro-lead {
font-family: 'Montserrat', sans-serif;
font-size: 20px;
}
.select-from {
font-size: 16px;
}
code {
word-break: break-all;
word-wrap: break-word;
}
2015-12-02 02:45:31 +01:00
dd {
2017-05-13 06:48:57 +02:00
padding-left: 24px;
2015-12-02 02:45:31 +01:00
}
2015-12-19 05:09:04 +01:00
dt {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
2015-12-19 05:09:04 +01:00
}
img {
display: block;
margin-left: auto;
margin-right: auto;
2017-03-04 20:34:16 +01:00
width: 100%;
}
.sample-image {
margin-bottom: 18px;
}
2015-03-21 05:15:06 +01:00
2015-03-21 03:33:41 +01:00
div {
font-family: 'Merriweather', serif;
2015-11-18 19:40:04 +01:00
color: white;
2015-03-21 03:33:41 +01:00
}
2015-11-18 23:44:37 +01:00
.btn {
2015-03-21 04:36:50 +01:00
margin: 8px;
2015-03-21 03:09:13 +01:00
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
position: relative;
2015-03-21 03:11:55 +01:00
padding-left: 2.5em;
2015-03-21 03:09:13 +01:00
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
2015-11-18 23:44:37 +01:00
.btn:before {
content: "💫";
2015-03-21 03:09:13 +01:00
position: absolute;
2015-03-21 03:11:55 +01:00
left: 1em;
2015-03-21 03:09:13 +01:00
padding: 0 1px;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
}
2015-11-18 23:44:37 +01:00
.btn:hover:before, .btn:focus:before, .btn:active:before {
2015-03-21 03:09:13 +01:00
-webkit-transform: scale(1.3) translateZ(0);
transform: scale(1.3) translateZ(0);
}
.contents-list {
color: black;
}
.contents-list:hover {
color: #2a9fd6;
}
.contents-list:before {
content: "📼"
}
.codeblock {
font-family: monospace
2017-01-27 14:56:21 +01:00
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
2017-03-05 06:49:49 +01:00
border-radius: 4px;
}
2017-02-28 15:40:16 +01:00
.beware {
font-size: 150%;
}
.footnote {
font-size: 90%;
}