Skip to content
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

[Website] Fixed footer items alignment #5019

Merged
merged 2 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{{ block "main" . }}{{ end }}
<footer class="bg-dark text-light">
<div class="container text-center text-md-left">
<div class="row py-5">
<div class="row py-5 footer-container">
<div class="col-12 col-md-6 col-lg mb-3 mb-lg-0">
<img src="{{ "icon-dark.png" | relURL }}" alt="Thanos" width="45%">
</div>
Expand All @@ -87,7 +87,7 @@ <h6 class="font-weight-bold">Community</h6>
<li><a href="https://twitter.com/{{ .Site.Params.TwitterHandle }}" class="text-reset"><i class="fab fa-fw fa-twitter"></i> Twitter</a></li>
</ul>
</div>
<div class="col col-md-6 col-lg">
<div class="col col-md-6 col-lg about-section">
<h6 class="font-weight-bold">About</h6>
<p>Thanos is an OSS licensed project as Apache License 2.0</p>
<p>Founded by <a href="https://improbable.io" class="text-reset">Improbable ❤️</a></p>
Expand Down
10 changes: 9 additions & 1 deletion website/static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,17 @@ input[type="search"]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
}
}

@media (max-width: 768px) {
@media (max-width: 767px) {
.hero-logo-container {
flex-grow: 1;
max-width: 100%;
}
.footer-container {
squat marked this conversation as resolved.
Show resolved Hide resolved
flex-direction: column;
}

.about-section {
padding-top: 20px;
padding-bottom: 15px;
}
}