Skip to content

Commit 1826fc5

Browse files
committed
feat: created style for bullet points, and added sidebars to all pages.
1 parent 323d70c commit 1826fc5

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

content/about/_index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: "About Pascal"
33
description: "Learn about Pascal's philosophy, history, and the various implementations available today"
4+
layout: 'single-with-sidebar'
45
---
56

6-
# About Pascal
7-
87
Pascal is a programming language that embodies the principles of clarity, reliability, and educational excellence. Created by Niklaus Wirth in 1970, Pascal was designed to encourage good programming practices and make programming concepts accessible to learners while remaining powerful enough for professional software development.
98

109
## The Philosophy of Pascal

content/community/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title = 'Community'
33
date = 2024-05-30T18:56:05+03:00
44
draft = false
5+
layout = 'single-with-sidebar'
56
+++
67

7-
# Pascal Community
88

99
Join the vibrant Pascal programming community! Connect with developers, share knowledge, and contribute to the Pascal ecosystem.
1010

content/docs/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title = 'Documentation'
33
date = 2024-05-30T18:56:05+03:00
44
draft = false
5+
layout = 'single-with-sidebar'
56
+++
67

7-
# Pascal Documentation
88

99
Comprehensive guides and references for Pascal programming.
1010

static/css/main.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,39 @@ pre code {
467467
padding: 0;
468468
}
469469

470+
/* Lists in main content */
471+
.article-content ul,
472+
.main-content ul {
473+
list-style-type: disc;
474+
margin: var(--spacing-md) 0;
475+
padding-left: var(--spacing-xl);
476+
}
477+
478+
.article-content ol,
479+
.main-content ol {
480+
list-style-type: decimal;
481+
margin: var(--spacing-md) 0;
482+
padding-left: var(--spacing-xl);
483+
}
484+
485+
.article-content li,
486+
.main-content li {
487+
margin: var(--spacing-xs) 0;
488+
line-height: 1.6;
489+
}
490+
491+
.article-content ul ul,
492+
.main-content ul ul {
493+
margin: var(--spacing-xs) 0;
494+
padding-left: var(--spacing-lg);
495+
}
496+
497+
.article-content ol ol,
498+
.main-content ol ol {
499+
margin: var(--spacing-xs) 0;
500+
padding-left: var(--spacing-lg);
501+
}
502+
470503
/* Footer */
471504
.site-footer {
472505
background-color: var(--bg-secondary);

0 commit comments

Comments
 (0)