Added under construction warning to homepage.

This commit is contained in:
Greenscreener
2019-08-15 19:33:52 +02:00
parent 4980b19b7d
commit 357f237d1e
3 changed files with 38 additions and 1 deletions
+31 -1
View File
@@ -140,6 +140,36 @@ h2 a {
}
}
// /Stolen
.is-construction {
position: relative;
padding: 12px 0;
text-align: center;
background-color: yellow;
color: black;
font-family: 'Fira Code';
&:before, &:after {
content: '';
position: absolute;
display: block;
height: 12px;
width: 100%;
background: repeating-linear-gradient(
-45deg,
black,
black 12px,
yellow 10px,
yellow 23px
);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border-bottom: 0;
}
&:before {
top: 0;
}
&:after {
bottom: 0;
}
}
// /Custom styles