src/cm/media/css/site/text_view_comments/c-text-styles.css
author gibus
Thu, 09 Aug 2012 16:55:25 +0200
changeset 459 a69421197502
parent 396 31a50d99c929
child 474 d3639d79979e
permissions -rw-r--r--
Fixed renderContents on BeautifilSoup if there is no body in source html
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
#textcontainer.classic{
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
  font-family: "New Century Schoolbook" serif; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     4
  
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     5
#textcontainer.code {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     6
  font-family: courier; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     7
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     8
  
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     9
#textcontainer.modern {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    10
  font-family: arial,helvetica,clean,sans-serif; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    11
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    12
  
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    13
#textcontainer.classic h1 {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    14
    font-size:197%; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    15
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    16
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    17
#textcontainer.code h1 {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    18
    font-size:197%;
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    19
}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    20
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    21
#textcontainer.modern h1 {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    22
    font-size:197%;
393
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    23
}
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    24
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    25
.voted {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    26
  color: #008000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    27
}
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    28
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    29
.rejected {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    30
  color: #ff0000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    31
}
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    32
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    33
.fallen {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    34
  color: #ff0000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    35
}
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    36
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    37
.withdrawn {
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    38
  color: #ff0000;
8806f683d0be Some CSS styles
Production Moz <dev@sopinspace.com>
parents: 0
diff changeset
    39
}
394
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    40
396
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    41
div.frame {
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    42
  border: 1px solid #000;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    43
  padding: 5px;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    44
}
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    45
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    46
div.frame .title {
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    47
  font-weight: bold;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    48
  text-align: center;
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    49
}
31a50d99c929 add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents: 394
diff changeset
    50
394
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    51
/* Add empty space before footnotes and a black line on top. */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    52
.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    53
  clear: both;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    54
  margin-top: 4em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    55
  margin-bottom: 2em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    56
  border-top: 1px solid #000000;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    57
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    58
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    59
/* Make footnotes appear in a smaller font */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    60
.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    61
  font-size: 0.9em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    62
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    63
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    64
/* 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    65
  Make the footnote a supertext^1
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    66
*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    67
.see-footnote {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    68
  vertical-align: top;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    69
  position: relative;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    70
  top: -0.25em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    71
  font-size: 0.9em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    72
  text-decoration: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    73
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    74
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    75
/* Hide the bullet of the UL list of footnotes*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    76
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    77
ul.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    78
  list-style-type: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    79
  margin-left: 0;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    80
  padding-left: 0;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    81
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    82
ul.footnotes li {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    83
  margin-left: 2.5em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    84
  list-style-type: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    85
  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
    86
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    87
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    88
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    89
/* Move the footnote number outside of the margin for footnote text (hanging indent) */
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    90
ul.footnotes {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    91
  /* This is apparently very needed for the "position: absolute;" below to work correctly*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    92
  position: relative; 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    93
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    94
.footnotes .footnote-label {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    95
  position: absolute;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    96
  left: 0px;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    97
  z-index: 2;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    98
  text-decoration: none;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
    99
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   100
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   101
/* 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
   102
.see-footnote:target,
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   103
.footnotes .footnote:target {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   104
  background-color: #eeeeee;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   105
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   106
.see-footnote:target {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   107
  border: solid 1px #aaaaaa;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   108
}
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   109
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   110
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   111
/* 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
   112
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
   113
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
   114
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
   115
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   116
/* 
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   117
  Make the multiple backlinks a supertext^1
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   118
*/
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   119
.footnotes .footnote-multi {
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   120
  vertical-align: top;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   121
  position: relative;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   122
  top: -0.25em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   123
  font-size: 0.75em;
ce92c17cadc5 Some CSS for footnotes.
gibus
parents: 393
diff changeset
   124
}