Rewrote colors to use variables
This commit is contained in:
parent
f53cc0b31a
commit
e5669d33ab
16 changed files with 34 additions and 58 deletions
src/components
|
@ -19,8 +19,8 @@ const icon: string = `background-image: url('/fgosite/technologies/${image}.webp
|
|||
|
||||
<style>
|
||||
article {
|
||||
background-color: rgb(27, 27, 27);
|
||||
border-color: #1e1e1e;
|
||||
background-color: var(--c-darkergray);
|
||||
border-color: var(--c-darkgray);
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
transition: transform var(--speed) var(--ease);
|
||||
|
@ -39,7 +39,7 @@ article > div {
|
|||
|
||||
article:hover h2 {
|
||||
color: white;
|
||||
background-color: #1e1e1e;
|
||||
background-color: var(--c-darkgray);
|
||||
font-size: 18px;
|
||||
display: inline-block;
|
||||
vertical-align: center;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue