From 4b6d1577cca3b039f55fcc32000012a0cd6b16f7 Mon Sep 17 00:00:00 2001 From: Henning Wiemann Date: Mon, 17 Feb 2025 11:58:02 +0100 Subject: [PATCH 1/2] A CSS style that makes markdown files look similar to traditional 3GPP specs. --- specification/utils/css/specification.css | 100 ++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 specification/utils/css/specification.css diff --git a/specification/utils/css/specification.css b/specification/utils/css/specification.css new file mode 100644 index 0000000..76f4c8a --- /dev/null +++ b/specification/utils/css/specification.css @@ -0,0 +1,100 @@ +body { + background-color: #fff; + color: #082441; + font-family: 'Times New Roman', Times, serif; + font-size: 16px; + font-weight: 400; + line-height: 1.4em; + max-width: 750px; + text-align: justify; + margin-top: 0.5em + } + + h1, h2, h3, h4, h5, h6 { + font-family: Arial, Helvetica, sans-serif; + margin-top: 1.0em; + margin-bottom: 6pt; + } + + h1 { + font-size: 38px; + font-weight: 700; + } + + h2 { + font-size: 32px; + font-weight: 700; + } + + h3 { + font-size: 24px; + font-weight: 700; + } + + h4 { + font-size: 22px; + font-weight: 600; + } + + h5, h6 { + font-size: 18px; + font-weight: 600; + } + + + li { + margin-top: 0.6em; + margin-left: 0.5rem; + padding-left: 0.5em; + } + + li:before { + content: none; + position: relative; + + } + + ul { + list-style: none; + margin-left: 0.0rem; + padding-left: 1.0rem; + } + + ul { list-style: "1> "; } + ul ul { list-style: "2> "; } + ul ul ul { list-style: "3> "; } + ul ul ul ul { list-style: "4> "; } + ul ul ul ul ul { list-style: "5> "; } + + a { + color: #000000; + text-decoration: underline; + font-style: italic + } + + a:link { + text-decoration: underline + } + + a:hover { + color: #225170; + } + + strong { + font-weight: bold; + } + + img { + width: 90%; + display: block; + margin-left: auto; + margin-right: auto;; + } + + table :is(td, th) { + border: 1pt solid black; + padding: 0.3em; + } + + tr:nth-child(even) {background: #FFF} + tr:nth-child(odd) {background: #FFF} \ No newline at end of file -- GitLab From c6a239af3cb8cd6db1151c910e933ca92285b775 Mon Sep 17 00:00:00 2001 From: Henning Wiemann Date: Mon, 17 Feb 2025 11:58:41 +0100 Subject: [PATCH 2/2] Some basic settings for vscode such as loading the css file for markdown. --- .vscode/settings.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c883109 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "cSpell.words": [ + "DAPS", + "PDCP", + "RACH", + "RNTI" + ], + "markdown.styles": [ + "specification\\\\utils\\\\css\\\\specification.css" + ], + "markdownlint.config": { + "MD029": false, // Accept numbered list bullets with explicit numbering + "MD041": false // Accept files that do not start with Heading level 1 + }, +} \ No newline at end of file -- GitLab