Skip to content
Snippets Groups Projects
Commit ab6daa16 authored by Brett Bieber's avatar Brett Bieber
Browse files

Switch to new design from Ryan for combined homepages

parent da9fe377
No related branches found
No related tags found
No related merge requests found
@CHARSET "UTF-8"; @CHARSET "UTF-8";
.printfooter { display: none; }
/** #homepage {
* BULLETIN Navigation background-image:url(images/main.jpg);
*/
#bulletin-nav {
float:left;
width:100%; width:100%;
background:#fff; height:480px;
line-height:normal; padding-top:8%;
border-bottom:1px solid #b7b7b7;
margin-bottom:20px;
}
#bulletin-nav ul {
margin:0 0 0 10px;
padding:0 10px 0 0;
list-style:none;
float:left;
}
#bulletin-nav li {
display:inline;
margin:0;
padding:0;
}
#bulletin-nav a {
float:left;
background:none;
margin:0 0 -1px 4px;
padding:0 0 0 4px;
position:relative;
text-decoration:none;
color:#c00;
border-bottom:1px solid #FFF;
}
#bulletin-nav a span {
float:left;
display:block;
padding:5px 10px 4px 6px;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#bulletin-nav a span {float:none; }
/* End IE5-Mac hack */
#bulletin-nav a.bulletin-selected{border:1px solid #b7b7b7;border-bottom:1px solid #FFF;}
#bulletin-nav a:hover span, #bulletin-nav a.bulletin-selected span {
color:#333;
}
#bulletin-nav a.bulletin-selected span {
font-weight:bold;
} }
#toc { #homepage h1 {
clear:both; text-align:center;
} color:#FFF;
font-size:3.0em;
.searchtab {clear:both;}
pre {
overflow-x:auto;
} }
#homepage ul {
@media print { text-align:center;
.editsection {display:none;} margin-top:10px;
.totop {display:none;}
#bulletin-nav {display:none;}
#maincontent a[href]:after {content:"";}
} }
#homepage ul li {
display:inline;
background-color:#cc0000;
padding:15px 15px 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin:18px;
}
#homepage ul li a {
color:#FFF;
font-size:150%;
}
#homepage ul li a:hover {
color:#FFF;
font-size:150%;
text-decoration:underline;
}
<ul> <ul>
<li><a href="http://bulletin.unl.edu/undergraduate/" title="Go to the Undergraduate Bulletin homepage">Undergraduate Bulletin</a></li> <li><a href="http://bulletin.unl.edu/undergraduate/" title="Go to the Undergraduate Bulletin homepage">Undergraduate Bulletin</a></li>
<li><a href="http://www.unl.edu/gradstudies/bulletin" title="Go to the Graduate Bulletin homepage">Graduate Bulletin</a></li> <li><a href="http://www.unl.edu/gradstudies/bulletin" title="Go to the Graduate Bulletin homepage">Graduate Bulletin</a></li>
<li><a href="courses/" title="Go to the listing of latest course information">Courses</a></li>
</ul> </ul>
<?php <?php
UNL_Templates::setCachingService(new UNL_Templates_CachingService_Null()); UNL_Templates::setCachingService(new UNL_Templates_CachingService_Null());
UNL_Templates::$options['version'] = 3; UNL_Templates::$options['version'] = 3.1;
UNL_Templates::$options['sharedcodepath'] = dirname(__FILE__).'/sharedcode'; UNL_Templates::$options['sharedcodepath'] = dirname(__FILE__).'/sharedcode';
$url = $catalog->getURL(); $url = $catalog->getURL();
...@@ -25,8 +25,7 @@ $page->navlinks = $savvy->render(null, 'Navigation.tpl.php'); ...@@ -25,8 +25,7 @@ $page->navlinks = $savvy->render(null, 'Navigation.tpl.php');
$page->addStylesheet('/wdn/templates_3.0/css/content/notice.css'); $page->addStylesheet('/wdn/templates_3.0/css/content/notice.css');
$page->addStylesheet($url . 'templates/html/css/all.css'); $page->addStylesheet($url . 'templates/catalog.css');
$page->addStyleSheet($url . 'templates/html/css/print.css', 'print');
$page->head .= ' $page->head .= '
<script type="text/javascript">var UNL_UGB_URL = "'.$url.'";</script> <script type="text/javascript">var UNL_UGB_URL = "'.$url.'";</script>
......
<h1>Welcome to the UNL Bulletin Homepage</h1> <div id="homepage">
<div class="image_large"><img src="templates/images/main.jpg" alt="Seaton Hall" /></div> <h1>Welcome to the 2013-2014 Bulletins</h1>
<h2><a href="http://bulletin.unl.edu/undergraduate/" title="Go to the Undergraduate Bulletin homepage">Undergraduate Bulletin</a></h2> <ul>
<h2><a href="http://www.unl.edu/gradstudies/bulletin" title="Go to the Graduate Bulletin homepage">Graduate Bulletin</a></h2> <li><a href="http://bulletin.unl.edu/undergraduate/" title="Go to the Undergraduate Bulletin homepage">Undergraduate Bulletin</a></li>
<h2>Courses</h2> <li><a href="http://www.unl.edu/gradstudies/bulletin" title="Go to the Graduate Bulletin homepage">Graduate Bulletin</a></li>
\ No newline at end of file <li><a href="courses/" title="Go to the listing of latest course information">Courses</a></li>
</ul>
</div>
\ No newline at end of file
www/templates/images/main.jpg

26.4 KiB | W: | H:

www/templates/images/main.jpg

120 KiB | W: | H:

www/templates/images/main.jpg
www/templates/images/main.jpg
www/templates/images/main.jpg
www/templates/images/main.jpg
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment