Skip to content
Snippets Groups Projects
Commit 9cd60a55 authored by Thomas Fritsch's avatar Thomas Fritsch
Browse files

css theme sombre (

inspiré par @clement.papin.etu)
parent 0c907f1a
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ body { ...@@ -22,7 +22,7 @@ body {
margin: 0; margin: 0;
/* height: 100%; */ /* height: 100%; */
padding: 0; padding: 0;
background: #eee; background: #222;
} }
body { body {
min-height: 100vh; min-height: 100vh;
...@@ -40,7 +40,7 @@ body > footer { ...@@ -40,7 +40,7 @@ body > footer {
padding: 0 40px; padding: 0 40px;
} }
.pageContainer { .pageContainer {
color: #121618; color: #fff;
background-image: url('../images/bg.png'); background-image: url('../images/bg.png');
background-size: 110%; background-size: 110%;
background-position: center -20px; background-position: center -20px;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
bottom: 0; bottom: 0;
height: 0; height: 0;
width: 100%; width: 100%;
background-image: linear-gradient(#eee, #eee), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%); background-image: linear-gradient(#222, #222), linear-gradient(45deg, transparent 75%, #222 75%), linear-gradient(-45deg, transparent 75%, #222 75%);
background-position: 0 0, 0 0, 0 0, 0 100%, 0 100%; background-position: 0 0, 0 0, 0 0, 0 100%, 0 100%;
background-size: auto auto, 15px 15px, 15px 15px, 15px 15px, 15px 15px; background-size: auto auto, 15px 15px, 15px 15px, 15px 15px, 15px 15px;
background-clip: padding-box, border-box, border-box, border-box, border-box; background-clip: padding-box, border-box, border-box, border-box, border-box;
......
.pizzaForm { .pizzaForm {
background: white; background: white;
color: #121618;
padding: 50px; padding: 50px;
border: 1px #13181919 solid; border: 1px #13181919 solid;
outline: 20px hsl(240deg 0% 100%) solid; outline: 20px hsl(240deg 0% 100%) solid;
...@@ -41,6 +42,25 @@ ...@@ -41,6 +42,25 @@
font-weight: lighter; font-weight: lighter;
text-transform: uppercase; text-transform: uppercase;
} }
.pizzaForm label:not(:first-of-type) {
margin-top: 30px;
}
.pizzaForm label small{
margin-top: 5px;
text-transform: none;
font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: normal;
font-style: italic;
font-size: 12px;
opacity: .6;
letter-spacing: 1;
}
.pizzaForm label code{
font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #13181919;
padding: 2px 4px;
border-radius: 3px;
}
.pizzaForm input { .pizzaForm input {
border: 1px #eee solid; border: 1px #eee solid;
border-radius: 3px; border-radius: 3px;
...@@ -62,3 +82,7 @@ ...@@ -62,3 +82,7 @@
/* width: 60%; */ /* width: 60%; */
} }
} }
input::placeholder {
font-weight: lighter !important;
color: #ddd;
}
\ No newline at end of file
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
transform: scaleX(-1) translateY(-50%); transform: scaleX(-1) translateY(-50%);
} }
.pizzaThumbnail { .pizzaThumbnail {
background-color: #fff; background-color: #131618;
} }
.pizzaThumbnail a { .pizzaThumbnail a {
/* background-color: #12161899; */ /* background-color: #12161899; */
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
align-items: center; align-items: center;
padding: 20px 20px; padding: 20px 20px;
font-size: 16px; font-size: 16px;
background-color: #f9f9f9; background-color: #131618;
} }
.pizzaThumbnail a section:before { .pizzaThumbnail a section:before {
content: ''; content: '';
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
height: 0; height: 0;
border-top: 20px solid transparent; border-top: 20px solid transparent;
border-bottom: 20px solid transparent; border-bottom: 20px solid transparent;
border-right:20px solid #f9f9f9; border-right:20px solid #131618;
} }
.pizzaThumbnail a section h4 { .pizzaThumbnail a section h4 {
text-align: center; text-align: center;
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
font-size: 30px; font-size: 30px;
letter-spacing: 2px; letter-spacing: 2px;
text-transform: uppercase; text-transform: uppercase;
color: #000; color: #fff;
/* color: #e2952d; */ /* color: #e2952d; */
margin: 0 0 15px; margin: 0 0 15px;
white-space: nowrap; white-space: nowrap;
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
.pizzaThumbnail a section h4:before, .pizzaThumbnail a section h4:before,
.pizzaThumbnail a section h4:after { .pizzaThumbnail a section h4:after {
content: '〜'; content: '〜';
color: #bbb;
font-weight: lighter; font-weight: lighter;
display: inline-flex; display: inline-flex;
font-size: 0.5em; font-size: 0.5em;
...@@ -115,18 +116,18 @@ ...@@ -115,18 +116,18 @@
list-style-type: none; list-style-type: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
color: #555; color: #bbb;
} }
.pizzaThumbnail a:hover img { .pizzaThumbnail a:hover img {
/* filter: contrast(1) grayscale(0) brightness(1); */ /* filter: contrast(1) grayscale(0) brightness(1); */
width: 48%; width: 48%;
} }
.pizzaThumbnail a:hover section { .pizzaThumbnail a:hover section {
background-color: #fff; background-color: #0d0e10;
/* width: 52%; */ /* width: 52%; */
} }
.pizzaThumbnail a:hover section:before { .pizzaThumbnail a:hover section:before {
border-right-color: #fff; border-right-color: #0d0e10;
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.pizzaThumbnail a img { .pizzaThumbnail a img {
......
images/bg.png

358 KiB | W: | H:

images/bg.png

386 KiB | W: | H:

images/bg.png
images/bg.png
images/bg.png
images/bg.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment