-
Notifications
You must be signed in to change notification settings - Fork 13
Make site mobile responsive #26
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: main
Are you sure you want to change the base?
Changes from all commits
61c0f44
dda45b2
dad29bc
09b532d
494ec51
893130a
38776e1
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 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,7 @@ body { | ||||||||||
| background-image: linear-gradient(#d7cdc0ff, #fdf7f6ff); | |||||||||||
| margin-right: 10%; | |||||||||||
| margin-left: 10%; | |||||||||||
| overflow-wrap: break-word; | |||||||||||
| } | |||||||||||
| .block { | |||||||||||
| background-color: rgb(247, 243, 239); | |||||||||||
|
|
@@ -13,19 +14,36 @@ body { | ||||||||||
| padding-bottom: .1em; | |||||||||||
| border-radius: 2em; | |||||||||||
| } | |||||||||||
| img { | |||||||||||
| max-width: 100%; | |||||||||||
| height: auto; | |||||||||||
| } | |||||||||||
| .banner { | |||||||||||
| text-align: center; | |||||||||||
| font-weight: bold; | |||||||||||
| td img { | |||||||||||
| height: 150px; | |||||||||||
| } | |||||||||||
| } | |||||||||||
| big { | |||||||||||
| font-size: 400%; | |||||||||||
| } | |||||||||||
| small { | |||||||||||
| font-size: 70%; | |||||||||||
| } | |||||||||||
| pre { | |||||||||||
| background-color: rgb(247, 243, 239); | |||||||||||
| border: 1px solid #c5bbb0; | |||||||||||
| border-radius: 0.5em; | |||||||||||
| padding: 1em; | |||||||||||
| overflow-x: auto; | |||||||||||
| } | |||||||||||
| code { | |||||||||||
| background-color: rgb(247, 243, 239); | |||||||||||
| padding: 0.1em 0.3em; | |||||||||||
| border-radius: 0.25em; | |||||||||||
| } | |||||||||||
| pre code { | |||||||||||
| background-color: transparent; | |||||||||||
| padding: 0; | |||||||||||
| } | |||||||||||
|
Comment on lines
+30
to
+45
Member
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 would really like to learn from this. To that end, would you mind extending the commit message quite a bit? I'd like it more in line with https://github.blog/2022-06-30-write-better-commits-build-better-projects/, in particular with a strong focus on this part:
|
|||||||||||
| div.feature-matrix { | |||||||||||
| table { | |||||||||||
| border-collapse: collapse; | |||||||||||
|
|
@@ -60,7 +78,16 @@ div.feature-matrix { | ||||||||||
| vertical-align: center; | |||||||||||
| } | |||||||||||
| } | |||||||||||
| @media screen and (max-width: 450px) { | |||||||||||
| big { | |||||||||||
| font-size: 300%; | |||||||||||
| } | |||||||||||
| } | |||||||||||
| @media screen and (max-width: 767px) { | |||||||||||
| body { | |||||||||||
| margin-right: 3%; | |||||||||||
| margin-left: 3%; | |||||||||||
| } | |||||||||||
| .tg { | |||||||||||
| width: auto !important; | |||||||||||
| } | |||||||||||
|
|
|||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,21 +7,6 @@ | |
| <small>... one iteration at a time... </small> | ||
| {{- end -}} | ||
| <div class="banner"> | ||
| {{- if eq .Kind "home" }} | ||
|
Member
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. |
||
| {{ partial "logo.html" . }} | ||
| {{ partial "subtitle.html" . }} | ||
| {{- else }} | ||
| <table style="width: 100%"> | ||
| <tbody> | ||
| <tr> | ||
| <td> | ||
| {{ partial "logo.html" . }} | ||
| </td> | ||
| <td> | ||
| {{ partial "subtitle.html" . }} | ||
| </td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
| {{- end }} | ||
| </div>{{ if eq .Kind "home" }}<hr />{{ end }} | ||


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.
Is this a fixup for dad29bc that would want to be squashed into that commit instead of living on its own? Also, the commit message does not help me understand the problem, the context, and why the proposed solution is the best way to solve the problem. I would love it to help me, though.