-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Navbar and hero section content + styling
- Loading branch information
Showing
7 changed files
with
270 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
/* | ||
--- 01 TYPOGRAPHY SYSTEM | ||
Raleway for subheadings, text | ||
Playfair Display SC for Primary Headings | ||
Playfair Display for Secondary Headings | ||
--DEFAULT FONTWEIGHTS: 400 | ||
--MEDIUM: | ||
--SEMI-BOLD: | ||
--BOLD: | ||
--LINE HEIGHTS: | ||
Default: 1 | ||
Small: 1.05 | ||
Medium: 1.2 | ||
Large: 1.8 | ||
Paragraph Default: 1.6 | ||
--LETTER SPACING | ||
-0.5px | ||
0.75px | ||
--FONT SIZE SYSTEM (px) | ||
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98 | ||
--- 02 COLORS | ||
--Primary: | ||
--Tints (Lighter): #fdf2e9 #fae5d3 | ||
--Shades (Darker): #cf711f #eb984e | ||
--Greys: | ||
#6f6f6f - Lightest grey allowed on #fdf2e9 | ||
#888 | ||
#767676 Lightest Grey allowed on white | ||
#777 | ||
#555 | ||
#333 | ||
#45260a | ||
--- 03 SHADOWS | ||
--- 04 BORDER-RADIUS | ||
Default: 9px | ||
11px | ||
--- 05 WHITESPACE | ||
--SPACING SYSTEM (px) | ||
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 | ||
--- 06 SHADOWS | ||
box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075); | ||
*/ | ||
|
||
.navbar { | ||
font-family: "Raleway", sans-serif; | ||
font-weight: 600; | ||
font-size: 1rem; | ||
} | ||
|
||
.nav-item { | ||
position: relative; | ||
} | ||
|
||
.nav-item--underline:after { | ||
bottom: 0; | ||
content: ""; | ||
display: block; | ||
height: 0.5px; | ||
left: 100%; | ||
position: absolute; | ||
background: #f8fafc; | ||
transition: width 0.3s ease 0s, left 0.3s ease 0s; | ||
width: 0; | ||
} | ||
|
||
.nav-item--underline:hover:after { | ||
width: 100%; | ||
left: 0; | ||
} | ||
|
||
.nav-item:link, | ||
.nav-item:visited { | ||
color: #f8fafc; | ||
} | ||
|
||
.nav-item:hover, | ||
.nav-item:active { | ||
color: #e2e8f0; | ||
} | ||
|
||
.btn-nav-cta:link, | ||
.btn-nav-cta:visited { | ||
display: inline-block; | ||
margin: 1rem 2rem; | ||
align-items: start; | ||
text-decoration: none; | ||
background-color: #f8fafc; | ||
border-radius: 4px; | ||
font-weight: 700; | ||
color: #09090b; | ||
transition: all 0.3s; | ||
} | ||
|
||
.btn-nav-cta:hover, | ||
.btn-nav-cta:active { | ||
text-shadow: 0 0 0.5px #09090b; | ||
background-color: #e5e7eb; | ||
box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03); | ||
} | ||
|
||
.heading-primary { | ||
font-family: "Playfair Display SC", serif; | ||
font-weight: 600; | ||
font-size: 3.8rem; | ||
} | ||
|
||
.heading-secondary { | ||
} | ||
|
||
.heading-tertiary { | ||
font-family: "Raleway", sans-serif; | ||
font-size: 1.3rem; | ||
} | ||
|
||
.subheading { | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters