src/cm/media/css/site/text_view_comments/c-text-styles.css
author gibus
Thu, 03 Jan 2013 11:00:26 +0100
changeset 477 504f199062df
parent 475 782d40ecf7c3
child 482 00f61fe2430a
permissions -rw-r--r--
Add some MIME instructions for font to silence Chrome warnings.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
475
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     1
@import url("fonts.css");
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     2
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     3
#textcontainer {
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     4
  font-size: 14px;
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     5
  line-height: 20px;
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     6
}
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     7
  
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     8
#textcontainer.modern {
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
     9
  font-family: Lora, Georgia, serif;
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    10
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    11
  
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    12
#textcontainer.code {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    13
  font-family: courier; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    14
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    15
  
475
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    16
#textcontainer h1 {
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    17
  font-size: 22px; 
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    18
  line-height: 24px;
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    19
}
475
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    20
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    21
#textcontainer h2 {
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    22
  font-size: 16px; 
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    23
  line-height: 18px;
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    24
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    25
475
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    26
#textcontainer h3 {
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    27
  font-size:14px; 
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    28
  line-height: 16px;
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    29
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    30
475
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    31
#textcontainer.modern h1,
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    32
#textcontainer.modern h2,
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    33
#textcontainer.modern h3,
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    34
#textcontainer.modern h4,
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    35
#textcontainer.modern h5,
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    36
#textcontainer.modern h6 {
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    37
  font-family: 'PT Sans', Verdana, sans-serif;
393
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    38
}
475
782d40ecf7c3 New fonts.
gibus
parents: 474
diff changeset
    39
  
393
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    40
.voted {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    41
  color: #008000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    42
}
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    43
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    44
.rejected {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    45
  color: #ff0000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    46
}
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    47
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    48
.fallen {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    49
  color: #ff0000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    50
}
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    51
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    52
.withdrawn {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    53
  color: #ff0000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    54
}
394
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    55
396
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    56
div.frame {
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    57
  border: 1px solid #000;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    58
  padding: 5px;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    59
}
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    60
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    61
div.frame .title {
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    62
  font-weight: bold;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    63
  text-align: center;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    64
}
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    65
394
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    66
/* Add empty space before footnotes and a black line on top. */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    67
.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    68
  clear: both;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    69
  margin-top: 4em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    70
  margin-bottom: 2em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    71
  border-top: 1px solid #000000;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    72
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    73
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    74
/* Make footnotes appear in a smaller font */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    75
.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    76
  font-size: 0.9em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    77
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    78
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    79
/* 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    80
  Make the footnote a supertext^1
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    81
*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    82
.see-footnote {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    83
  vertical-align: top;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    84
  position: relative;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    85
  top: -0.25em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    86
  font-size: 0.9em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    87
  text-decoration: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    88
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    89
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    90
/* Hide the bullet of the UL list of footnotes*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    91
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    92
ul.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    93
  list-style-type: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    94
  margin-left: 0;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    95
  padding-left: 0;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    96
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    97
ul.footnotes li {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    98
  margin-left: 2.5em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    99
  list-style-type: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   100
  background: none; /* Garland theme sets a bullet via background image, this must be unset! See bug 861634 */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   101
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   102
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   103
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   104
/* Move the footnote number outside of the margin for footnote text (hanging indent) */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   105
ul.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   106
  /* This is apparently very needed for the "position: absolute;" below to work correctly*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   107
  position: relative; 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   108
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   109
.footnotes .footnote-label {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   110
  position: absolute;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   111
  left: 0px;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   112
  z-index: 2;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   113
  text-decoration: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   114
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   115
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   116
/* Highlight the target footnote (or ref number, if a backlink was used) when user clicks a footnote. */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   117
.see-footnote:target,
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   118
.footnotes .footnote:target {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   119
  background-color: #eeeeee;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   120
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   121
.see-footnote:target {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   122
  border: solid 1px #aaaaaa;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   123
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   124
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   125
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   126
/* Note: This CSS has a minor bug on all versions of IE in that the footnote numbers 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   127
are aligned with the absolute bottom of their space, thus being a couple of pixels 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   128
lower than their corresponding line of text. IE5.5 has a serious bug in that the numbers 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   129
are not shifted left at all, thus being garbled together with the start of their text. */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   130
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   131
/* 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   132
  Make the multiple backlinks a supertext^1
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   133
*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   134
.footnotes .footnote-multi {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   135
  vertical-align: top;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   136
  position: relative;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   137
  top: -0.25em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   138
  font-size: 0.75em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   139
}