View Single Post
Old 04-03-2026, 04:16 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 83,015
Karma: 153235221
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Vren View Post
My CSS Style Sheet:

/************************************************** ************
Theme Name: meinstil.css
************************************************** ************/

Code:
/* Grundeinstellung: Schrift, Größe, Rand und Blocksatz */
body {display: block; font-size: 1em;font-family: 'Arial','Verdana','Times New Roman', sans-serif, serif;margin: 3px; text-align: justify;}

 <style type="text/css">
      .sizeem {font-size:1em;}
      .sizesmall {font-size:small;}
      .sizepercentage {font-size:80%;}
    </style>

 /* <p>TEXT</p> / Text normal, mit Einzug*/
p {font-style: normal; text-indent: 1em; margin: 0}

 /* <p class="n">TEXT</p> / Text normal ohne Einzug, linker Rand bündig */
.n {font-style: normal; text-indent: 0em; margin: 0}

/* <p class="ph5-subtitle">TEXT</p> / Text rechtsbündig, klein (font-weight: 500) */
.ph5-subtitle {font-style: normal;font-weight: 500;text-align: right;}

/* Überschriften */
h1 {font-style: normal;font-weight: 900;text-align: center;}
h2 {font-style: normal;font-weight: 800;text-align: center;}

/* CHAT VERSION 2 für links */
/* <p class="chat-message-left">TEXT</p> / Chatnachricht */
p.chat-message-left{
	width: 60%; 			/* Eine Chatbox ist 60% des Displays groß */
	margin: .1em;
	margin-left: 5%; 	/* Links Position bei 5% - Die linke Chatbox von 5% bis 65% des Displays */		
	padding: .4em .6em; 	/* Leichte Box-Anmutung mit etwas abgedunkelten Hintergrund */
	background: #DDD;
	font-size: 15px;
	color: #333;
	border: inset;		/* Rahmen links + oben */
	font-family: Calibri, Helvetica, sans-serif;
}
Code:
/* CHAT VERSION 2 für rechts */
/* <p class="p.chat-message-right">TEXT</p> / Chatnachricht */
p.chat-message-right
{
	width: 60%; 			/* Eine Chatbox ist 60% des Displays groß */
	margin: .1em;		
	padding: .4em .6em; 	/* Leichte Box-Anmutung mit etwas abgedunkelten Hintergrund */
	background: #DDD;
	font-size: 15px;
	color: #333;
	border: outset;		/* Rahmen rechts + unten */
}

/* Rechts Position bei 35% + 60% = Rechter Rand bei 95% (analog dem linken Rand) */
p.chat-message-right
{
	margin-left: 35%;	/* Die rechte Chatbox von 35% bis 95% des Displays */
}

p.chat-message-right{
	font-family: Calibri, Helvetica, sans-serif;
}
I've put code tags around the CSS. So now any spaces at the beginning of any lines should be visible
JSWolf is offline   Reply With Quote