Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Fixed sidebar
Browse files Browse the repository at this point in the history
Changed padding in .code-snippet
  • Loading branch information
vasll committed Apr 7, 2023
1 parent f976e29 commit 60b9816
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
1 change: 1 addition & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ html {

.code-snippet{
margin: 4px;
padding-left: 4px;
font-family: 'Courier New', Courier, monospace;
background: #00ffb386;
}
Expand Down
11 changes: 5 additions & 6 deletions setting-up-ec2.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="stylesheet" href="css/styles.css">
<title>1. EC2 configuration</title>
<link rel="stylesheet" href="css/sidebar-buttons.css">
<link rel="stylesheet" href="css/sidebars.css">
</head>

Expand Down Expand Up @@ -34,8 +33,8 @@
</button>
<div class="collapse show" id="aws-collapse">
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small">
<li><a href="#section-1.1" class="link-light rounded">1.1 Creating the instance</a></li>
<li><a href="#section-1.2" class="link-light rounded">1.2 Running & connecting via SSH</a></li>
<li><a href="setting-up-ec2.html#section-1.1" class="link-light rounded">1.1 Creating the instance</a></li>
<li><a href="setting-up-ec2.html#section-1.2" class="link-light rounded">1.2 Connecting via SSH</a></li>
</ul>
</div>
</li>
Expand All @@ -45,9 +44,9 @@
</button>
<div class="collapse show" id="docker-collapse">
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small">
<li><a href="#" class="link-light rounded">2.1 System configuration</a></li>
<li><a href="#" class="link-light rounded">2.2 Creating the SSL certificate</a></li>
<li><a href="#" class="link-light rounded">2.3 Creating the docker containers</a></li>
<li><a href="setting-up-lamp.html#section-2.1" class="link-light rounded">2.1 System configuration</a></li>
<li><a href="setting-up-lamp.html#section-2.2" class="link-light rounded">2.2 Creating the SSL certificate</a></li>
<li><a href="setting-up-lamp.html#section-2.3" class="link-light rounded">2.3 Creating the docker containers</a></li>
</ul>
</div>
</li>
Expand Down
21 changes: 13 additions & 8 deletions setting-up-lamp.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<title>2. LAMP configuration</title>
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/sidebar-buttons.css">
<link rel="stylesheet" href="css/sidebars.css">
</head>

Expand Down Expand Up @@ -34,8 +33,8 @@
</button>
<div class="collapse show" id="aws-collapse">
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small">
<li><a href="#section-1.1" class="link-light rounded">1.1 Creating the instance</a></li>
<li><a href="#section-1.2" class="link-light rounded">1.2 Running & connecting via SSH</a></li>
<li><a href="setting-up-ec2.html#section-1.1" class="link-light rounded">1.1 Creating the instance</a></li>
<li><a href="setting-up-ec2.html#section-1.2" class="link-light rounded">1.2 Connecting via SSH</a></li>
</ul>
</div>
</li>
Expand All @@ -45,9 +44,9 @@
</button>
<div class="collapse show" id="docker-collapse">
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small">
<li><a href="#" class="link-light rounded">2.1 System configuration</a></li>
<li><a href="#" class="link-light rounded">2.2 Creating the SSL certificate</a></li>
<li><a href="#" class="link-light rounded">2.3 Creating the docker containers</a></li>
<li><a href="setting-up-lamp.html#section-2.1" class="link-light rounded">2.1 System configuration</a></li>
<li><a href="setting-up-lamp.html#section-2.2" class="link-light rounded">2.2 Creating the SSL certificate</a></li>
<li><a href="setting-up-lamp.html#section-2.3" class="link-light rounded">2.3 Creating the docker containers</a></li>
</ul>
</div>
</li>
Expand All @@ -59,13 +58,19 @@
<!-- PAGE CONTENT -->
<div class="page-content overflow-auto flex-fill text-light m-2">
<h2>2. Setting up LAMP</h2><hr>
<h4 id="section-1.1">2.1 System configuration</h4>

<h4 id="section-2.1">2.1 System configuration</h4>
<p class="p-0 m-0 mb-1 mt-2">The first thing that should be always done when configuring a fresh linux install is to update
the repository list with <code>apt update</code> and then install the new packages with <code>apt upgrade</code>, so go ahead and insert these commands
in your terminal. With it, we're also going to install docker.io
</p>
<div class="code-snippet">
<p>sudo apt update</p>
<p>sudo apt upgrade</p>
<p>sudo apt install docker.io</p>
</div>

<hr><h4 id="section-2.2">2.2 Creating the SSL certificate</h4>

</div>
</div>

Expand Down

0 comments on commit 60b9816

Please sign in to comment.