-
Notifications
You must be signed in to change notification settings - Fork 47
"added completed webpage" #29
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 |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Startrly</title> | ||
| <LINK REL=StyleSheet type="text/css" HREF="styles/index_style.css" > | ||
| </head> | ||
| <body> | ||
| <div> | ||
|
|
@@ -23,18 +24,18 @@ | |
| </nav> | ||
|
|
||
|
|
||
| <section> | ||
| <section class="website_intro"> | ||
| <h1>Startrly</h1> | ||
| <sub>A catchy tagline for a great solution</sub> | ||
| <a href="#">Some Call to Action</a> | ||
| </section> | ||
|
|
||
|
|
||
| <section> | ||
| <blockquote> | ||
| <section class="quote_box"> | ||
| <blockquote class="quote"> | ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
| </blockquote> | ||
| <p> | ||
| <p class="author"> | ||
| Mx. Lorem | ||
| </p> | ||
| </section> | ||
|
|
@@ -68,11 +69,11 @@ <h2>Why?</h2> | |
| </section> | ||
|
|
||
|
|
||
| <section> | ||
| <blockquote> | ||
| <section class="quote_box"> | ||
| <blockquote > | ||
| Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. | ||
| </blockquote> | ||
| <p> | ||
| <p class="author"> | ||
| Mx. Ipsum | ||
| </p> | ||
| </section> | ||
|
|
@@ -83,28 +84,28 @@ <h2>Meet the team</h2> | |
| <ul> | ||
| <li> | ||
| <img src="https://placebear.com/150/150" alt="profile for kari kiwi" /> | ||
| <span>Kari Kiwi</span> | ||
| <span>CFO</span> | ||
| <span class="team_name">Kari Kiwi</span> | ||
| <span class="title">CFO</span> | ||
| </li> | ||
| <li> | ||
| <img src="https://placebear.com/150/150" alt="profile for dan dragon" /> | ||
| <span>Dan Dragon</span> | ||
| <span>CMO</span> | ||
| <span class="team_name">Dan Dragon</span> | ||
| <span class="title">CMO</span> | ||
| </li> | ||
| <li> | ||
| <img src="https://placebear.com/150/150" alt="profile for chris caribou" /> | ||
| <span>Chris Caribou</span> | ||
| <span>CIO</span> | ||
| <span class="team_name">Chris Caribou</span> | ||
| <span class="title">CIO</span> | ||
| </li> | ||
| <li> | ||
| <img src="https://placebear.com/150/150" alt="profile for charles cheetah" /> | ||
| <span>Charles Cheetah</span> | ||
| <span>Board Member, CTO</span> | ||
| <span class="team_name">Charles Cheetah</span> | ||
| <span class="title">Board Member, CTO</span> | ||
| </li> | ||
| <li> | ||
| <img src="https://placebear.com/150/150" alt="profile for dee dugong" /> | ||
| <span>Dee Dugong</span> | ||
| <span>Startup Enthusiast</span> | ||
| <span class="team_name">Dee Dugong</span> | ||
| <span class="title">Startup Enthusiast</span> | ||
| </li> | ||
| </ul> | ||
| </section> | ||
|
|
@@ -133,7 +134,7 @@ <h2>Sponsors</h2> | |
|
|
||
|
|
||
| <section> | ||
| <div> | ||
| <div class="support_links"> | ||
|
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. I think classes are supposed to be kebab-case - but I think that might just be personal preference |
||
| <h3>Support</h3> | ||
| <ul> | ||
| <li> | ||
|
|
@@ -150,7 +151,7 @@ <h3>Support</h3> | |
| </li> | ||
| </ul> | ||
| </div> | ||
| <div> | ||
| <div class="about_links"> | ||
| <h3>About</h3> | ||
| <ul> | ||
| <li> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,187 @@ | ||
| body { | ||
| background-color: white | ||
| } | ||
|
|
||
| body div section:first-of-type { | ||
| text-align: center; | ||
| border-bottom: thin solid black | ||
| } | ||
| body div section h1 { | ||
| font-size: 300% | ||
| } | ||
|
|
||
| body div section sub { | ||
| width: 100%; | ||
| display: block; | ||
| font-size: 2em; | ||
| font-weight: bold; | ||
| text-transform: capitalize | ||
| } | ||
|
|
||
| section a:first-of-type { | ||
| text-align: center; | ||
| text-transform: capitalize; | ||
| display: inline-block; | ||
| padding: 1.5em; | ||
| border: thin solid black; | ||
| margin: 40px 0 100px 0; | ||
| border-radius: 10px; | ||
| font-size: 1.2em; | ||
| color: black; | ||
| font-weight: thin; | ||
| text-decoration: none | ||
| } | ||
|
|
||
| section:first-of-type a:hover { | ||
| color: lightpink | ||
| } | ||
|
|
||
| body nav ul:first-of-type { | ||
| display: flex; | ||
| justify-content: space-around; | ||
| list-style-type: none; | ||
| font-weight: bold; | ||
| font-size: 1.1em; | ||
| background-color: lightgray | ||
|
|
||
| } | ||
|
|
||
| body nav ul li { | ||
| flex: 1; | ||
| list-style-type: none; | ||
| font-weight: bold; | ||
| padding: 30px; | ||
| } | ||
|
|
||
| body nav ul li:first-of-type { | ||
| flex: 3; | ||
| } | ||
|
|
||
| section.quote_box { | ||
| border-bottom: thin solid black; | ||
| padding: 2.0em; | ||
| margin: 75px 0 75px 0; | ||
| text-align: center; | ||
| font-size: 20px; | ||
| font-family: 'Open Sans Condensed', sans-serif; | ||
| font-style: italic | ||
| } | ||
|
|
||
| blockquote::before { | ||
| content: '"'; | ||
| } | ||
|
|
||
| blockquote { | ||
| line-height: 2.0em | ||
| } | ||
| blockquote::after { | ||
| content: '"'; | ||
| } | ||
|
|
||
| .author { | ||
| text-align: right; | ||
| padding-right: 50px; | ||
| margin: 50px 100px 50px 0; | ||
| font-size: 15px; | ||
| font-family: 'Open Sans Condensed', sans-serif; | ||
| font-style: italic; | ||
| } | ||
|
|
||
| .author::before { | ||
|
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. I like how you added the class .author here -- I think i said something like ... last child of quote section, which isn't as clear and wouldn't have been easy to find to change if any changes were wanted. Good job! |
||
| content: "--"; | ||
| } | ||
|
|
||
| section h2 { | ||
| text-align: center; | ||
| font-family: 'Open Sans Condensed', sans-serif; | ||
| font-style: bold; | ||
| font-size: 2.0em; | ||
| } | ||
|
|
||
| section ul:nth-last-of-type(1) { | ||
| display: flex; | ||
| text-align: left; | ||
| list-style-type: none | ||
| } | ||
|
|
||
| section ul:nth-of-type(3) li { | ||
| flex: 1; | ||
| } | ||
|
|
||
| section:nth-of-type(3) ul li img { | ||
| float: left; | ||
| padding-right: 6px | ||
| } | ||
|
|
||
| .team_name { | ||
| display: block; | ||
| } | ||
| section ul li p { | ||
| width: auto; | ||
| } | ||
|
|
||
|
|
||
| section:nth-of-type(4){ | ||
| border-top:thin solid black; | ||
| border-bottom: thin solid black; | ||
| padding-top: 4em; | ||
| text-align: center | ||
| } | ||
|
|
||
| section:nth-of-type(5) { | ||
| padding: 40px 10px 40px 10px | ||
| } | ||
|
|
||
| section:nth-of-type(5) h2 { | ||
| padding: 30px 10px 30px 10px; | ||
| } | ||
|
|
||
| section:nth-of-type(5) ul{ | ||
| display: flex; | ||
| flex-wrap: wrap; | ||
| justify-content: space-around; | ||
| align-content: center; | ||
| text-align: center; | ||
| } | ||
|
|
||
|
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. your bear section is beautiful, I don't know why the second row isn't close together... I struggled with that too. Wish I could help!!! :( |
||
| section:nth-of-type(5) ul li { | ||
| width: 33% | ||
| } | ||
|
|
||
| section:nth-of-type(5) ul li img { | ||
| padding: 5px; | ||
| border: thin solid lightgray; | ||
| border-radius: 80px; | ||
| filter: grayscale(100%) | ||
| } | ||
|
|
||
|
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. Great job on the bear border... I don't know why I didn't do this. For some reason I did something really complicated. :( Great job!!! :D |
||
| section:nth-of-type(6) ul { | ||
|
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. The first thing I noticed about your website was how perfect the Sponsors section was! So that was the first code I wanted to investigate. It looks like you figured it out using much less code than I did and it's super readable and makes more sense (however - I don't really understand what flex does - please teach me if we have time after!) My only suggestion is to name the sections with classes or IDs so that it's easier to find which part of the CSS is taking care of which part of the HTML - I thought I could scan your CSS to find where the Sponsor section was to learn your magic, but found it was easier to open the dev tools and click the section to see what CSS was applied, and realized you select each section by its order. |
||
| display: flex; | ||
| flex-wrap: wrap; | ||
| align-items: center; | ||
| text-align: center; | ||
| } | ||
|
|
||
| section:nth-of-type(6) ul li { | ||
| flex: 1; | ||
| } | ||
|
|
||
| section:last-of-type { | ||
| border-top: 1px solid black; | ||
| display: flex; | ||
| font-size: 12px; | ||
| justify-content: left; | ||
| } | ||
|
|
||
| section:last-of-type ul { | ||
| padding: 0; | ||
| display: grid | ||
|
|
||
| } | ||
| div.support_links { | ||
| flex: 1; | ||
| } | ||
|
|
||
| div.about_links { | ||
| flex: 3; | ||
| } | ||
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.
For each special, unique section, I think it helps a ton to add id="unique-identifier" so that in CSS it can be accessed with #unique-identifier which I think makes it easier to understand what selection each "selection, property, value group" was being operated on.