UnfoldingCSS:FAQ: Difference between revisions
Jump to navigation
Jump to search
(ma) |
mNo edit summary |
||
Line 17: | Line 17: | ||
img{ | img{ | ||
max-width:100%; | max-width:100%; | ||
} | |||
/* toclimit */ | |||
.toclimit-2 .toclevel-1 ul, | |||
.toclimit-3 .toclevel-2 ul, | |||
.toclimit-4 .toclevel-3 ul, | |||
.toclimit-5 .toclevel-4 ul, | |||
.toclimit-6 .toclevel-5 ul, | |||
.toclimit-7 .toclevel-6 ul { | |||
display: none; | |||
} | } |
Revision as of 11:02, 18 May 2023
body {margin: auto; line-height: 1.4em; max-width: 900px; padding: 1.5em 1em; background: linear-gradient(0deg, violet, red, violet); } h2 {font-size: 1.9em; line-height: 1.3em; color: white} h3 {font-size: 1.5em; line-height: 1.3em; color: white} a, a:visited, a:hover {color: black; background: white; text-decoration: none;} a:hover {color: red !important} .gallerybox ul, .gallerybox li {style: none;} .gallerybox li {width:200px; float: right;} .tocnumber {display: none;} img{ max-width:100%; } /* toclimit */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }