variables
This commit is contained in:
parent
05c849f588
commit
1d6357d4a2
5 changed files with 18 additions and 14 deletions
|
@ -3,6 +3,12 @@
|
||||||
--accent-light: 250, 221, 201;
|
--accent-light: 250, 221, 201;
|
||||||
--accent-dark: 149, 106, 81;
|
--accent-dark: 149, 106, 81;
|
||||||
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), rgb(var(--accent-light)) 30%, white 60%);
|
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), rgb(var(--accent-light)) 30%, white 60%);
|
||||||
|
|
||||||
|
--accent-color: #fab387;
|
||||||
|
--other-accent: #f5a97f;
|
||||||
|
--gray: #6e738d;
|
||||||
|
--overlay: #c6d0f5;
|
||||||
|
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
rgba(var(--accent-dark), 33%));
|
rgba(var(--accent-dark), 33%));
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
-webkit-box-shadow: 0 0 20px #f5a97f;
|
-webkit-box-shadow: 0 0 20px var(--other-accent);
|
||||||
-moz-box-shadow: 0 0 20px #f5a97f;
|
-moz-box-shadow: 0 0 20px var(--other-accent);
|
||||||
box-shadow: 0 0 20px #f5a97f;
|
box-shadow: 0 0 20px var(--other-accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.instructions code {
|
.instructions code {
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
font-family: system-ui, sans-serif;
|
font-family: system-ui, sans-serif;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|
||||||
--accent-color: #fab387;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
@ -47,5 +45,5 @@ h1 {
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
width: 32%;
|
width: 32%;
|
||||||
color: #6e738d;
|
color: var(--gray);
|
||||||
}
|
}
|
|
@ -15,15 +15,15 @@
|
||||||
4px 4px 5px 0px rgba(0, 0, 0, .1);
|
4px 4px 5px 0px rgba(0, 0, 0, .1);
|
||||||
outline: none;
|
outline: none;
|
||||||
font-size: large;
|
font-size: large;
|
||||||
-webkit-box-shadow: 0 0 10px #f5a97f;
|
-webkit-box-shadow: 0 0 10px var(--other-accent);
|
||||||
-moz-box-shadow: 0 0 10px #f5a97f;
|
-moz-box-shadow: 0 0 10px var(--other-accent);
|
||||||
box-shadow: 0 0 10px #f5a97f;
|
box-shadow: 0 0 10px var(--other-accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 8 */
|
/* 8 */
|
||||||
.btn-1 {
|
.btn-1 {
|
||||||
background-color: #c6d0f5;
|
background-color: var(--overlay);
|
||||||
background-image: linear-gradient(315deg, #c6d0f5 0%, #fab387 74%);
|
background-image: linear-gradient(315deg, var(--overlay) 0%, var(--accent-color) 74%);
|
||||||
line-height: 42px;
|
line-height: 42px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
content: "";
|
content: "";
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: #fab387;
|
background: var(--accent-color);
|
||||||
/*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
|
/*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
|
||||||
-4px -4px 6px 0 rgba(116, 125, 136, .2),
|
-4px -4px 6px 0 rgba(116, 125, 136, .2),
|
||||||
inset -4px -4px 6px 0 rgba(255,255,255,.5),
|
inset -4px -4px 6px 0 rgba(255,255,255,.5),
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-1 span:hover {
|
.btn-1 span:hover {
|
||||||
color: #fab387;
|
color: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-1 span:before,
|
.btn-1 span:before,
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
content: "";
|
content: "";
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
background: #fab387;
|
background: var(--accent-color);
|
||||||
/*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
|
/*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
|
||||||
-4px -4px 6px 0 rgba(116, 125, 136, .2),
|
-4px -4px 6px 0 rgba(116, 125, 136, .2),
|
||||||
inset -4px -4px 6px 0 rgba(255,255,255,.5),
|
inset -4px -4px 6px 0 rgba(255,255,255,.5),
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue