Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

couleurs dwww

1 réponse
Avatar
Alexandre Hoïde
--wndam3szr3rzauma
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Bonjour à tous,

Ci-joint, un fichier css pour changer les couleurs par défaut de dwww¹.
Les couleurs sont empruntées au thème (sombre) Kasugano² (de
Kori Ayakashi). Je ne suis pas graphiste (du tout) et Mr Ayakashi serait sans
doute horrifié par cette adaptation de béotien mais je la trouve quand même
plus agréable que les couleurs par défaut… peut-être que vous aussi. Le
fichier joint est à mettre dans /etc/dwww/.
(Me) Reste à trouver un moyen pour imposer le même jeu de couleurs aux
documents générés par dwww avec info2www.

1. Paquet « dwww » : Read all on-line documentation with a WWW browser.
2. https://terminal.sexy/#Gxsb____PT09ZnO_PqKQsOrZMWWMWWGWgpKyyMrMTU1NiZr_Uq2RmMm7R3qzeIK_lafM7e_y

--
 ___________________
| $ post_tenebras ↲ | waouh!
| GNU        \ /    |    \
|          -- * --  |     o
| $ who ↲    / \    |_-- ~_|
| Alexandre Hoïde   |  _/| |
 -------------------

--wndam3szr3rzauma
Content-Type: text/css; charset=utf-8
Content-Disposition: attachment; filename="dwww-user.css"

/* Overriding some /usr/share/dwww/dwww.css settings.
To be saved as /etc/dwww/dwww-user.css.
Based on Kazugano color scheme by Kori Ayakashi,
as found on https://terminal.sexy/#Gxsb____PT09ZnO_PqKQsOrZMWWMWWGWgpKyyMrMTU1NiZr_Uq2RmMm7R3qzeIK_lafM7e_y

See the section "CUSTOMISING DWWW PAGES LAYOUT" in dwww(7) man page.
*/


body { color: #FFFFFF ; background-color: #1C1C1C }

p,li { margin:0 0 0.5em 0; color:#4D4D4D; }

a {color: #31658C; text-decoration:none; }
a:visited { color:#596196; }
a:active { color:#52AD91; }
a:hover { color:#C8CACC; background-color:#3D3D3D; }

a.nohref { color:#4D4D4D; text-decoration:inherit; background-color:inherit; }

table { border-collapse:collapse; border:0; background:#1E1E1E;
margin:1em auto 1em auto; } /* centers them if < 100% */
th, td { border:#4D4D4D 1px solid; padding:1px 5px 2px 5px; vertical-align:top; }

h1 { font-size:1.7em; color:#3EA290; font-weight:normal; }
h2 { font-size:1.5em; color:#6666AA; font-weight:normal; }
h3 { font-size:1.3em; color:#4D4D4D; font-weight:bold; }
h4 { font-size:1.1em; color:#4D4D4D; font-weight:bold; }
h5 { font-size:1.0em; color:#4D4D4D; font-weight:bold; }

pre,code { background-color:#1B1B1B ;
border-top : 1px solid #899AFF ;
border-left : 1px solid #899AFF ;
border-right : 1px solid #6673BF ;
border-bottom : 1px solid #6673BF ;
}

hr { size:1px; color:#3EA290; margin:0.5em auto; }

div#men p, div#men a { text-align:center;
border-top:1px solid #3EA290; border-bottom:1px solid #3EA290; }
p.foot {
margin:10px auto; border-top:1px solid #3EA290; color:#7882BF;
font-size:12px; font-style:italic; text-align:center; }
.small { margin:0; color:#7882BF; font-size:12px !important; font-style:normal; font-weight:normal; }
.tiny { margin:0; color:#7882BF; font-size:10px !important; font-style:normal; font-weight:normal; }

--wndam3szr3rzauma--

1 réponse

Avatar
Alexandre Hoïde
On Sun, Mar 26, 2017 at 12:39:50AM +0100, Alexandre Hoïde wrote:
Ci-joint, un fichier css pour changer les couleurs par défaut de dwww¹.

PS j'ai oublié de préciser qu'il faut exécuter « # dwww-build » après
ajout/modification du /etc/dwww/dwww-user.css.
--
 ___________________
| $ post_tenebras ↲ | waouh!
| GNU         /    |    
|          -- * --  |     o
| $ who ↲    /     |_-- ~_|
| Alexandre Hoïde   |  _/| |
 -------------------