diff --git a/.DS_Store b/.DS_Store index e29a3b4..0014b62 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/labs/.DS_Store b/labs/.DS_Store index b6b7a75..418cdcc 100644 Binary files a/labs/.DS_Store and b/labs/.DS_Store differ diff --git a/labs/lab5/.DS_Store b/labs/lab5/.DS_Store new file mode 100644 index 0000000..2bfc78b Binary files /dev/null and b/labs/lab5/.DS_Store differ diff --git a/labs/lab5/assets/.DS_Store b/labs/lab5/assets/.DS_Store new file mode 100644 index 0000000..0262f95 Binary files /dev/null and b/labs/lab5/assets/.DS_Store differ diff --git a/labs/lab5/assets/css/style.css b/labs/lab5/assets/css/style.css new file mode 100644 index 0000000..0f46767 --- /dev/null +++ b/labs/lab5/assets/css/style.css @@ -0,0 +1,162 @@ + +body { + margin: 0; + background: #eeeeee; + font-family: 'Raleway', sans-serif; +} + +/************/ +/*question 1*/ +/************/ + +/*Edit and add the necessary code for all of question 1, Navbar Madness, below */ + +#q1-navbar { + background: #364156; + color: white; +} + +#q1-navbar a{ + text-decoration: none; + color: white; + text-align: column; +} +.nav--button { + display: inline-block; + margin-left: 10px; + margin-right: 10px; +} + + + +/************/ +/*question 2*/ +/************/ + +/* No selectors given :o */ + +/* Add the necessary code for all of question 2, flexbox-ception, below */ +#q2-container { + display: flex; + flex-direction: center; + align-items: center; + text-align: center; + justify-content:space-around; +} +.q2-big-box { + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; +} +.q2-tiny-box { + width:50px; +} + + + + + + +/*************************/ +/*OTHER CODE THAT WE USED*/ +/*************************/ + +/*Question 1 stuff*/ +#q1-navbar { + position: fixed; + width: 100%; + z-index: 1; +} + +.q1-section { + width: 100%; + height: 400px; + opacity: 0.5; +} +.q1-section:nth-child(odd) { + background-color: #EE6352; +} +.q1-section:nth-child(even) { + background-color: #F79D84; +} + +/*Question 2 stuff*/ +#q2-body { + background-color: #C7EAE4; +} +#q2-container { + width: 100vw; + height:100vh; +} + +.q2-big-box { + background-color: #A7E8BD; + border: 4px solid white; + border-radius: 4px; + width: 200px; + height: 200px; +} + +.q2-tiny-box { + border: 2px solid white; + border-radius: 4px; + background-color: #FCBCB8; + font-size: 0.5em; + padding: 8px 4px; + margin: 2px; +} + + +/*index*/ + + +#index { + display: grid; + grid-template-columns: 240px; + grid-template-rows: 200px; + justify-content: center; + align-items: content; + font-weight: 700; +} + +#index a { + text-decoration: none; +} + +.question { + background: #62C370; + padding: 18px; + font-size: 16px; + margin-bottom: 6px; + border-radius: 2px; + text-align: center; + font-weight: 700; + color: #4a4a4a; + cursor: pointer; + box-shadow: 2px 2px 10px -3px black; + color: white; +} + +.question:hover { + box-shadow: 2px 2px 10px -5px black; + opacity: 0.8; +} + +.title { + color: #333333; + background: #eeeeee; + box-shadow: none; + display: grid; + justify-self: center; + font-size: 36px; + width: 400px; + height: 100px; + margin-top: 24px; + cursor: auto !important; +} + +.title:hover { + box-shadow: none !important; + opacity: 1 !important; +} diff --git a/labs/lab5/index.html b/labs/lab5/index.html index bf6125b..d2b1990 100644 --- a/labs/lab5/index.html +++ b/labs/lab5/index.html @@ -1,6 +1,14 @@ - -
- Lab 1 - - \ No newline at end of file + +