-
Notifications
You must be signed in to change notification settings - Fork 0
User Interface 2 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,41 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <link rel="stylesheet" type="text/css" href="index.css"> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>Document</title> | ||
| </head> | ||
|
|
||
| <body> | ||
|
|
||
| <h1>Daniel Beggs</h1> | ||
| <div> | ||
| <ul class="nav"> | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice nice, awesome job with the navigation and the "About", "projects" "contact" etc and linking them to their proper pages! |
||
| <li><a href="home.asp">Home</a></li> | ||
| <li><a href="about.asp">About</a> </li> | ||
| <li><a href="contact.asp">Contact</a></li> | ||
| <li><a href="about.asp">projects</a></li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| <h2>An Introduction to my Site</h2> | ||
| <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure | ||
| dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | ||
| <img class="main" alt="my pic" src="https://picsum.photos/200/300?grayscale"> | ||
|
|
||
| <div class="pics"> | ||
| <img alt="my pic" src="https://picsum.photos/200/300/?blur"> | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. awesome job adding your pictures and displaying flex on them! |
||
| <img alt="my pic" src="https://picsum.photos/200/300/?blur"> | ||
| <img alt="my pic" src="https://picsum.photos/200/300/?blur"> | ||
| <img alt="my pic" src="https://picsum.photos/200/300/?blur"> | ||
| <h3>Some text will go here to discribe all the projects to the left</h3> | ||
| </div> | ||
|
|
||
| <div class="contact"> | ||
| <a class="button" href="https://www.instagram.com/karmaeiic/">Instagram</a> | ||
| <a class="button" href="https://soundcloud.com/karmaeiic">My Music</a> | ||
| </div> | ||
| </body> | ||
|
|
||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,226 @@ | ||
| /* Add CSS styling here */ | ||
| /* Add CSS styling here */ | ||
|
|
||
|
|
||
| /* http://meyerweb.com/eric/tools/css/reset/ | ||
| v2.0 | 20110126 | ||
| License: none (public domain) | ||
| */ | ||
|
|
||
| html, | ||
| body, | ||
| div, | ||
| span, | ||
| applet, | ||
| object, | ||
| iframe, | ||
| h1, | ||
| h2, | ||
| h3, | ||
| h4, | ||
| h5, | ||
| h6, | ||
| p, | ||
| blockquote, | ||
| pre, | ||
| a, | ||
| abbr, | ||
| acronym, | ||
| address, | ||
| big, | ||
| cite, | ||
| code, | ||
| del, | ||
| dfn, | ||
| em, | ||
| img, | ||
| ins, | ||
| kbd, | ||
| q, | ||
| s, | ||
| samp, | ||
| small, | ||
| strike, | ||
| strong, | ||
| sub, | ||
| sup, | ||
| tt, | ||
| var, | ||
| b, | ||
| u, | ||
| i, | ||
| center, | ||
| dl, | ||
| dt, | ||
| dd, | ||
| ol, | ||
| ul, | ||
| li, | ||
| fieldset, | ||
| form, | ||
| label, | ||
| legend, | ||
| table, | ||
| caption, | ||
| tbody, | ||
| tfoot, | ||
| thead, | ||
| tr, | ||
| th, | ||
| td, | ||
| article, | ||
| aside, | ||
| canvas, | ||
| details, | ||
| embed, | ||
| figure, | ||
| figcaption, | ||
| footer, | ||
| header, | ||
| hgroup, | ||
| menu, | ||
| nav, | ||
| output, | ||
| ruby, | ||
| section, | ||
| summary, | ||
| time, | ||
| mark, | ||
| audio, | ||
| video { | ||
| margin: 0; | ||
| padding: 0; | ||
| border: 0; | ||
| font-size: 100%; | ||
| font: inherit; | ||
| vertical-align: baseline; | ||
| } | ||
|
|
||
|
|
||
| /* HTML5 display-role reset for older browsers */ | ||
|
|
||
| article, | ||
| aside, | ||
| details, | ||
| figcaption, | ||
| figure, | ||
| footer, | ||
| header, | ||
| hgroup, | ||
| menu, | ||
| nav, | ||
| section { | ||
| display: block; | ||
| } | ||
|
|
||
| body { | ||
| line-height: 1; | ||
| } | ||
|
|
||
| ol, | ||
| ul { | ||
| list-style: none; | ||
| } | ||
|
|
||
| blockquote, | ||
| q { | ||
| quotes: none; | ||
| } | ||
|
|
||
| blockquote:before, | ||
| blockquote:after, | ||
| q:before, | ||
| q:after { | ||
| content: ''; | ||
| content: none; | ||
| } | ||
|
|
||
| table { | ||
| border-collapse: collapse; | ||
| border-spacing: 0; | ||
| } | ||
|
|
||
| * { | ||
| background-color: #eeeeee; | ||
| } | ||
|
|
||
| h1 { | ||
| text-align: center; | ||
| font-size: 60px; | ||
| font-family: Arial, Helvetica, sans-serif; | ||
| color: #222831; | ||
| margin: 40px; | ||
| } | ||
|
|
||
| ul.nav { | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. awesome ! looks great! |
||
| display: flex; | ||
| justify-content: space-evenly; | ||
| flex-direction: row; | ||
| margin: 30px; | ||
| } | ||
|
|
||
| li a { | ||
| background-color: #00adb5; | ||
| color: #393e46; | ||
| padding: .7em 1em; | ||
| text-decoration: none; | ||
| text-transform: uppercase; | ||
| border-radius: 12px; | ||
| } | ||
|
|
||
| li a:hover { | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice CSS animation! |
||
| color: #7eb9be; | ||
| } | ||
|
|
||
| h2 { | ||
| font-size: 40px; | ||
| text-align: center; | ||
| color: #222831; | ||
| margin: 20px; | ||
| } | ||
|
|
||
| p { | ||
| line-height: 1.5; | ||
| padding-left: 50px; | ||
| padding-right: 50px; | ||
| } | ||
|
|
||
| img.main { | ||
| padding-top: 30px; | ||
| display: block; | ||
| justify-content: center; | ||
| width: 100%; | ||
| } | ||
|
|
||
| img.pics { | ||
| display: flex; | ||
| justify-content: flex-start; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. awesome job using flex & flex-start! |
||
| margin: 20px; | ||
| } | ||
|
|
||
| div h3 { | ||
| display: inline; | ||
| vertical-align: top; | ||
| margin: 30px; | ||
| font-size: 15px; | ||
| } | ||
|
|
||
| div.contact { | ||
| background-color: grey; | ||
| padding: 30px; | ||
| } | ||
|
|
||
| button { | ||
| display: flex; | ||
| justify-content: center; | ||
| background-color: #00adb5; | ||
| color: #393e46; | ||
| padding: .7em 1em; | ||
| text-decoration: none; | ||
| text-transform: uppercase; | ||
| border-radius: 12px; | ||
| } | ||
|
|
||
| button:hover { | ||
| color: #7eb9be; | ||
| background-color: red; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Awesome job linking your CSS to your HTML!