Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit d9d7aaa

Browse files
author
dpatanin
committed
scaling and text formatting scanner docs
1 parent ccf1350 commit d9d7aaa

3 files changed

Lines changed: 25 additions & 7 deletions

File tree

src/scss/components/_sidebar.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ span {
6464
@include media-breakpoint-down(sm) {
6565
display: none;
6666
}
67-
min-width: 100px;
68-
max-width: 250px;
67+
width: 8vw;
6968
background: $secureCodeBlue;
7069
height: 100vh;
7170
align-self: flex-start;

src/scss/pages/scanners/_scanner.scss

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,42 @@
11
.scanner {
22
display: flex;
33
#content {
4-
width: 80vw;
4+
width: 90vw;
5+
#scanner-doc{
6+
width: 55vw;
7+
}
58
h1 {
9+
font-family: $font-family-heading;
10+
font-size: 2.2rem;
11+
font-weight: bold;
612
color: $black;
13+
margin-top: 5px;
14+
margin-bottom: 10px;
715
}
816
h2 {
17+
font-family: $font-family-heading;
18+
font-size: 1.6rem;
919
color: $black;
20+
margin-bottom: 10px;
1021
}
1122
h3 {
23+
font-family: $font-family-heading;
24+
font-size: 1.1rem;
1225
color: $black;
26+
margin-bottom: 5px;
1327
}
1428
p {
29+
font-family: $font-family-base;
30+
color: $secondary;
31+
margin-bottom: 15px;
32+
}
33+
pre {
1534
color: $secondary;
35+
margin-bottom: 15px;
1636
}
1737
img {
18-
max-height: 10vw;
19-
max-width: 80vw;
20-
38+
max-height: 10vw;
39+
max-width: 80vw;
2140
}
2241
a {
2342
img {

src/templates/scanner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Scanner = ({ data }) => {
2626
</nav>
2727

2828
<div id="content">
29-
<div class="container-fluid">
29+
<div class="container-fluid" id="scanner-doc">
3030
<h1 className="title">{title}</h1>
3131
<div
3232
className="content"

0 commit comments

Comments
 (0)