From f3d8a4d3707e6b5167a1dc6ecef28d9f20b404c3 Mon Sep 17 00:00:00 2001 From: Bady <bady@disroot.org> Date: Mon, 21 Dec 2020 02:00:49 +0530 Subject: [PATCH] Move projects page styling to css file --- css/style.css | 16 ++++++++++++++++ index.xml | 5 +++-- projects/index.html | 7 ++----- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/css/style.css b/css/style.css index 117702c..066d75b 100644 --- a/css/style.css +++ b/css/style.css @@ -463,6 +463,22 @@ img{ #coc ul{ padding-left: 40px; } +#projects ol { + padding-left: 20px; +} +#projects ol > li { + padding: 0; +} +#projects ol > li > p { + padding: 0; + margin: 15px 0 10px; + font-weight: bold; +} +#projects ol > li > ul > li { + margin-top: 5px; + margin-left: -15px; + list-style-type: disc; +} footer{ min-width: 40vh; background-color: #55AEE1; diff --git a/index.xml b/index.xml index 090e209..bb5b27b 100644 --- a/index.xml +++ b/index.xml @@ -12,9 +12,10 @@ <pubDate>Sun, 20 Dec 2020 22:48:59 +0530</pubDate> <guid>https://camp.fsf.org.in/projects/</guid> - <description>ol li { padding: 0; } ol li p { padding: 0; margin: 15px 0 10px; font-weight: bold; } ol li ul li { margin-top: 5px; margin-left: -15px; list-style-type: disc; } Data Modeling using Wikidata.org + <description>Data Modeling using Wikidata.org Learners: Arun S Sharma, Ayesha Gohar, Shubham Upreti Mentor: Ranjith S Debian Packaging - Learners: Arun Mathai S. K, Harish Chavre, Manav Sethi, Rojin Roy, Sahil Dhiman, Yogesh K S Mentor: Sruthi Chandran Go Dependency Generator</description> + Learners: Arun Mathai S. K, Harish Chavre, Manav Sethi, Rojin Roy, Sahil Dhiman, Yogesh K S Mentor: Sruthi Chandran Go Dependency Generator + Leaner: Vipul Kumar Mentor: Nilesh Patra, Pirate Praveen Hugo (Static Site Generator) for Privacy Yathra and Varnam Project Websites</description> </item> <item> diff --git a/projects/index.html b/projects/index.html index 6caba7c..2d245d3 100644 --- a/projects/index.html +++ b/projects/index.html @@ -55,11 +55,7 @@ <main> <section class="page"> <h1 style="text-align: center;">Selected Projects</h1> - <style> - ol > li { padding: 0; } - ol > li > p { padding: 0; margin: 15px 0 10px; font-weight: bold; } - ol > li > ul > li { margin-top: 5px; margin-left: -15px; list-style-type: disc; } -</style> + <div id="projects"> <ol> <li> <p><a href="https://git.fosscommunity.in/fsfi/camp/-/wikis/ideas-list#data-modeling-using-wikidataorg-ranjith-s">Data Modeling using Wikidata.org</a></p> @@ -130,6 +126,7 @@ </ul> </li> </ol> +</div> </section> -- GitLab