From 13a65a58827a38f007966a61f688b9161a2e10ea Mon Sep 17 00:00:00 2001 From: mrmrs Date: Fri, 4 Dec 2015 12:35:18 +0800 Subject: [PATCH] Add consistent formatting in swift.css This changes all classes to be formatted in the same way. * Each property is on it's own line * Each declaration is on it's own line * Single linebreak in between rulesets --- docs/Arrays.rst | 28 ++++++++++++++-------------- docs/MutationModel.rst | 15 ++++++++------- docs/StringDesign.rst | 36 +++++++++++++++++++++++++++--------- 3 files changed, 49 insertions(+), 30 deletions(-) diff --git a/docs/Arrays.rst b/docs/Arrays.rst index 2204209a354af..7e3277168a04e 100644 --- a/docs/Arrays.rst +++ b/docs/Arrays.rst @@ -8,21 +8,21 @@ The Swift Array Design .. raw:: html - + div.content ul > li { + background: none; + padding: 0 0 0 0.5em; + list-style-image: none; + list-style-type: disc; + } + a:link { + color: #AB6023; + font-weight: normal + } + Goals ----- diff --git a/docs/MutationModel.rst b/docs/MutationModel.rst index ddc8a4aaf9f78..105661c2192d8 100644 --- a/docs/MutationModel.rst +++ b/docs/MutationModel.rst @@ -2,13 +2,14 @@ .. raw:: html - - - + + + ================================== Immutability and Read-Only Methods ================================== diff --git a/docs/StringDesign.rst b/docs/StringDesign.rst index ea2e9cb09d4f3..60db43af3e94f 100644 --- a/docs/StringDesign.rst +++ b/docs/StringDesign.rst @@ -6,25 +6,41 @@