news-rot.css
CSS for rotating images
news-rot.css
—
CSS stylesheet,
1 KB (1811 bytes)
File contents
#news-rotation-div { max-width: 100%; width:615px; height: 350px; position: relative; background-color: black; z-index: 0; } .news-rotation-item { display: none; height: 100%; } #news-rotation-div .news-rotation-anchor { position: relative; float: left; display: block; width: 95%; top: 10px; left: 20px; z-index: 0; } #news-rotation-div .news-rotation-anchor a:visited, #news-rotation-div .news-rotation-anchor a:link, #news-rotation-div .news-rotation-anchor a:active { text-shadow: 2px 2px #333; line-height: 1.2em; color: #ddf !important; font-size: 30px; } #news-rotation-div .news-rotation-anchor-desc { position: relative; float: left; display: block; max-width: 80%; left: 20px; z-index: 0; margin-top: 20px; } #news-rotation-div .news-rotation-anchor-desc a:link, #news-rotation-div .news-rotation-anchor-desc a:active { float: left; text-shadow: 2px 2px #333; line-height: 1.2em; color: #ddf !important; font-size: 20px; font-style: italic; } #news-rotation-div *, #news-rotation-div a:visited, #news-rotation-div a:link, #news-rotation-div a:active { border-bottom: none; text-shadow: 2px 2px #333; } .news-rotation-image { width: 100%; position: absolute; top: 0px; left: 0px; height: 100%; color: #000; } #news-rotation-list{ position: absolute; bottom: 20px; list-style: inside; list-style-image: url("https://help.almascience.org/themes/client_default/icon_newsitem.gif"); } #news-rotation-list *, #news-rotation-list a:link, #news-rotation-list a:visited { font-size: 17px; color: #ddf; text-shadow: 2px 2px #333; } #news-rotation-list a.current { font-weight: 800; font-size: 130%; }