ascii-doc.scss 2.27 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
.article .free-text {
  #body-header {
    margin-bottom: 4em;
    font-size: 75%;
  }

  #body-footer {
    margin-top: 4em;
    font-size: 75%;
  }
}

13
14
#toc {
  border-bottom:1px solid #efefed;
Matija Obreza's avatar
Matija Obreza committed
15
16
17
18
19
  padding-bottom:.5em;  
  
  #toctitle {
    color: inherit;
  }
20
21
}

Matija Obreza's avatar
Matija Obreza committed
22
  
23
#toc>ul {
Matija Obreza's avatar
Matija Obreza committed
24
25
  margin-left:.125em;
  padding: 0;
26
27
28
}

#toc ul.sectlevel0>li>a {
Matija Obreza's avatar
Matija Obreza committed
29
  font-style:italic;
30
31
32
}

#toc ul.sectlevel0 ul.sectlevel1 {
Matija Obreza's avatar
Matija Obreza committed
33
  margin:.5em 0;
34
35
36
37
}

#toc ul {
  font-family:"Open Sans","DejaVu Sans",sans-serif;
Matija Obreza's avatar
Matija Obreza committed
38
  list-style-type:none;
39
40
41
}

#toc li {
Matija Obreza's avatar
Matija Obreza committed
42
  line-height:1.3334;
43
44
45
}

#toc a {
Matija Obreza's avatar
Matija Obreza committed
46
  text-decoration:none;
47
48
49
}

#toc a:active {
Matija Obreza's avatar
Matija Obreza committed
50
  text-decoration:underline;
51
52
53
54
}

#toctitle {
  color:#7a2518;
Matija Obreza's avatar
Matija Obreza committed
55
  font-size:1.2em;
56
57
58
59
60
61
62
63
}

@media only screen and (min-width:768px) {
  #toctitle{
    font-size:1.375em;
  }

  body.toc2 {
Matija Obreza's avatar
Matija Obreza committed
64
    padding-right:0;
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
  }

  #toc.toc2 {
    margin-top:0!important;
    background-color:#f8f8f7;
    position:relative;
    width:15em;
    left:0;
    top:0;
    border-right:1px solid #efefed;
    border-top-width:0!important;
    border-bottom-width:0!important;
    z-index:1000;
    padding:1.25em 1em;
    height:100%;
    overflow:auto
  }

  #toc.toc2 #toctitle {
    margin-top:0;
    margin-bottom:.8rem;
    font-size:1.2em
  }

  #toc.toc2>ul {
    font-size:.9em;
Matija Obreza's avatar
Matija Obreza committed
91
    margin-bottom:0;
92
93
94
95
  }

  #toc.toc2 ul ul {
    margin-left:0;
Matija Obreza's avatar
Matija Obreza committed
96
    padding-left:1em;
97
98
99
100
101
  }

  #toc.toc2 ul.sectlevel0 ul.sectlevel1 {
    padding-left:0;
    margin-top:.5em;
Matija Obreza's avatar
Matija Obreza committed
102
    margin-bottom:.5em;
103
104
105
106
  }

  body.toc2.toc-right {
    padding-left:0;
Matija Obreza's avatar
Matija Obreza committed
107
    padding-right:15em;
108
109
110
111
112
  }

  body.toc2.toc-right #toc.toc2 {
    border-right-width:0;
    border-left:1px solid #efefed;
Matija Obreza's avatar
Matija Obreza committed
113
    left:auto;right:0;
114
115
116
117
118
  }
}

@media only screen and (min-width:1280px) {
  body.toc2 {
Matija Obreza's avatar
Matija Obreza committed
119
    padding-right:0;
120
121
122
  }

  #toc.toc2 {
Matija Obreza's avatar
Matija Obreza committed
123
    width:20em;
124
125
126
  }

  #toc.toc2 #toctitle {
Matija Obreza's avatar
Matija Obreza committed
127
    font-size:1.375em;
128
129
130
  }

  #toc.toc2>ul {
Matija Obreza's avatar
Matija Obreza committed
131
    font-size:.95em;
132
133
134
  }

  #toc.toc2 ul ul {
Matija Obreza's avatar
Matija Obreza committed
135
    padding-left:1.25em;
136
137
138
139
  }

  body.toc2.toc-right {
    padding-left:0;
Matija Obreza's avatar
Matija Obreza committed
140
    padding-right:20em;
141
142
143
  }
}

Matija Obreza's avatar
Matija Obreza committed
144
145
146
147
148
149
.article .free-text {
  table td p {
    margin: .2em 0;
  }  
}

150
.article img {
Matija Obreza's avatar
Matija Obreza committed
151
  border:0;
152
153
154
155
}

.article img,object,embed {
  max-width:100%;
Matija Obreza's avatar
Matija Obreza committed
156
  height:auto;
157
158
159
}

.article img {
Matija Obreza's avatar
Matija Obreza committed
160
  -ms-interpolation-mode:bicubic;
161
162
163
164
}

.article img,object,svg {
  display:inline-block;
Matija Obreza's avatar
Matija Obreza committed
165
  vertical-align:middle;
166
167
168
}

.article a img {
Matija Obreza's avatar
Matija Obreza committed
169
  border:none;
170
}