From 2f49e2f35e3f1c5672a2c588b21ec5a8f40a3cfe Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Wed, 5 Feb 2020 08:57:51 +0100
Subject: [PATCH] make space between header and paragraph 0

---
 src/gui/css/mainStyleSheet.css      | 10 ++++++++
 src/uncategorized/manageArcology.tw | 36 ++++++++++++++---------------
 2 files changed, 27 insertions(+), 19 deletions(-)

diff --git a/src/gui/css/mainStyleSheet.css b/src/gui/css/mainStyleSheet.css
index 43ac0d040c9..61abe69b42b 100644
--- a/src/gui/css/mainStyleSheet.css
+++ b/src/gui/css/mainStyleSheet.css
@@ -346,3 +346,13 @@ div.cheat-menu {
 	position: absolute;
 	right: 50px;
 }
+
+h1 + p {
+	margin-top: 0;
+}
+h2 + p {
+	margin-top: 0;
+}
+h3 + p {
+	margin-top: 0;
+}
\ No newline at end of file
diff --git a/src/uncategorized/manageArcology.tw b/src/uncategorized/manageArcology.tw
index 3182988ee98..9d2222058b2 100644
--- a/src/uncategorized/manageArcology.tw
+++ b/src/uncategorized/manageArcology.tw
@@ -12,9 +12,9 @@
 	<<include "Arcology Description">>
 </div>
 
-<p>
-	<h2>Arcology Ownership</h2>
+<h2>Arcology Ownership</h2>
 
+<p>
 	<div>
 		<<UpdateOwnership>>
 		<<= ownershipReport({sidebar: false})>>
@@ -29,9 +29,9 @@
 	<</if>>
 <</if>>
 
-<p>
-	<h2>Construction</h2>
+<h2>Construction</h2>
 
+<p>
 	<div>
 	<<if $arcologyUpgrade.drones != 1>>
 		<span class="note">
@@ -145,9 +145,9 @@
 <</if>>
 
 <<if $secExpEnabled == 1>>
-	<p>
-		<h2>Security</h2>
+	<h2>Security</h2>
 
+	<p>
 		<div>
 		<<if $SecExp.buildings.propHub.active == 0>>
 			[[Set up the propaganda Hub|Manage Arcology][cashX(forceNeg(Math.trunc((5000*$upgradeMultiplierArcology*$HackingSkillMultiplier))), "capEx"), $SecExp.buildings.propHub.active = 1, $PC.skill.engineering += 1, $PC.skill.hacking += 1, App.SecExp.Check.general()]]
@@ -199,9 +199,9 @@
 <</if>>
 
 <<if $difficultySwitch == 1>>
-	<p>
-		<h2>Disaster Response</h2>
+	<h2>Disaster Response</h2>
 
+	<p>
 		<<if $econWeatherDamage > 0>>
 			The recent terrible weather has damaged the local infrastructure. It is <span class="warning">reducing the local economy score by <<print $econWeatherDamage>>.</span>
 			<div>
@@ -226,15 +226,15 @@
 <</if>>
 
 <<if $foodMarket > 0>>
+	<h2>Food Management</h2>
 	<p>
-		<h2>Food Management</h2>
 		<<include "Food Market">>
 	</p>
 <</if>>
 
-<p>
-	<h2>Sexual Service Policies</h2>
+<h2>Sexual Service Policies</h2>
 
+<p>
 	<div>
 		If so desired, your assistant can help you manipulate the business environment within your arcology.
 	</div>
@@ -357,9 +357,9 @@
 	</div>
 </p>
 
-<p>
-	<h2>Population and Rent</h2>
+<h2>Population and Rent</h2>
 
+<p>
 	<<print $arcologies[0].name>> is home to the following;
 	<<set _percACitizens = Math.trunc(($ACitizens / ($ACitizens + $ASlaves)) * 1000) / 10,
 	_percASlaves = Math.trunc(($ASlaves / ($ACitizens + $ASlaves)) * 1000) / 10,
@@ -432,17 +432,16 @@
 	</div>
 </p>
 
-<p>
-	<h2>Language</h2>
+<h2>Language</h2>
 
+<p>
 	The lingua franca of the arcology is <strong>$language</strong>.
 	<<link "Language options">><<set $seed = $language>><<goto "Change Language">><</link>>
 </p>
 
-<p>
-	<h2>Special Arcology Upgrades</h2>
-	<div  class="indent">
+<h2>Special Arcology Upgrades</h2>
 
+<p class="indent">
 	<<if ($personalArms == 0) && ($mercenaries == 0) && ($assistant == 0)>>
 		<span class="note">$arcologies[0].name has no special upgrades.</span>
 	<</if>>
@@ -470,7 +469,6 @@
 			_HeA also has charge of all smart piercings in the arcology, and is using _hisA adaptations to sexual duties to improve their effectiveness.
 		<</if>>
 	<</if>>
-	</div>
 </p>
 
 <p>
-- 
GitLab