Created
April 17, 2018 20:19
-
-
Save cvan/d0793393d798e123eda23b13b2dbfdba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* https://blog.mozvr.com/webvr-api-transitions-to-w3c-standard/ */ | |
.post-card-image[style*="w3c_home"] { | |
background-color: #fff; | |
background-size: 200px auto; | |
} | |
.post-full-image[src*="w3c_home"] { | |
background-color: #fff; | |
height: 18rem; | |
object-fit: contain; | |
} | |
/* https://blog.mozvr.com/firefox-reality-bringing-the-immersive-web-to-mixed-reality-headsets/ */ | |
.post-card-image[style*="Wordmark"] { | |
background-color: #b8cfff; /* Colour lightened from background colour used in masthead here: https://blog.mozilla.org/blog/2018/04/03/mozilla-brings-firefox-augmented-virtual-reality/ */ | |
background-size: 90% auto; | |
} | |
.post-full-image[src*="Wordmark"] { | |
height: 14rem; | |
object-fit: contain; | |
} | |
.post-card-excerpt p:after { | |
content: "\00a0…"; | |
opacity: .5; | |
} | |
.post-full-content img, | |
.post-full-content video { | |
max-width: 840px; | |
} | |
.post-full-content h2 { | |
margin-bottom: .75rem; | |
} | |
</style> | |
<link async rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.css"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment