Skip to content

Commit e8c7476

Browse files
naman79820manash213cyber
authored andcommitted
Improve readability of text above Figure 4.18 in Chapter 4 docs
1 parent 3abb82f commit e8c7476

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

docs/chapter4/8misc.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ Table 4.20: CTR port input opcodes for different functionalities of ALU
138138

139139
The **Adder** circuit element is a logical circuit of a full adder that performs an addition operation on binary numbers and produces a sum of the three inputs and a carry value (Cout). Figure 4.18 displays the different pins available for the **Adder **circuit element within CircuitVerse and Table 4.21 shares a brief description of the same.
140140

141-
> Properties that can be customized in the **PROPERTIES** panel include: **Direction**
141+
:::note
142+
Properties that can be customized in the **PROPERTIES** panel include: **Direction**
143+
:::
144+
142145

143146
![drawing](/img/img_chapter4/4.18.png)
144147

docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const config = {
3535
customCss: [
3636
require.resolve('./src/css/theme.css'),
3737
require.resolve('./src/css/darkTheme.css'),
38+
require.resolve('./src/css/custom.css'),
3839
],
3940
},
4041
},

src/css/custom.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* === Custom global styles for CircuitVerse Docs === */
2+
@media (max-width: 650px) {
3+
iframe {
4+
width: 100%;
5+
height: auto;
6+
aspect-ratio: 4 / 3;
7+
}
8+
}

0 commit comments

Comments
 (0)