Skip to content

Commit

Permalink
Merge pull request #884 from weaveworks/881-improvements-to-website
Browse files Browse the repository at this point in the history
Improvements to website
  • Loading branch information
errordeveloper authored Jun 17, 2019
2 parents 5ba8444 + 3dd8ad2 commit ac4e946
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
39 changes: 37 additions & 2 deletions site/assets/_custom.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,43 @@
img[src$="#floatright"] {
float: right;
img[src$="#bgright"] {
position: absolute;
right: 0px;
top: 160px;
z-index: -1;
}

#code {
text-align: center;
line-height: 200px;
}

@media (max-width: 770px) {
img[src$="#bgright"] {
position: absolute;
right: 0px;
top: 220px;
z-index: -1;
}
}

@media (max-width: 420px) {
img[src$="#bgright"] {
position: absolute;
right: 0px;
top: 280px;
z-index: -1;
}
}

@media (max-width: 320px) {
img[src$="#bgright"] {
position: absolute;
right: 0px;
top: 340px;
z-index: -1;
}
#code {
text-align: center;
font-size: 20px;
line-height: 200px;
}
}
2 changes: 1 addition & 1 deletion site/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type: docs

`eksctl` is a simple CLI tool for creating clusters on EKS - Amazon's new managed Kubernetes service for EC2. It is written in Go, uses CloudFormation, and is maintained by [Weaveworks](https://www.weave.works/). Create a basic cluster in minutes with just one command :

![eksctl gopher](introduction/images/eksctl-gopher.png#floatright)
![eksctl gopher](introduction/images/eksctl-gopher.png#bgright)

<h2 id="code">**`eksctl create cluster`**</h2>

Expand Down

0 comments on commit ac4e946

Please sign in to comment.