Skip to content

Commit

Permalink
small css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
waalbert committed Apr 3, 2024
1 parent 9abe287 commit 30ccba7
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 39 deletions.
6 changes: 6 additions & 0 deletions src/app/(main)/(home)/Home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ body {

#hero-right {
width: 48%;
margin-bottom: 20px;

@media screen and (max-width: $break-medium) {
width: initial;
Expand Down Expand Up @@ -233,6 +234,11 @@ body {
@media screen and (max-width: $break-medium) {
font-size: 16px;
}

@media screen and (max-width: $break-small) {
margin-right: 2px;
margin-left: 2px;
}
}

.venus-btn:hover {
Expand Down
84 changes: 45 additions & 39 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,78 +4,84 @@

/* VH 2024 Colors */
:root {
--color-background-upper-gradient: #322660;
--color-background-lower-gradient: #070024;
--color-vh-primary: #ffc999;
--color-vh-secondary: #ee99a0;
--color-vh-tertiary: #a8acf9;
--color-light-gray: #e8e8e8;
--color-pink: #ffc3ff;
--color-purple: #ccbbff;
--color-dark-blue: #a8abf2;
--color-blue: #afd6fa;
--color-background-upper-gradient: #322660;
--color-background-lower-gradient: #070024;
--color-vh-primary: #ffc999;
--color-vh-secondary: #ee99a0;
--color-vh-tertiary: #a8acf9;
--color-light-gray: #e8e8e8;
--color-pink: #ffc3ff;
--color-purple: #ccbbff;
--color-dark-blue: #a8abf2;
--color-blue: #afd6fa;
}

body {
min-height: 100vh;
width: 100vw;
margin: 0;
overflow-y: auto;
color: #fff;
background-image: linear-gradient(var(--color-vh-tertiary), var(--color-vh-primary));
min-height: 100vh;
width: 100vw;
margin: 0;
overflow-y: auto;
color: #fff;
background-image: linear-gradient(
to bottom,
var(--color-vh-tertiary),
var(--color-vh-primary)
);
background-size: cover;
background-repeat: no-repeat;
}

/* Legacy VH styles */

button {
border-radius: 50px;
border-radius: 50px;
}

p {
margin-top: 0;
margin-bottom: 1rem;
font-size: 20px;
margin-top: 0;
margin-bottom: 1rem;
font-size: 20px;
}

hr {
margin: 1rem 0;
color: inherit;
border: 0;
border-top: 1px solid;
opacity: 0.25;
margin: 1rem 0;
color: inherit;
border: 0;
border-top: 1px solid;
opacity: 0.25;
}

h4 {
font-size: 30px;
margin-bottom: 0.5em;
font-size: 30px;
margin-bottom: 0.5em;
}

h3 {
font-size: 40px;
margin-bottom: 0.5em;
font-size: 40px;
margin-bottom: 0.5em;
}

h2 {
font-size: 60px;
margin-bottom: 0.5em;
font-size: 60px;
margin-bottom: 0.5em;
}

h1 {
font-size: 80px;
margin-bottom: 0.3em;
font-size: 80px;
margin-bottom: 0.3em;
}

button {
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

a {
color: var(--color-pink);
font-weight: 500;
text-decoration: underline;
transition: 0.3s;
color: var(--color-pink);
font-weight: 500;
text-decoration: underline;
transition: 0.3s;
}

a:hover {
color: var(--color-purple);
color: var(--color-purple);
}

0 comments on commit 30ccba7

Please sign in to comment.