summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-12-26 19:29:35 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-12-26 19:29:35 +0400
commitb823fc09e42fb03d84f69a282cf732f118117901 (patch)
tree7ea96bd65aad5ad5dfbe849dbc299678a4329e39
parentf3f119d3ee680a95c63a0f2822a1c98b1d35b597 (diff)
text div added with 1em margin, margins of p, a, li and headers removed
-rw-r--r--build-page2
-rw-r--r--style.css15
2 files changed, 8 insertions, 9 deletions
diff --git a/build-page b/build-page
index a6692c4..805c78c 100644
--- a/build-page
+++ b/build-page
@@ -33,7 +33,9 @@ cat << EOF
<a class="menu_item" href="/wiki/wiki.html">Wiki/</a>
<a class="menu_item right_menu_item" href="https://git.farajli.net">Git</a>
</div>
+<div class="text">
$(sed '1 s/<!--.*-->//' "${filename}" | smu)
+</div>
<p id="copyleft"><br>copyleft (c) 2024 Suleyman Farajli</p>
</body>
diff --git a/style.css b/style.css
index dfab6f2..afa7a71 100644
--- a/style.css
+++ b/style.css
@@ -10,16 +10,8 @@ body {
color: #ffffff; /* White */
}
-h1, h2, h3 {
- margin-right: 0.2em;
- margin-left: 0.2em;
- padding: 0.3em;
-}
-
-p, a, li {
+p {
font-size: 1.3em;
- margin-right: 1em;
- margin-left: 1em;
}
a {
@@ -40,6 +32,11 @@ table {
padding-left: 1em;
}
+.text{
+ margin-right: 1em;
+ margin-left: 1em;
+}
+
.menu_item {
color: #BB6767; /* Red */
font-weight: bold;