2009scape-website/site/css/news-2.css
Bart Ribbers 4eda43f39b
Use templates better to remove a ton of code duplication (#254)
* Fix broken links in update posts

They were using relative links still which became invalid by moving
directories. It's better to link stuff absolutely anyway.

* Remove unused 'secure' registration and login pages

* Remove obsolete parse.py

* Use templates better to remove a ton of code duplication

Where it made sense I converted HTML pages to Markdown to ease writing
and discourage custom styling as much as possible. These pages can still
use custom HTML when necessary, and some do, but they are easier to read
and understand now.
2024-06-02 19:15:26 +10:00

185 lines
2.4 KiB
CSS

#newsitemmenu {
padding-top: 30px;
}
#newsitemmenu a {
text-decoration: none;
font-weight:bold;
}
#newsitemmenu a:hover {
text-decoration: underline;
}
.article hr {
color: #ded4ba;
background-color: #ded4ba;
height: 1px;
border: none;
}
.topnav {
text-align: right;
margin-bottom: 5px;
}
.bottomnav {
text-align: right;
margin-top: 5px;
}
.bottomnav img {
vertical-align: text-top;
}
.topnav img {
vertical-align: text-top;
}
.row_a {
background: url(/site/img/main/layout/subarticle_header_bg.webp) repeat-x;
color: #645c43;
}
#newslist {
cellspacing: 0px;
}
.newsBorder {
padding: 4px;
border: 1px solid #b3aa90;
}
.pad td img {
vertical-align: bottom;
}
.pad td {
padding: 4px;
}
.pagepad {
padding: 32px 40px 60px;
}
#newslist td {
padding: 4px;
vertical-align: middle;
}
.newsNavCat {
margin: auto 5px;
}
.row_a td {
padding: 6px;
}
.newsNavcat{
padding-right: 10px;
}
.newsNavcat img {
vertical-align: text-top;
}
.pagepad a {
font-weight: bold;
text-decoration: none;
}
.pagepad a:hover {
text-decoration: underline;
}
#newsitemMenu {
font-size: 11px;
line-height: 1.8em;
}
.imiddle {
vertical-align: text-top;
}
.adframe {
background-image:url(/site/img/advert/advert_news.webp);
background-position:center;
background-repeat:no-repeat;
float:right;
height:281px;
margin-left:10px;
position:relative;
width:312px;
margin-top: 2px;
}
.extraimgdiv {
float:right;
width:308px;
height:281px;
position:relative;
margin: 2px 2px 0 10px;
}
.extraimgcap {
margin:0 3px 3px;
background:#dad2af;
text-align:center;
color:#4f4f4f;
font-weight:bold;
font-variant:small-caps;
font-family:Palatino Linotype,Book Antiqua,Palatino,Times New Roman,Times,serif;
}
.imgborderdiv {
border:1px solid #b3aa90;
}
.extraimg {
width:300px;
height:250px;
margin:3px;
}
.ad {
left:6px;
position:absolute;
top:5px;
}
#newsTitle {
padding: 10px 0px;
text-align: center;
margin-bottom: 1em;
}
.newsJustify {
text-align: justify;
}
.centre {
text-align: center;
}
.width100 {
width: 100%;
}
.dispinline {
display: inline;
}
.changepage {
color:#FFFFFF;
font-size:
10px; background-color:black;
text-align:center;
border: 2px inset #D4D0C8;
}
.newsAdvert {
width: 308px;
height: 279px;
overflow: hidden;
border: none;
}