subtitle is ugly in this theme
This commit is contained in:
parent
c8b7d639df
commit
f5f49fa4e7
2 changed files with 1 additions and 12 deletions
|
@ -43,7 +43,6 @@ class Layout {
|
||||||
$debug = get_debug_info();
|
$debug = get_debug_info();
|
||||||
|
|
||||||
$contact = empty($contact_link) ? "" : "<br><a href='$contact_link'>Contact</a>";
|
$contact = empty($contact_link) ? "" : "<br><a href='$contact_link'>Contact</a>";
|
||||||
$subheading = empty($page->subheading) ? "" : "<div id='subtitle'>{$page->subheading}</div>";
|
|
||||||
|
|
||||||
$wrapper = "";
|
$wrapper = "";
|
||||||
if(strlen($page->heading) > 100) {
|
if(strlen($page->heading) > 100) {
|
||||||
|
@ -62,7 +61,7 @@ $header_html
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1$wrapper>{$page->heading}</h1>
|
<h1$wrapper>{$page->heading}</h1>
|
||||||
$subheading
|
|
||||||
$sub_block_html
|
$sub_block_html
|
||||||
|
|
||||||
<div id="nav">$left_block_html</div>
|
<div id="nav">$left_block_html</div>
|
||||||
|
|
|
@ -49,16 +49,6 @@ CODE {
|
||||||
background: #DEDEDE;
|
background: #DEDEDE;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
}
|
}
|
||||||
#subtitle {
|
|
||||||
width: 256px;
|
|
||||||
font-size: 0.75em;
|
|
||||||
margin: auto;
|
|
||||||
margin-top: -16px;
|
|
||||||
text-align: center;
|
|
||||||
border: 1px solid black;
|
|
||||||
border-top: none;
|
|
||||||
background: #DDD;
|
|
||||||
}
|
|
||||||
#body SELECT {width: 150px;}
|
#body SELECT {width: 150px;}
|
||||||
TD>INPUT[type="submit"] {width: 100%;}
|
TD>INPUT[type="submit"] {width: 100%;}
|
||||||
TD>INPUT[type="text"] {width: 100%;}
|
TD>INPUT[type="text"] {width: 100%;}
|
||||||
|
|
Reference in a new issue