Difference between revisions of "Team:UC Davis/Safety"
Line 5: | Line 5: | ||
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/ | ||
</style> | </style> | ||
+ | |||
+ | <!-------------- Show More ---------------> | ||
+ | <style> | ||
+ | .read-more-state { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .read-more-target { | ||
+ | opacity: 0; | ||
+ | max-height: 0; | ||
+ | font-size: 0; | ||
+ | transition: .25s ease; | ||
+ | } | ||
+ | |||
+ | .read-more-state:checked ~ .read-more-wrap .read-more-target { | ||
+ | opacity: 1; | ||
+ | font-size: inherit; | ||
+ | max-height: 999em; | ||
+ | } | ||
+ | |||
+ | .read-more-state ~ .read-more-trigger:before { | ||
+ | content: 'Show more'; | ||
+ | } | ||
+ | |||
+ | .read-more-state:checked ~ .read-more-trigger:before { | ||
+ | content: 'Show less'; | ||
+ | } | ||
+ | |||
+ | .read-more-trigger { | ||
+ | cursor: pointer; | ||
+ | display: inline-block; | ||
+ | padding: 0 .5em; | ||
+ | color: #666; | ||
+ | font-size: .9em; | ||
+ | line-height: 2; | ||
+ | border: 1px solid #ddd; | ||
+ | border-radius: .25em; | ||
+ | } | ||
+ | |||
+ | /* Other style */ | ||
+ | body { | ||
+ | padding: 2%; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | <!-------------- Show Less ---------------> | ||
<!-- here ends the section that changes the default wiki template to a white full width background --> | <!-- here ends the section that changes the default wiki template to a white full width background --> |
Revision as of 19:21, 14 September 2015
|
Sources: |
Continue scrolling to read more or click here to advance to the next section! Sources: |
Continue scrolling to read more or click here to advance to the next section! Sources: |
Continue scrolling to read more or click here to advance to the next section! Sources: |
Sources: |