From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: [Worg] CSS improvements
Date: Sat, 23 Mar 2024 09:35:53 -0500 [thread overview]
Message-ID: <57934e1d-37eb-4b75-b8ed-6666dcc3848e@alphapapa.net> (raw)
[-- 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
next reply other threads:[~2024-03-23 14:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-23 14:35 Adam Porter [this message]
2024-03-23 14:49 ` [Worg] CSS improvements 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57934e1d-37eb-4b75-b8ed-6666dcc3848e@alphapapa.net \
--to=adam@alphapapa.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).