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

Use bigger logo on the web pages #783

Merged
merged 3 commits into from
Oct 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 7 additions & 7 deletions server/static/bindata_assetfs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions server/static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
.container {
max-width: 1000px; }
.header {
margin-top: 6rem;
margin-top: 2.5vh;
text-align: center; }
img.hero {
height: 20vh;
max-height: 240px;
width: auto;
max-width: 241px
}
.heading-font-size {
font-size: 1.2rem;
color: #999;
Expand Down Expand Up @@ -57,8 +63,6 @@ tbody {

/* Larger than phone */
@media (min-width: 550px) {
.header {
margin-top: 10rem; }
.value-props {
margin-top: 9rem;
margin-bottom: 7rem; }
Expand Down
4 changes: 2 additions & 2 deletions server/web_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var indexTemplate = template.Must(template.New("index.html.tmpl").Parse(`
<body>
<div class="container">
<section class="header">
<a title="atlantis" href="{{ .CleanedBasePath }}/"><img src="{{ .CleanedBasePath }}/static/images/atlantis-icon.png"/></a>
<a title="atlantis" href="{{ .CleanedBasePath }}/"><img class="hero" src="{{ .CleanedBasePath }}/static/images/atlantis-icon_512.png"/></a>
<p class="title-heading">atlantis</p>
<p class="js-discard-success"><strong>Plan discarded and unlocked!</strong></p>
</section>
Expand Down Expand Up @@ -146,7 +146,7 @@ var lockTemplate = template.Must(template.New("lock.html.tmpl").Parse(`
<body>
<div class="container">
<section class="header">
<a title="atlantis" href="{{ .CleanedBasePath }}/"><img src="{{ .CleanedBasePath }}/static/images/atlantis-icon.png"/></a>
<a title="atlantis" href="{{ .CleanedBasePath }}/"><img class="hero" src="{{ .CleanedBasePath }}/static/images/atlantis-icon_512.png"/></a>
<p class="title-heading">atlantis</p>
<p class="title-heading"><strong>{{.LockKey}}</strong> <code>Locked</code></p>
</section>
Expand Down