I I I

Colours

#240975

#f98562

#f9b19b

#62a9fd

#aad0fd

pure grey

#e0e4e6

Fonts

Raleway thin

font-weight: 100

The quick brown fox jumped over the lazy dog

Raleway extra light

font-weight: 200

The quick brown fox jumped over the lazy dog

Raleway

font-weight: 400

The quick brown fox jumped over the lazy dog

Raleway bold

font-weight: bold

The quick brown fox jumped over the lazy dog

Raleway italic

font-weight: 400

The quick brown fox jumped over the lazy dog

Raleway italic bold

font-weight: bold

The quick brown fox jumped over the lazy dog

Florence

font-weight: 400

The quick brown fox jumped over the lazy dog

Florence bold

font-weight: bold

The quick brown fox jumped over the lazy dog

Headings

Heading 1 (Logo)
  • color: white and orange
  • text-align: center
  • font-family: Raleway and FlorenceScript
  • font-size: 2rem
  • font-weight: 100
  • font-style: normal
  • text-transform: uppercase and normal
  • line-height: 1.2
  • letter-spacing: 0.14rem and normal
  • padding: 1rem o

The quick brown fox

jumped over the lazy dog


Heading 2 (& florence script variation)
  • color: orange or purple
  • text-align: center
  • font-family: Raleway or FlorenceScript
  • font-size: 2.5rem
  • font-weight: 200 or normal
  • font-style: normal
  • text-transform: uppercase or normal
  • line-height: 1.4
  • letter-spacing: 0.14rem or normal
  • padding: 1rem 0

The quick brown fox jumped over the lazy dog


Heading 3 (& florence script variation)
  • color: orange or varies
  • text-align: center
  • font-family: Raleway or Florence Script
  • font-size: 2rem
  • font-weight: 200 or bold
  • font-style: normal
  • text-transform: uppercase or normal
  • line-height: 1.4
  • letter-spacing: 0.14rem or normal
  • padding: 1rem o

The quick brown fox jumped over the lazy dog


Heading 4
  • color: orange
  • text-align: center
  • font-family: Raleway
  • font-size: 1.5rem
  • font-weight: 200
  • font-style: normal
  • text-transform: uppercase
  • line-height: 1.4
  • letter-spacing: 0.14rem
  • padding: 1rem 0 0.5rem 0

The quick brown fox jumped over the lazy dog


Heading 5
  • color: orange
  • text-align: center
  • font-family: Raleway
  • font-size: 1.25rem
  • font-weight: 200
  • font-style: normal
  • text-transform: uppercase
  • line-height: 1.4
  • letter-spacing: 0.14
  • padding: 1rem 0 0.5rem 0

The quick brown fox jumped over the lazy dog


Heading 6 (not in use)
  • color: purple
  • text-align: left
  • font-family: Raleway
  • font-size: 1.125rem
  • font-weight: bold
  • font-style: normal
  • text-transform: none
  • line-height: 1.4
  • letter-spacing: o.08rem
  • padding: 1rem 0 0.5rem 0

The quick brown fox jumped over the lazy dog


paragraph (bold)
  • color: purple
  • font-family: Raleway
  • font-size: 1rem (14px)
  • font-weight: bold
  • font-style: normal
  • text-transform: none
  • line-height: 1.8
  • letter-spacing: 0.08rem
  • padding-bottom: 1rem

The quick brown fox jumped over the lazy dog


paragraph
  • color: purple
  • font-family: Raleway
  • font-size: 1rem (14px) *
  • font-weight: normal
  • font-style: normal
  • text-transform: none
  • line-height: 1.8
  • letter-spacing: 0.08rem
  • padding-bottom: 1rem

The quick brown fox jumped over the lazy dog


block-quote
  • color: blue or white with blue background
  • text-align: center
  • font-family: FlorenceScript
  • font-size: 1.85rem
  • font-weight: normal
  • font-style: normal
  • text-transform: normal
  • line-height: 1.4
  • letter-spacing: normal
  • padding: to fit content
  • :hover color: purple
The quick brown fox jumped over the lazy dog

Buttons

All buttons

  • color: white
  • background-color: purple
  • font-family: Raleway, sans-serif
  • border: 1px solid white
  • border-radius: 2rem
  • margin: 1rem 0
  • transition: all 400ms ease-in-out

Large button

  • width: 10rem
  • padding: 1.2rem
  • :active padding: 1.35rem

Small button

  • width: 7rem
  • padding: 0.8rem
  • :active padding: 1rem

Tabs

Container

  • contains buttons
  • display: grid
  • grid-template-columns: repeat(number, 1fr)
  • column-gap: 1rem
  • background-color: rgb(248, 248, 248)
  • border-radius: 0.5rem
  • padding-top: 2rem
  • border-bottom-left-radius: 0
  • border-bottom-right-radius: 0
  • border-bottom: 0.5rem solid white

Inherited from button

  • color: white
  • background-color: purple
  • font-family: Raleway, sans-serif
  • border 1px solid white
  • border-radius: 2rem
  • transition: all 400ms ease-in-out
  • width: 10rem

Modified from button

  • margin: 0
  • padding-top: 1rem
  • padding-bottom: 1rem

Layout

main

  • background-color: white (#fff)
  • width: 1200px (home page), 1600px (about page)
  • max-width: 100% *
  • margin: 2rem auto
  • padding: 0 2rem
  • @media (max-width: 479px) padding: 0 1rem

section and article

  • margin-bottom: 3rem
  • @media (max-width: 479px) margin-bottom: 2rem

paragraph

  • margin-bottom: 1rem
  • last-child: padding-bottom: 1rem

Header

Layout

  • spans the full page
  • padding: 4rem 0
  • display: grid (left nav | logo | right nav) / media queries
  • grid-template-columns: 1fr 450px 1fr / media queries

Background

  • background-color: #240975
  • background-image: url("https://www.karenplimmer.com/wp-content/uploads/2021/01/Colour-gradient-block.jpg")
  • background-size: contain
  • background-repeat: repeat-y

Header Navigation

all states
  • font-size: 0.9rem
  • text-transform: uppercase
  • line-height: 2 *
  • letter-spacing: 0.08rem *
  • text-decoration: none *
  • transition: all 600ms ease-in-out
navigation anchor
  • color: white
  • font-weight: normal *
active or hover
  • color: orange *
  • font-weight: bold
visited
  • color: pale orange
  • font-weight: normal *

Mobile Navigation

Slide-out

  • position: fixed (left: 0; top: 0)
  • z-index: 5
  • height: 100vh
  • width: 0 to 250px; slides from left
  • opacity: 0 to 1
  • background-color: orange
  • border: 1px solid white

Menu links

  • position: relative (top: 100px)
  • padding: 1rem 3rem
  • color: white
  • text-transform: uppercase
  • display: block

Menu icon container

  • position: absolute (top: 25px; left: 25px)
  • transform: rotate(90deg)
  • z-index: 6
  • height: 60px
  • width: 60px

Hamburger

  • position: relative
  • height: 60px
  • width: 60px
  • display: flex
  • justify-content: center
  • align-items: center
  • cursor: pointer
  • :hover color: pale purple

Bars

  • position: relative
  • color: purple
  • background-color: transparent
  • display: inline-block
  • font-size: 50px
  • line-height: 1
  • opacity: 1
  • transition: all 500ms ease-in-out
  • transform-origin: bottom left (line 1)
  • transform-origin: top right (line 3)

Footer

  • box-sizing: border-box
  • margin: 0
  • padding: 0
  • margin-block-start: 0
  • margin-block-end: 0
  • margin-inline-start: 0
  • margin-inline-end: 0
  • max-width: 100%

@media only screen and (min-resolution: 200dpi) { html { font-size: 16px; } }

@media only screen and (min-width: 1400px) and (max-width: 1799px) { header #split-nav { grid-template-columns: 1fr 200px 1fr; } }

@media only screen and (max-width: 1399px) { nav#left, nav#right { display: none; }
header #split-nav { grid-template-columns: 1fr; } }

@media only screen and (min-width: 1400px) { nav#narrow-nav { display: none; } }

@media only screen and (max-width: 1699px) { header nav li { padding-left: 2.5rem; padding-right: 2.5rem; } }

@media only screen and (max-width: 1499px) { header nav li { padding-left: 2rem; padding-right: 2rem; line-height: 1.4; } }

@media only screen and (max-width: 767px) { header nav { display: none; } }

@media only screen and (min-width: 950px) { #mobile-menu-open { display: none; } }

@media only screen and (max-width: 949px) { header { grid-template-columns: 1fr; }
header nav { display: none; } }

.white { color: #fff; }
.bg-white { background-color: #fff; }
.purple { color: #240975; }
.bg-purple { background-color: #240975; }
.pale-purple { color: #7756db; }
.bg-pale-purple { background-color: #7756db; }
.orange { color: #f98562; }
.bg-orange { background-color: #f98562; }
.pale-orange { color: #f9b19b; }
.bg-pale-orange { background-color: #f9b19b; }
.blue { color: #62a9fd; }
.bg-blue { background-color: #62a9fd; }
.pale-blue { color: #aad0fd; }
.bg-pale-blue { background-color: #aad0fd; }
.grey { color: #e0e4e6; }
.bg-grey { background-color: #e0e4e6; }
.small-quote { line-height: 2; }
.bold { font-weight: bold; }
.italic { font-style: italic; }
.oblique { font-style: oblique; }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.small { font-size: 0.8rem; }
.remove-padding-bottom { padding-bottom: 0; }
.remove-margin-bottom { margin-bottom: 0; }
.margin-top-1 { margin-top: 1rem; }
.margin-top-2 { margin-top: 2rem; }
.indent-2 { margin-left: 2rem; }
.hidden, .hide { display: none; }