Skip to content

jpiros/Exercise_7

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise 7

Sass exercise


  1. create a variable named $delius-font and set the value to 'Delius Swash Caps', sans-serif
  2. add a new font-family directive and add the $delius-font to
  • h1
  • h2, h3, h4, h5, h6
  • #footer a
  1. create a variable named $quattro-font and set the value to 'Quattrocento Sans', sans-serif
  2. add a new font-family directive and add the $quattro-font to
  • p, ul, ol, li, a, span, div
  1. create a variable named $blue-highlight-color and set the value to #00A2AD
  2. add a new directive to change the font color to $blue-highlight-color for
  • #header h1
  • #footer a
  1. refactor the #header and #header h1 style selectors to be nested selectors (around line 31 to line 43)
  2. refactor the #footer and #footer a style selectors to be nested selectors (around line 57 to line 69)
  3. refactor the #slideshow and #slideshow .orbit-timer and #slideshow ul li style selectors to be nested selectors (around line 71 to line 83)
  4. in the same way as 7. 8. 9. refactor the entire #main_nav set of styles within /* STYLES FOR IPAD AND LARGER (MEDIUM UP) * /
    @media only screen and (min-width: 40.063em)
    around lines 96 to line 159
  5. same as 10. refactor the #main_nav set of styles within /* STYLES FOR MOBILE SIZE ONLY * /
    @media only screen and (max-width: 40em)
    around lines 173 to line 218
  6. create a variable named $dark-grey and set the value to #444
  7. set the background color to $dark-grey for
  • /* STYLES FOR IPAD AND LARGER (MEDIUM UP) * /
    • #main_nav
    • #main_nav .top-bar
    • #main_nav .top-bar .top-bar-section .right > li, #main_nav .top-bar .top-bar-section .left > li
    • #main_nav .top-bar .top-bar-section .right > li > a, #main_nav .top-bar .top-bar-section .left > li > a
    • #main_nav .top-bar .title-area
  • /* STYLES FOR MOBILE SIZE ONLY * /
    • #main_nav
    • #main_nav .top-bar
    • #main_nav .top-bar .top-bar-section
    • #main_nav .top-bar .top-bar-section .right
    • #main_nav .top-bar .top-bar-section .right > ul
    • #main_nav .top-bar .top-bar-section .right > ul > li
    • #main_nav .top-bar .top-bar-section .right > ul > li > a
    • #main_nav .top-bar .top-bar-section .right > ul > li.has-dropdown > a

About

Sass Exercises

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.8%
  • CSS 12.2%