Skip to content
Open
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
33 changes: 23 additions & 10 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ pre {
background-color: var(--primary-color);
color: #fff;
height: 70px;
position: sticky;
top: 0;
left: 0;
z-index: 105;
}

.navbar ul {
Expand All @@ -74,10 +78,18 @@ pre {
margin: 0 5px;
}

.navbar a:hover {
.navbar a.current {
border-bottom: 2px #fff solid;
}

.navbar a:hover {
border-bottom: 2px var(--secondary-color) solid;
}

.navbar .logo a:hover {
border-bottom: none;
}

.navbar .flex {
justify-content: space-between;
}
Expand Down Expand Up @@ -177,7 +189,7 @@ pre {
grid-template-rows: repeat(2, 1fr);
}

.cli .grid > *:first-child {
.cli .grid>*:first-child {
grid-column: 1 / span 2;
grid-row: 1 / span 2;
}
Expand Down Expand Up @@ -220,19 +232,19 @@ pre {
justify-self: flex-end;
}

.features-main .card > i {
.features-main .card>i {
margin-right: 20px;
}

.features-main .grid {
padding: 30px;
}

.features-main .grid > *:first-child {
.features-main .grid>*:first-child {
grid-column: 1 / span 3;
}

.features-main .grid > *:nth-child(2) {
.features-main .grid>*:nth-child(2) {
grid-column: 1 / span 2;
}

Expand Down Expand Up @@ -305,6 +317,7 @@ pre {

/* Tablets and under */
@media (max-width: 768px) {

.grid,
.showcase .grid,
.stats .grid,
Expand Down Expand Up @@ -332,7 +345,7 @@ pre {
animation: slideInFromBottom 1s ease-in;
}

.cli .grid > *:first-child {
.cli .grid>*:first-child {
grid-column: 1;
grid-row: 1;
}
Expand All @@ -349,8 +362,8 @@ pre {
justify-self: center;
}

.features-main .grid > *:first-child,
.features-main .grid > *:nth-child(2) {
.features-main .grid>*:first-child,
.features-main .grid>*:nth-child(2) {
grid-column: 1;
}
}
Expand All @@ -369,8 +382,8 @@ pre {
padding: 10px;
background-color: rgba(0, 0, 0, 0.1);
}

.showcase-form {
width: 300px;
}
}
}
4 changes: 2 additions & 2 deletions docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<!-- Navbar -->
<div class="navbar">
<div class="container flex">
<h1 class="logo">Loruki.</h1>
<h1 class="logo"><a href="./index.html">Loruki.</a></h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="features.html">Features</a></li>
<li><a href="docs.html">Docs</a></li>
<li><a href="docs.html" class="current">Docs</a></li>
</ul>
</nav>
</div>
Expand Down
4 changes: 2 additions & 2 deletions features.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<!-- Navbar -->
<div class="navbar">
<div class="container flex">
<h1 class="logo">Loruki.</h1>
<h1 class="logo"><a href="./index.html">Loruki.</a></h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="features.html">Features</a></li>
<li><a href="features.html" class="current">Features</a></li>
<li><a href="docs.html">Docs</a></li>
</ul>
</nav>
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Cloud hosting for Everyone"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
<link rel="stylesheet" href="css/utilities.css">
<link rel="stylesheet" href="css/style.css">
Expand All @@ -12,10 +13,10 @@
<!-- Navbar -->
<div class="navbar">
<div class="container flex">
<h1 class="logo">Loruki.</h1>
<h1 class="logo"><a href="./index.html">Loruki.</a></h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="index.html" class="current">Home</a></li>
<li><a href="features.html">Features</a></li>
<li><a href="docs.html">Docs</a></li>
</ul>
Expand Down