mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
layout: add zebra stripes
This commit is contained in:
parent
e4e85c7996
commit
db2f6eb144
4 changed files with 31 additions and 0 deletions
|
|
@ -89,3 +89,25 @@ header li:last-child::after {
|
||||||
footer {
|
footer {
|
||||||
color: hsl(0, 0%, 0%, 0.6);
|
color: hsl(0, 0%, 0%, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Stripes */
|
||||||
|
|
||||||
|
.stripesContainer {
|
||||||
|
box-sizing: content-box;
|
||||||
|
max-width: 45rem;
|
||||||
|
padding: 5% 5% 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stripes {
|
||||||
|
height: 8vh;
|
||||||
|
background-image: linear-gradient(
|
||||||
|
135deg,
|
||||||
|
currentColor 33.33%,
|
||||||
|
transparent 33.33%,
|
||||||
|
transparent 50%,
|
||||||
|
currentColor 50%,
|
||||||
|
currentColor 83.33%,
|
||||||
|
transparent 83.33%,
|
||||||
|
transparent 100%);
|
||||||
|
background-size: 30.00px 30.00px;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@
|
||||||
<body>
|
<body>
|
||||||
<script>0</script>
|
<script>0</script>
|
||||||
|
|
||||||
|
<%- include('partials/stripes') %>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@ css:
|
||||||
- index
|
- index
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<%- include('partials/stripes') %>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
4
src/partials/stripes.ejs
Normal file
4
src/partials/stripes.ejs
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<div class="stripesContainer">
|
||||||
|
<div class="stripes">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue