ffmprovisr/css/css.css

223 lines
3.4 KiB
CSS

html, body {
font-size: 16px;
line-height: 1.5;
color: #888888;
background-color: #060606;
margin: 0;
word-break: break-word;
}
.grid {
display: grid;
align-content: center;
grid-template-areas:
"header"
"sidebar"
"content"
"footer";
}
.header {
grid-area: header;
text-align: center;
}
.content {
grid-area: content;
}
.sidebar {
grid-area: sidebar;
}
.footer {
grid-area: footer;
text-align: center;
}
@media only screen and (max-width: 999px) {
.grid {
grid-template-columns: 1fr;
grid-template-areas:
"header"
"sidebar"
"content"
"footer";
}
}
@media only screen and (min-width: 1000px) {
.grid {
grid-gap: 1rem;
grid-template-columns: 25% auto;
grid-template-areas:
"header header"
"sidebar content"
"footer footer";
}
}
a {
color: #91cf91;
}
a:hover {
color: #5cb85c;
}
a:visited {
color: #449d44;
}
.license img {
max-width: 10em;
display: inline;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
}
h1 {
letter-spacing: 0.1em;
font-size: 7vw;
}
h2 {
font-size: 2.5em;
}
h3 {
font-size: 1.5em;
}
.intro-lead {
font-family: 'Montserrat', sans-serif;
font-size: 1em;
}
code {
word-break: break-all;
word-wrap: break-word;
}
dd {
padding-left: 24px;
}
dt {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
}
.sample-image {
margin-bottom: 18px;
}
div {
font-family: 'Merriweather', serif;
color: white;
}
button {
font: inherit;
font-family: inherit;
color: inherit;
}
.btn {
border: 1px solid transparent;
background-color: #424242;
font-size: 1em;
line-height: 1.5em;
white-space: normal;
cursor: pointer;
padding: 8px 12px;
border-radius: 4px;
padding-left: 2.5em;
margin: 8px;
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;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
.btn:before {
content: "💫";
position: absolute;
left: 1em;
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;
}
.btn:hover:before, .btn:focus:before, .btn:active:before {
-webkit-transform: scale(1.3) translateZ(0);
transform: scale(1.3) translateZ(0);
}
.contents-list {
color: white;
border: 1px solid black;
background-color: dimgrey;
padding: 14px;
font-family: "Montserrat";
font-weight: bold;
font-size: 1em;
border:1px solid rgba(255, 255, 255, 0);
transition:all .5s ease-in-out;
}
.sidebar a {
text-decoration: none;
}
.contents-list:hover {
color: black;
font-size: 1.05em;
background-color: #449d44;
border:1px solid black;
}
.contents-list:before {
content: "📼";
padding-right: 1em;
}
.codeblock {
font-family: monospace
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
.beware {
font-size: 150%;
}
.footnote {
font-size: 90%;
}