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

Designed and Added Rapidoc logo to the Header #39 #161

Merged
merged 1 commit into from
May 16, 2024
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
Binary file added images/rd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@


<header id="header" class="fixed-top">
<div class="container d-flex align-items-center">

<div class="container-head d-flex">
<div class="img">
<img id="rd-logo" style="width: 90px; height: auto;" src="images/rd.png">
</div>
<div class="text">
<h1 class="logo me-auto"><a href="index.html">RapiDoc</a></h1>

</div>
</div>
<nav id="navbar" class="navbar order-last order-lg-0">
<ul>
<li><a class="nav-link scrollto active" href="#home"><i class="fa-solid fa-house"></i> Home</a></li>
Expand Down
17 changes: 17 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,23 @@ h1, h2, h3, h4, h5, h6 {
box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

.container-head{
display: grid;
align-items: center;
grid-template-columns: 1fr 2fr 13fr 3fr;
margin-top: 0px;
}

.container-head > div{
text-align: center;
font-size: 15px;
}

img{
max-width: 130%;
max-height: 130%;
}

#header.header-scrolled {
top: 0;
}
Expand Down