/[suikacvs]/webroot/swe/styles/sw-classes.css
Suika

Contents of /webroot/swe/styles/sw-classes.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Fri Nov 14 07:42:59 2008 UTC (16 years ago) by wakaba
Branch: MAIN
File MIME type: text/css
++ swe/styles/ChangeLog	14 Nov 2008 07:42:29 -0000
2008-11-14  Wakaba  <wakaba@suika.fam.cx>

	* sw-classes.css: New style sheet.

	* sw.css: a:hover did not work because of specificity.  Typo
	fixed.  Use dashed underline for wiki-internal links so that a
	paragraph with a lot of links looks less ugly.  Set margin between
	adjucent links.  sw:insert and sw:delete elements that are
	children of the article element should be rendered as blocks.
	Underlines replaced by borders to avoid ugly styling when an
	underlined element is contained within a bordered element.  Set
	border to form elements.

1 wakaba 1.1 /* Character arts (AA) */
2    
3     /* span.aa: AA element */ /* Default: For 2ch style AAs */ span.aa, pre.aa {
4     font-family: "MS PGothic AA", "MS PGothic", "Mona";
5     font-size: 12pt;
6     white-space: normal;
7     line-height: 1.0;
8     }
9    
10     pre.aafig {
11     font-family: monospace;
12     line-height: 1.0;
13     white-space: pre;
14     }
15    
16     .hw {
17     -moz-binding: url(http://suika.fam.cx/www/style/text/width.xbl#halfwidth);
18     }
19    
20     .fw {
21     -moz-binding: url(http://suika.fam.cx/www/style/text/width.xbl#fullwidth);
22     }
23    
24     /* Code fragments */
25    
26     pre.code {
27     background-color: rgb(213, 222, 227);
28     color: black;
29     border: rgb(211, 211, 211) 4px double;
30     padding: 0.5em 1em;
31     }
32    
33     /* ISO/IEC 10646 style character names */
34     .charname {
35     background-color: transparent;
36     color: inherit;
37     text-transform: lowercase;
38     font-variant: small-caps;
39     font-family: "Courier New", monospace;
40     letter-spacing: 0.2em;
41     }
42    
43     .charname var {
44     text-transform: none;
45     font-variant: normal;
46     }
47    
48     .comment {
49     color: green;
50     background-color: transparent;
51     }
52    
53     /* DOM attributes *?
54     dfn .DOMa {
55     color: black;
56     background-color: #FFFFD2;
57     }
58    
59     /* DOM constants */
60     dfn .DOMc {
61     color: black;
62     background-color: #DDFFD2;
63     }
64    
65     /* DOM methods */
66     dfn .DOMm {
67     color: black;
68     background-color: #D9E6F8;
69     }
70    
71     /* DOM parameters */
72     dfn .DOMp {
73     background-color: #FEE6F8;
74     color: black;
75     }
76    
77     /* Infoset properties */
78     .InfoProp, .infoprop {
79     font-family: sans-serif;
80     font-weight: bolder;
81     }
82    
83     .InfoProp:before, .infoprop:before {
84     content: " [";
85     }
86    
87     .InfoProp:after, .infoprop:after {
88     content: "] ";
89     }
90    
91     /* Examples */
92    
93     pre.example:before {
94     display: block;
95     content: "$BNc(B: ";
96     font-weight: bolder;
97     font-family: sans-serif;
98     }
99    
100     pre.continue.example:before {
101     content: "$BNc(B ($BB3$-(B): ";
102     }
103    
104     pre.bad.example:before {
105     content: "$B0-$$Nc(B: ";
106     }
107    
108     pre.continue.bad.example:before {
109     content: "$B0-$$Nc(B ($BB3$-(B): ";
110     }
111    
112     pre.invalid.example:before {
113     content: "$BHsBEEv$JNc(B: ";
114     }
115    
116     pre.continue.invalid.example:before {
117     content: "$BHsBEEv$JNc(B ($BB3$-(B): ";
118     }
119    
120     pre.illegal.example:before {
121     content: "$B0cK!$JNc(B: ";
122     }
123    
124     pre.continue.illegal.example:before {
125     content: "$B0cK!$JNc(B ($BB3$-(B): ";
126     }
127    
128     pre.deprecated.example:before {
129     content: "$BHs?d>)$NNc(B: ";
130     }
131    
132    
133     pre.continue.deprecated.example:before {
134     content: "$BHs?d>)$NNc(B ($BB3$-(B): ";
135     }
136    
137     /*
138    
139     Partially taken from
140     <http://suika.fam.cx/~wakaba/wiki/sw/n/Wiki++Style++SuikaWiki++HTML++Semantic>.
141    
142     Copyright 2002-2008 Authors.
143    
144     Permission is granted to copy, distribute and/or modify this document
145     under the terms of the GNU Free Documentation License, Version 1.1 or
146     any later version published by the Free Software Foundation; with no
147     Invariant Sections, with no Front-Cover Texts, and no Back-Cover
148     Texts. A copy of the license is available from
149     <http://suika.fam.cx/c/gnu/fdl>.
150    
151     */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24