Minor fixes

This commit is contained in:
nikolark committed 2014-04-07 13:27:44 +02:00
1 parent 80624a10e4
commit 694466469a
2 files changed
+207 -19

No files matched your search

-19
View File
@@ -25,27 +25,8 @@ add_action( 'init' , 'neuf_register_nav_menus' );
* Enqueue various scripts we use.
*/
function neuf_enqueue_scripts() {
wp_deregister_script( 'jquery' );
// register your script location, dependencies and version
wp_register_script( 'jquery' , 'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js' );
wp_register_script( 'program' , get_template_directory_uri() . '/js/program.js', array( 'jquery' ) );
wp_register_script( 'cycle' , get_template_directory_uri() . '/js/jquery.cycle.all.js', array( 'jquery' ), '0.9.8' );
wp_register_script( 'front-page', get_template_directory_uri() . '/js/front-page.js', array('cycle') );
wp_register_script( 'application', get_template_directory_uri() . '/js/application.js', array('jquery') );
wp_register_script( 'underscore', get_template_directory_uri() . '/js/underscore.js');
wp_register_script( 'knockout', get_template_directory_uri() . '/js/knockout-2.0.0.js');
wp_register_script( 'util', get_template_directory_uri() . '/js/neuf/util/util.js' );
wp_register_script( 'date.js', get_template_directory_uri() . '/js/neuf/util/date-nb-NO.js');
wp_register_script( 'eventProgram', get_template_directory_uri() . '/js/neuf/eventProgram.js', array('jquery', 'underscore', 'knockout', 'date.js', 'util') );
wp_register_script( 'footer', get_template_directory_uri() . '/js/footer.js', array('jquery') );
// enqueue the scripts
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'cycle' );
wp_enqueue_script( 'application' );
if ( is_front_page() )
wp_enqueue_script( 'front-page' );
}
add_action( 'wp_enqueue_scripts' , 'neuf_enqueue_scripts' );
+207
View File
@@ -11,3 +11,210 @@ Text Domain: teaterneuf
*/
@import "stylesheets/screen.css";
/*Below is the modified version from 2013*/
body {
background-color: #111;
color: #f6f6f6;
font: 14px Helvetica, Ubuntu, sans-serif;
line-height: 1.5em;
}
body h1, body h2, body #site-header #header-container #menu, body h3, body h4 {
font-family: "Croissant One", Georgia, serif;
font-weight: bold;
line-height: 1.5em;
text-shadow: none;
}
body a {
color: #fff;
text-decoration: none;
text-shadow: none;
}
body a:link {
color: #fff;
}
body a:visited {
color: #fff;
}
body a:hover {
text-decoration: underline;
}
body a:active {
color: #fff;
}
body #site-header {
background-color: #fafafa;
min-width: 100%;
height: 90px;
padding-top: 25px;
padding-bottom: 25px;
position: relative;
margin-bottom: 10px;
margin-top: 30px;
}
body #site-header #header-container .site-title .logo {
background: url("http://teaterneuf.no/wp-content/uploads/2013/01/Teaterlogo-h-500px-e1376593936461.png") no-repeat;
display: inline-block;
width: 185px;
height: 120px;
margin-top: 10px;
text-indent: -9999px;
position: relative;
bottom: 10px;
}
body #site-header #header-container #menu a {
color: #444;
text-decoration: none;
text-shadow:none;
}
body #site-header #header-container #menu ul li:hover ul, body #site-header #header-container #menu ul li:focus ul {
display: block;
z-index: 9;
color: fafafa;
background: #fafafa;
border-bottom: 1px solid #444;
border-right: 1px solid #444;
border-left: 1px solid #444;
border-top: 0px ;
}
body #site-header #header-container #menu ul li a {
display: block;
height: 22px;
padding: 0px 7px 7px;
text-decoration: none;
border-right: 1px solid #444;
position: relative;
}
body #site-header #header-container #menu ul li a:hover, body #site-header #header-container #menu ul li a .current {
color: fafafa;
background: #444;
}
body #site-topbar {
position: fixed;
top: 0px;
left: 0px;
background-color: #111;
width: 100%;
height: 30px;
z-index: 9999;
text-align: center;
}
body #site-topbar .logo {
background: url("./img/dns_30px.png") no-repeat;
display: inline-block;
width: 271px;
height: 100%;
margin-top: 4px;
text-indent: -9999px;
}
body #content #featured a h1 {
color: #111;
}
body #content #featured #prevLink {
display: inline-block;
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-right: 16px solid #f6f6f6;
cursor: pointer;
}
body #content #featured #prevLink:hover {
border-right: 16px solid #ae97d2;
}
body #content #featured #nextLink {
display: inline-block;
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 16px solid #f6f6f6;
cursor: pointer;
}
body #content #featured #nextLink:hover {
border-left: 16px solid #ae97d2;
}
body #content #featured #slidernav {
display: inline-block;
}
body #content #featured #slidernav a {
content: '';
background: #ae97d2;
border-radius: 50%;
width: 16px;
height: 16px;
display: inline-block;
z-index: 10;
margin-left: 4px;
margin-right: 4px;
}
body #content #featured #slidernav a.activeSlide {
background: #f6f6f6;
}
body #content #featured #slider-buttons {
position: relative;
top: 350px;
z-index: 10;
}
body #content #featured #slider .featured-text .entry-meta {
position: absolute;
bottom: 6px;
color: #000;
text-shadow: none;
background: #999999;
padding: 4px;
}
body #content #digest-news h2 a, body #content #digest-news #site-header #header-container #menu a, body #site-header #header-container #content #digest-news #menu a {
color: #000;
}
body #content .byline {
color: #aaa;
}
body #content .byline .author {
color: #000;
font-weight: bold;
}
body #content #program-list .event .body .entry-meta {
position: absolute;
bottom: 0px;
color: #000;
text-shadow: none;
background: #999999;
padding: 4px;
}
body #site-footer {
background-color: #fafafa;
min-width: 100%;
margin-top: 25px;
padding-top: 25px;
padding-bottom: 25px;
color: #444;
text-shadow: none;
}
body #site-footer a {
color: #444;
text-decoration: none;
text-shadow: none;
}
body #site-footer a:link {
color: #444;
}
body #site-footer a:visited {
color: #444;
}
body #site-footer a:hover {
text-decoration: underline;
}
body #site-footer a:active {
color: #444;
}
body #site-footer h1, body #site-footer h2, body #site-footer #site-header #header-container #menu, body #site-header #header-container #site-footer #menu, body #site-footer h3, body #site-footer h4 {
color: #444;
text-shadow: none;
}
body #site-footer #footer-container #footer-about a.black {
color: #444;
text-shadow: none;
}