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

fix: home cloudnative logo overflow #81

Merged
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
5 changes: 5 additions & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ Add styles or override variables from the theme here.
border-width: 0;
padding: 0.5em;
}

.home-cloudnative-logo {
width: 100%;
max-width: 600px;
}
2 changes: 1 addition & 1 deletion content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ <h1> Support complex search </h1>
{{< blocks/lead color="300" >}}
<b>Clusterpedia is a <a href="https://www.cncf.io">Cloud Native Computing Foundation</a> sandbox project</b> <br />
<br />
<img src="https://landscape.cncf.io/images/right-logo.svg" width="600"/>
<img src="https://landscape.cncf.io/images/right-logo.svg" class="home-cloudnative-logo"/>
{{% /blocks/lead %}}
2 changes: 1 addition & 1 deletion content/zh/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ <h1> 强大的检索条件支持 </h1>
{{< blocks/lead color="300" >}}
<b>Clusterpedia is a <a href="https://www.cncf.io">Cloud Native Computing Foundation</a> sandbox project</b> <br />
<br />
<img src="https://landscape.cncf.io/images/right-logo.svg" width="600"/>
<img src="https://landscape.cncf.io/images/right-logo.svg" class="home-cloudnative-logo" />
{{% /blocks/lead %}}
Loading