Skip to content

Commit 1e93012

Browse files
committed
CSS tweaks
1 parent d4d8c88 commit 1e93012

File tree

1 file changed

+9
-8
lines changed
  • grails-docs/src/main/template/css

1 file changed

+9
-8
lines changed

grails-docs/src/main/template/css/main.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,15 @@ strong {
171171
width:50%;
172172
}
173173

174-
.toc-item span{
174+
.toc-item span {
175175
padding-left:10px;
176176
}
177177

178+
.toc-item {
179+
font-size: 0.85rem;
180+
line-height: 1.4;
181+
}
182+
178183
#table-of-content a {
179184
display: block;
180185
padding: 4px 10px;
@@ -374,14 +379,10 @@ strong {
374379
margin-bottom: 0px;
375380
}
376381
.note {
377-
background-image: url(../img/note.gif);
378-
background-repeat: no-repeat;
379-
background-position: 20px 20px;
380382
border: 1px solid #F0C000;
381383
margin-top: 1.5em;
382384
margin-bottom: 1.5em;
383385
padding: 10px;
384-
padding-left: 40px;
385386
line-height: 100%;
386387
width: 80%;
387388
background-color: #FFFFCE;
@@ -711,7 +712,7 @@ li {
711712
-webkit-border-radius: 18px;
712713
}
713714

714-
#footer, #table-of-content a:hover, #navigation #nav-summary-childs a {
715+
#table-of-content a:hover, #navigation #nav-summary-childs a {
715716
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.9);
716717
}
717718

@@ -739,7 +740,7 @@ b,strong{font-weight:bold}
739740
dfn{font-style:italic}
740741
hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}
741742
mark{background:#ff0;color:#000}
742-
code,kbd,pre,samp{font-family:monospace;font-size:1em}
743+
code,kbd,pre,samp{font-family:monospace;font-size:0.90rem}
743744
pre{white-space:pre-wrap}
744745
q{quotes:"\201C" "\201D" "\2018" "\2019"}
745746
small{font-size:80%}
@@ -1090,7 +1091,7 @@ b.conum *{color:inherit!important}
10901091
dt,th.tableblock,td.content,div.footnote{text-rendering:optimizeLegibility}
10911092
h1,h2,p,td.content,span.alt{letter-spacing:-.01em}
10921093
p strong,td.content strong,div.footnote strong{letter-spacing:-.005em}
1093-
p,blockquote,dt,td.content,span.alt{font-size:1.0625rem}
1094+
p,blockquote,dt,td.content,span.alt{font-size:1.0rem}
10941095
p{margin-bottom:1.25rem}
10951096
.sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
10961097
.exampleblock>.content{background-color:#fffef7;border-color:#e0e0dc;-webkit-box-shadow:0 1px 4px #e0e0dc;box-shadow:0 1px 4px #e0e0dc}

0 commit comments

Comments
 (0)