Created
August 10, 2020 12:39
-
-
Save paulmsmith/cb2816cdea539ddbeea53d6cb03b95c1 to your computer and use it in GitHub Desktop.
inline css snippet
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 type="text/css">.prose { font-size: 2rem; } | |
.c-important-message { | |
padding: 2rem; | |
margin: 0 0 2rem 0; | |
background: rgba(229, 6, 88, 0.1); | |
} | |
.c-important-message__title { | |
color: #e50658; | |
margin: 0 0 1rem 0 !important; | |
font-size: 2.6rem; | |
} | |
.c-important-message p { | |
margin: 0 !important; | |
font-size: 2rem; | |
} | |
.c-important-message p:not(:last-of-type) { | |
margin-bottom: 1rem !important; | |
} | |
</style> | |
<div class="prose"> | |
<div class="c-important-message"> | |
<h4 class="c-important-message__title">Important</h4> | |
<div class="c-important-message__body"> | |
<p>The National Lottery Grants for Heritage are currently closed to new applications until 2021. <a href="https://heritagefund.org.uk/funding" style="text-decoration:underline;">Read more about our funding programmes</a></p> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment