emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Worg] CSS improvements
@ 2024-03-23 14:35 Adam Porter
  2024-03-23 14:49 ` Ihor Radchenko
  0 siblings, 1 reply; 23+ messages in thread
From: Adam Porter @ 2024-03-23 14:35 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

Hi Bastien, et al,

Please see the attached patch which makes some minor improvements to 
Worg's CSS.  I thought I should get your approval before pushing it.

Thanks,
Adam

[-- Attachment #2: 0001-style-worg.css-Minor-improvements.patch --]
[-- Type: text/x-patch, Size: 1642 bytes --]

From ab068940b5e63189dae3eddae84aaa2b03d6b6ef Mon Sep 17 00:00:00 2001
From: Adam Porter <adam@alphapapa.net>
Date: Sat, 23 Mar 2024 09:31:18 -0500
Subject: [PATCH] * style/worg.css: Minor improvements

(@media all body .title): Specify font size in ems.

(@media all h1): Slightly reduce bottom margin so as not to leave a
large space between the title and subtitle.

(@media all .subtitle): Actually style this (apparently few pages use
subtitles yet).

(@media all .org-center): Actually style this so that "#+begin_center"
blocks are centered and fit with the rest of the theme, allowing these
blocks to be used to make certain text stand out.
---
 style/worg.css | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/style/worg.css b/style/worg.css
index 30cadb1b..a675ac5b 100644
--- a/style/worg.css
+++ b/style/worg.css
@@ -61,7 +61,7 @@
     
     body .title {
 	margin-left: 0px;
-	font-size: 22pt;
+	font-size: 2.5em;
     }
 
     #org-div-home-and-up{
@@ -120,7 +120,7 @@
     }
 
     h1 {
-	margin-bottom: 1.5em;
+	margin-bottom: 1em;
 	margin-right: 7%;
     }
 
@@ -315,6 +315,10 @@
 	/* font-lock-string-face */
 	color: #ccc79a;
     }
+    .subtitle {
+	font-size: 1.5em;
+	font-style: italic;
+    }
     .todo-comment {
 	/* todo-comment-face */
 	color: #ffffff;
@@ -422,6 +426,14 @@
 	/* calendar-today */
 	text-decoration: underline;
     }
+    .org-center {
+	text-align: center;
+	margin-top: 1em;
+	margin-bottom: 1em;
+	background: #587e7226;
+	padding-top: 0.2em;
+	padding-bottom: 0.2em;
+    }
     .org-comment {
 	/* font-lock-comment-face */
 	color: #b22222;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-05-12 13:43 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-23 14:35 [Worg] CSS improvements Adam Porter
2024-03-23 14:49 ` Ihor Radchenko
2024-03-24  6:14   ` Adam Porter
2024-03-24  8:56     ` Ihor Radchenko
2024-03-24  9:28       ` Dr. Arne Babenhauserheide
2024-03-25 14:09       ` Adam Porter
2024-03-26 14:48         ` Ihor Radchenko
2024-03-27  3:20           ` Adam Porter
2024-03-28 11:44             ` Ihor Radchenko
2024-03-28 12:41               ` Adam Porter
2024-03-28 13:18                 ` Ihor Radchenko
2024-03-28 17:53                   ` Adam Porter
2024-03-29  9:48                     ` Ihor Radchenko
2024-03-29 22:38                       ` How to organize tasks about Worg within Worg documents (was: Re: [Worg] CSS improvements) Adam Porter
2024-03-29 23:30                         ` Thomas S. Dye
2024-03-30  2:27                           ` How to organize tasks about Worg within Worg documents Adam Porter
2024-03-30 10:47                         ` How to organize tasks about Worg within Worg documents (was: Re: [Worg] CSS improvements) Ihor Radchenko
2024-03-31 15:43                           ` How to organize tasks about Worg within Worg documents Adam Porter
2024-04-01 11:34                             ` Ihor Radchenko
2024-04-01 18:02                               ` Adam Porter
2024-05-12 12:18                                 ` Ihor Radchenko
2024-05-12 13:42                                   ` Adam Porter
2024-03-26 22:12         ` [Worg] CSS improvements David Rogers

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).