From 392f3ee21016476fb9794f78882d6c447acb8449 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 27 Nov 2015 00:24:24 -0500 Subject: wiki: finish new --- public/config.codekit | 14 +------------- public/css/gogs.css | 14 ++++++++++++++ public/less/_repository.less | 18 ++++++++++++++++++ 3 files changed, 33 insertions(+), 13 deletions(-) (limited to 'public') diff --git a/public/config.codekit b/public/config.codekit index aaf47017fb..b0e87905d3 100644 --- a/public/config.codekit +++ b/public/config.codekit @@ -1,6 +1,6 @@ { "CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit", -"creatorBuild": "19102", +"creatorBuild": "19076", "files": { "\/css\/dropzone-4.2.0.css": { "fileType": 16, @@ -616,18 +616,10 @@ "active": 0, "flagValue": -1 }, - "no_nested_string_interpolation": { - "active": 1, - "flagValue": -1 - }, "no_plusplus": { "active": 0, "flagValue": -1 }, - "no_private_function_fat_arrows": { - "active": 1, - "flagValue": -1 - }, "no_stand_alone_at": { "active": 1, "flagValue": -1 @@ -636,10 +628,6 @@ "active": 1, "flagValue": -1 }, - "no_this": { - "active": 0, - "flagValue": -1 - }, "no_throwing_strings": { "active": 1, "flagValue": -1 diff --git a/public/css/gogs.css b/public/css/gogs.css index 47f38ab0ec..d34a62d1fe 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2531,6 +2531,20 @@ footer .container .links > *:first-child { .repository.wiki.new .editor-preview { background-color: white; } +.repository.wiki.view .ui.sub.header { + text-transform: none; +} +.repository.wiki.view .markdown { + padding: 15px 30px; +} +.repository.wiki.view .markdown h1:first-of-type, +.repository.wiki.view .markdown h2:first-of-type, +.repository.wiki.view .markdown h3:first-of-type, +.repository.wiki.view .markdown h4:first-of-type, +.repository.wiki.view .markdown h5:first-of-type, +.repository.wiki.view .markdown h6:first-of-type { + margin-top: 0; +} .repository.settings.collaboration .collaborator.list { padding: 0; } diff --git a/public/less/_repository.less b/public/less/_repository.less index 95b7bfd982..486e0b8267 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -970,6 +970,24 @@ background-color: white; } } + + &.view { + .header:not(.sub) { + // padding-left: 30px; + } + .ui.sub.header { + text-transform: none; + } + .markdown { + padding: 15px 30px; + + h1, h2, h3, h4, h5, h6 { + &:first-of-type { + margin-top: 0; + } + } + } + } } &.settings { -- cgit v1.2.3