I have written the following code for my personal website, in Jade and Stylus. Can anyone review this code? Are there any tips that you can give me on how to make it better?
main-page.jade:
doctype html
html(lang="en")
head
title Darcey Mckelvey
link(rel="stylesheet" href="/css/main.css")
body
header.header
nav.nav
ul
li.nav-item
a(href="#about") About
li.nav-item
a(href="#skills") Skills
li.nav-item
a(href="#projects") Projects
.space
.headings
.title
h1 Darcey Mckelvey
#about
h1 About Me
p Hello, I'm a Designer, Front-end Developer and of course a Tea Enthusiast. It is my mission to program simple and elegant, responsive websites while under the influence of tea.
#skills
h1 My Skills
.skills-section
.skills
ul
li HTML5/CSS3
li Javascript/jQuery
li Nodejs/Express
li Jade
li Stylus
.skills
ul
li Responsive Design
li Concept Sketches
li UI
li Mobile Ready
li Crose Browser
li QBASIC
.skills
ul
li Git
li Terminal
li Linux(Ubuntu)
li Atom
li Sublime Text
#projects
h1 My Projects / Work
.project
h2 Darcey Mckelvey(Current):
img(src="img/personal.png")
.description
p The site you are on at this very moment has been programmed and designed by me.
p It's hosted on a Digital Ocean. Site is programmed in NodeJS, HTML templated in Jade, and CSS preprocessed in Stylus.
.footer
p © Copyright 2015
style.styl:
global-reset()
*
box-sizing border-box
body
font-size 16px
font-family sans-serif
.header
background #f7f7f7
height 50vh
border-bottom 1px solid #333
.nav
display flex
align-items center
justify-content flex-end
padding 1em
background rgba(0,0,0,0.5)
border-bottom 1.5px solid #333
position fixed
top 0
left 0
width 100%
z-index 5
.nav-item
list-style none
display inline
padding 1em
a
text-decoration none
color #111
transition 1s
padding-right 1em
a:hover
color #333
.space
content " "
height 3.0625em
.headings
height calc(50vh - 3.0625em)
display flex
align-items center
justify-content center
flex-direction column
h1
font-size 2em
font-weight 400
#about
height 50vh
background #e1e1e1
display flex
align-items center
justify-content center
flex-direction column
border-bottom 1px solid #333
h1
font-size 1.5em
font-weight 300
p
font-size 1em
font-weight 100
max-width 50em
text-align center
margin-top 1em
line-height 150%
#skills
height 100vh
display flex
align-items center
justify-content center
flex-direction column
#skills h1
font-size 2em
padding 1em
font-weight 100
display flex
align-items center
justify-content center
.skills-section
display flex
align-items baseline
justify-content center
font-weight 300
font-size 1.20em
.skills
margin 1em
ul
list-style square
width 10em
#projects
min-height 100vh
padding-top 5em
background #e1e1e1
h1
text-align center
font-size 2em
padding 1em
font-weight 100
img
height calc(1280px/6)
width calc(720px/2)
margin 1em
.project
display flex
align-items center
justify-content center
flex-direction column
h2
font-weight 100
text-align left
width 100%
padding-left 25vw
.description
max-width 45em
p
line-height 150%
font-weight 100
margin-bottom .5em
.footer
height 25vh
background #111
clearfix()
display flex
align-items center
justify-content center
color #f7f7f7
p
font-size .75em
p:nth-child(1)
width 50%
p:nth-child(1)