Last active
August 30, 2021 08:23
-
-
Save marklchaves/4303808a084cff34bdd26908b0a2e6cc to your computer and use it in GitHub Desktop.
Content Control: Styling the Denial Message
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
/** Add these classes to Appearance > Customize > Additional CSS */ | |
.denial-message-wrapper { | |
color: firebrick; | |
display: grid; | |
font-size: 1.5rem; | |
place-items: center; | |
} | |
.soft-pastel-gradient { | |
border-radius: 20px; | |
width: 70%; | |
height: 400px; | |
margin: 50px auto; | |
background: linear-gradient(35deg, #ccffff, #ffcccc); | |
} |
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
<!-- Use the classic editor in Text mode to add this HTML --> | |
<div class="denial-message-wrapper soft-pastel-gradient"> | |
<span style="color: limegreen; font-size: 1.5em; font-weight: 600;">Please</span> login to see this page :-) | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result