-
Notifications
You must be signed in to change notification settings - Fork 48
Sockets - Sarah #41
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?
Sockets - Sarah #41
Changes from all commits
92ddf13
9192dfe
3fe20f3
52649ca
c9cecd0
44549cf
8d873d2
ab7dec1
5931821
2075766
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 |
|---|---|---|
| @@ -0,0 +1,149 @@ | ||
|
|
||
| h1, h2, h3 { | ||
| font-family: 'Oleo Script', cursive; | ||
| } | ||
| body { | ||
| font-family: 'Open Sans', sans-serif; | ||
| } | ||
| nav ul { | ||
| margin: 0; | ||
| padding: 1.5em 0; | ||
| } | ||
| nav, footer { | ||
| background-color: #015249; | ||
| color: beige; | ||
| } | ||
| footer { | ||
| padding-bottom: 2em | ||
| } | ||
| .team-members { | ||
| background-color: #77C9D4; | ||
| } | ||
| section { | ||
| padding: 4em 2em; | ||
| } | ||
|
|
||
| h2 { | ||
| font-size: 2em; | ||
| text-align: center; | ||
| } | ||
| .tagline { | ||
| background: #57BC90; | ||
| display: grid; | ||
|
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 use of grid on the tagline section! |
||
| align-items: center; | ||
| grid-template-rows: 35% 1fr 1fr ; | ||
| font-size: 1.6em | ||
| } | ||
| .tagline * { | ||
| justify-self: center; | ||
| } | ||
| .tagline h1 { | ||
| font-size: 2em; | ||
| grid-row: 1; | ||
| } | ||
|
|
||
| .tagline sub { | ||
| grid-row: 2; | ||
| } | ||
| .tagline a { | ||
| font-size: .8em; | ||
| text-decoration: none; | ||
| grid-row: 3; | ||
| display: block; | ||
| border-radius: 15px; | ||
| border: 2px solid; | ||
| padding: 8px; | ||
| border-color: darkslategray | ||
| } | ||
|
|
||
| .quote { | ||
| display: grid; | ||
| align-items: center; | ||
| background-color: #77C9D4; | ||
| background-color: beige; | ||
| } | ||
|
|
||
| blockquote { | ||
| font-style: italic | ||
| } | ||
|
|
||
| .quote p { | ||
| text-align: right | ||
| } | ||
|
|
||
| .flexbox { | ||
| display: flex; | ||
| flex-direction: row; | ||
| align-content: space-around; | ||
| } | ||
|
|
||
| .flexbox li { | ||
| flex: 1; | ||
|
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. This is something I hadn't seen before. Thanks for the learning moment. :-) |
||
| list-style-type: none; | ||
| } | ||
| .why .flexbox li > * { | ||
| padding: .5em | ||
| } | ||
|
|
||
| .why .flexbox img { | ||
| float: left; | ||
| } | ||
|
|
||
| .sponsers .flexbox, .team-members .flexbox { | ||
| justify-content: space-around; | ||
|
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 sponsors are almost touching on my browser. Was this a design choice or a browser rendering? It could be nice to give these elements a little margin. (or not) |
||
| flex-wrap: wrap; | ||
| justify-content: center; | ||
| } | ||
|
|
||
| .sponsers .flexbox li, .team-members .flexbox li { | ||
| align-items: center; | ||
| display: flex; | ||
| justify-content: center; | ||
| } | ||
|
|
||
|
|
||
| .sponsers .flexbox img { | ||
| margin: .3em | ||
| } | ||
|
|
||
| .team-members .flexbox li { | ||
| margin: 0 2em; | ||
| flex-direction: column; | ||
| } | ||
|
|
||
| .team-members .flexbox li img { | ||
|
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 you did a great job of naming everything! It made it very easy to read your code. |
||
| border-radius: 50%; | ||
| } | ||
|
|
||
| nav ul, footer { | ||
| display: grid; | ||
| grid-template-columns: 10% 10% 20% 20% 10% 10% 10% 10%; | ||
| } | ||
|
|
||
| nav li:first-child { | ||
| grid-column-start: 2; | ||
| } | ||
|
|
||
| nav li:nth-child(2) { | ||
| grid-column-start: 5; | ||
| } | ||
|
|
||
| nav li:last-child { | ||
| grid-column-start: 7; | ||
| } | ||
|
|
||
| footer div:first-child { | ||
| grid-column-start: 2; | ||
| } | ||
| footer div:last-child { | ||
| grid-column-start: 4; | ||
| } | ||
|
|
||
| footer ul { | ||
| padding-left: 0pt; | ||
| } | ||
|
|
||
| li { | ||
| list-style-type: none; | ||
| } | ||
|
|
||
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.
Did you consider using grid for the overall structure?