This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nikolark 969c63c752 New style wordpress
This enables automagic updates of WP

- Delete wordpress install
- Move theme(s) to top
- Move local plugins to ./plugins
- Simplify i18n
2017-07-05 01:03:17 +02:00

1223 lines
21 KiB
CSS
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* Theme Name: Neuf Old Style
* Theme URI: http://git.neuf.no/?p=neuf-web.git
* Description: Horisontal outline.
* Author: Just Thomas Misund,Robert Kolner,Nikolai Kristiansen
* Author URI: http://edb.neuf.no
* Version: 0.2
*/
/* Interested in web development? This site is made by volunteers, and we are looking for more people: http://edb.neuf.no/ Help us create the world's best student society! */
@import 'css/reset.css';
@import 'css/rebuild.css';
@import 'css/grid.css';
@import 'css/wp.css';
/**
* Structure
*/
/* Layout */
/* A lot of the layout CSS is placed in css/grid.css. Only stuff not concerning the grid should be in this section. If in doubt, don't put stuff here. */
#access {
display:none;
}
#content {
background: transparent;
padding:0;
clear:both;
overflow:auto;
}
.hentry.forsidesak
{
min-height:250px;
}
.program #program {
background:#9ac9f7;
}
.program #program li,
.program #sorting li {
display:block;
overflow:hidden;
padding:10px;
}
.program #program span,
.program #sorting span {
display:block;
float:left;
}
/* end layout */
/* Header */
body.dns {
background:#efefef;
}
header#site-header,
footer#site-footer {
/*background-color:#E99835;
background-color:hsl(33,80%,56%);*/
background-color:rgb(245,130,32);
}
header#site-header {
height:90px;
padding-top:25px;
padding-bottom:25px;
position:relative;
margin-bottom:50px;
}
header#site-header .site-title {
z-index:999;
width:570px;
height:72px;
margin-top:6px;
}
header#site-header .site-title a {
background: url('img/dns-logo-web.png') no-repeat;
display:block;
width:100%;
height:100%;
margin-top:0px;
text-indent:-9999px;
}
#facebook-followers {
float:right;
}
#menu {
height:25px;
margin-top:28px;
}
#menu a {
/* color:rgb(88,89,91); */
color:white;
}
#menu a.current,
#menu a:hover,
#menu li:hover a {
color:rgba(256,256,256,1);
background:rgb(88,89,91);
}
#menu > ul {
display:inline-block;
float:right;
}
#menu ul,#menu li {
list-style-type:none;
}
#menu li {
float:left;
border-right:1px solid rgb(255,255,225);
position:relative;
}
#menu .sub-menu li {
border-right:none;
position: relative;
}
#menu li a {
display:block;
height:22px;
padding:5px 4px 3px;
text-decoration:none;
}
#menu ul ul {
position:absolute;
display:none;
margin:0;
}
#menu ul li:hover ul,
#menu ul li:focus ul
{
display:block;
z-index:9;
}
#menu li ul {
}
#menu li:hover ul {
background:rgb(88,89,91);
}
/* Secondary menu*/
#secondary-menu {
/* good friends with #main-menu */
position: relative;
top: -73px;
float: right;
margin-right: 18px;
}
#secondary-menu form {
display: inline-block;
}
#secondary-menu input {
padding: 2px 4px;
font-size: 14px;
width: 100px;
background-color: transparent;
border: 1px solid white;
color: white;
}
#secondary-menu input::-moz-placeholder {
color: white;
}
#secondary-menu input:--moz-placeholder {
color: white;
}
#secondary-menu input:-ms-input-placeholder {
color: white;
}
#secondary-menu input::-webkit-input-placeholder {
color: white;
}
#secondary-menu input::placeholder {
color: white;
}
#secondary-menu ul {
display: inline;
list-style: none;
}
#secondary-menu li {
display: inherit;
padding-left: 2px;
padding-right: 2px;
}
#secondary-menu li {
border-right: 1px solid white;
}
#secondary-menu li:last-child {
border-right:transparent none;
}
#secondary-menu li a {
display:inline-block;
padding:2px;
color: white;
}
/* Flag for the english menu item */
#secondary-menu li#menu-item-31594 a {
display: inline-block;
box-sizing: border-box;
width: 32px;
height: 16px;
background: url('img/uk.png');
background-size: cover;
overflow: hidden;
text-indent: -99999px;
vertical-align:text-bottom;
}
/* Header slutt */
/* Hoveddel */
#content > .hentry .entry-content {
margin-top:15px;
margin-bottom:15px;
}
.single #content > .hentry,
.page #content > .hentry {
margin-top:30px;
margin-bottom:30px;
}
.single-event .entry-meta {
display:inline-block;
border-bottom:1px solid #ff9e29;
padding-bottom:15px;
width: 100%;
}
#digest_news,
#digest_events,
#program-3days,
#program-6days,
.program-6days,
#student-media > *
{
padding-top:15px;
border-top:1px solid #ff9e29;
}
#digest_news,
#digest_events {
padding-bottom:15px;
}
#student-media #nova-player {
height:100px;
border-bottom:1px solid #FF9E29;
}
#student-media #nova-player h2 {
width:252px;
height:86px;
float:left;
}
#student-media #nova-player h2 a {
width:100%;
height:100%;
background:url('img/logo-rn-x86.png');
display:block;
overflow:hidden;
text-indent:-99999px;
}
#student-media #nova-player #nova-player-link {
display:block;
float:left;
width:0px;
height:0px;
text-indent:-9999px;
position:relative;
background:#ed1c24;
width:45px;
height:45px;
border-radius:50%;
top:21px;
left:40px;
}
#student-media #nova-player #nova-player-link:before {
content:'';
display:block;
position:absolute;
top:9px;
left:13px;
border-top:13px solid transparent;
border-bottom:13px solid transparent;
border-left:26px solid #673337;
}
#student-media #twitter_feed {
overflow:hidden;
}
#student-media #twitter_feed_title {
padding-top: 15px;
}
#student-media #twitter_feed_title img {
display:inline-block;
width:70px;
}
#student-media #twitter_feed_title a {
display:inline-block;
vertical-align:top;
}
#student-media #twitter_feed_title_name {
display:inline-block;
}
#student-media #twitter_feed_title_name h3 {
margin-bottom: 0px;
}
#student-media #twitter_feed_title_name a {
display:block;
}
#flickr-box {
border-top: 1px solid #ff9e29;
padding-top: 15px;
}
#flickr-images {
margin-bottom: 15px;
}
#flickr-images > ul {
list-style-type:none;
margin:0;
line-height: 0;
}
#flickr-images > ul > li {
display:inline-block;
position: relative;
width: 128px;
}
#flickr-images .flickr-title {
position: absolute;
bottom: 0;
display: block;
opacity: 0;
background-color: rgba(0,0,0, 0.5);
line-height: 2;
text-align: center;
width: 128px;
overflow: hidden;
transition: opacity 0.1s;
-webkit-transition: opacity 0.1s; /* Safari */
font-size: 0.9em;
}
#flickr-images li:hover .flickr-title {
opacity: 1;
}
#fb-like-box {
padding-top: 50px;
border-top: 1px solid #ff9e29;
text-align: center;
overflow: hidden;
}
/* Hoveddel slutt */
/* Footer */
#sponsors .sponsor {
text-align: center;
display: table-cell;
height: 180px;
width: 256px;
vertical-align: middle;
}
#sponsors .sponsor img {
max-width: 390px;
max-height: 90px;
}
#kolofon {
padding-top: 25px;
padding-bottom: 10px;
}
#site-footer {
margin-top: 20px;
padding-top: 25px;
clear: both;
overflow: auto;
color: #000;
}
#site-footer a {
color:#ffffff;
}
#site-footer h2,
#site-footer h2 a,
#site-footer .links {
color:#ffffff;
font-family: Arvo,Georgia,serif;
font-weight: normal;
text-transform: uppercase;
font-style: normal;
font-size: 16px;
}
/* Footer slutt */
/**
* Typography
*/
body, input, textarea,
#program-3days a,
#program-6days a,
#digest_events a,
article a .entry-content,
article.event .event-type a,
article .tags a,
.tax-event_type .parent a
{
color:#333333;
}
#digest_events h2 a {
color:#FF9E29;
}
body, input, textarea {
font: 14px Arial,sans-serif;
line-height:1.5em;
}
p, ul, ol, dd, pre {
margin-bottom:1.5em;
}
pre, code {
font:14px Monaco, monospace;
line-height:1.3;
}
a:hover, a:focus {
text-decoration:underline;
}
a:focus { outline:thin dotted; }
a:hover, a:active { outline: none; }
a.blocklink, a.blocklink:visited,
a.blocklink:focus, a.blocklink:active,
a.blocklink:hover {
color:inherit;
text-decoration:none;
}
abbr {
border-bottom: 1px dotted;
}
h1 {
font-style:normal;
}
h1,h2,h3,h4,h5,h6,
.single-event .entry-meta,
.archive.tax-event_type #tab-control ul li {
font-family: Arvo, Georgia, serif;
line-height:1.2;
}
h1,h2,h3,h4,h5,h6 {
margin-bottom:0.5em;
}
a,a:visited,
h1,h2,h3,h4,h5,h6
{
color: #ff9e29;
text-decoration:none;
}
h1,
.archive.tax-event_type #tab-control ul li {
font-size: 35px;
font-weight:bold;
font-style:normal;
}
h2,
#featured article h1,
.single-event h1,
.single-event .entry-meta
{
font-size:20px;
letter-spacing:2px;
font-style:italic;
font-weight:normal;
}
h3 {
font-size:23px;
}
h4 {
font-size:16px;
}
h5 {
font-size:16px;
}
h6 {
font-size:16px;
}
/* Single posts */
.single-post h1.entry-title {
margin-bottom:0;
}
.single-post .byline {
color: #aaaaaa;
}
.single-post .byline .author {
color: #333;
font-weight: bold;
}
/* Menus */
#menu {
font-family:Arvo,Georgia,serif;
font-weight:bold;
font-size:20px;
text-transform:uppercase;
}
/* Lists */
.entry-content ul,
.entry-content ol {
padding:0;
}
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
padding-left:20px;
}
.entry-content ul {
list-style: circle inside;
}
.entry-content ul ul {
list-style: disc inside;
}
.entry-content ul ul ul {
list-style: square inside;
}
.entry-content ul ul ul ul {
list-style: circle inside;
}
.entry-content ul ul ul ul ul {
list-style: disc inside;
}
.entry-content ul ul ul ul ul ul {
list-style: square inside;
}
.entry-content ol {
list-style: decimal inside;
}
.entry-content ol ol {
list-style: upper-roman inside;
}
.entry-content ol ol ol {
list-style: lower-roman inside;
}
.entry-content ol ol ol ol {
list-style: decimal inside;
}
.entry-content ol ol ol ol ol {
list-style: upper-roman inside;
}
.entry-content ol ol ol ol ol ol {
list-style: lower-roman inside;
}
.big_bullet {
display:inline-block;
width: 16px;
height: 16px;
background-color: #ff9e29;
border-radius:8px;
vertical-align:middle;
}
/* Quotes */
.entry-content blockquote {
font-style:italic;
background:#eeeeee;
margin:1em 2em;
padding:1.5em 1.5em 0;
overflow:hidden;
}
.entry-content blockquote blockquote {
border:1px solid #000000;
}
.entry-content cite {
font-style:italic;
}
/* table */
.table {
width:100%;
border-collapse:collapse;
border-spacing: 0;
margin-bottom: 20px;
}
.table th {
text-align: left;
}
.table tr:nth-child(even) td,
.table tr.alt td {
background-color: #F9F9F9;
}
.table tr.month td {
background-color: #FFF;
}
.table th, .table td {
padding-left:0px;
padding-right:0px;
padding-top: 8px;
padding-bottom: 8px;
line-height: 18px;
text-align: left;
border-top: 1px solid #DDD;
}
/* Forms and buttons */
label {
cursor:pointer;
}
input[type="button"],
input[type="submit"],
.btn {
font-family: Arial, sans-serif;
color: #666;
font-weight: bold;
font-size: 20px;
line-height:21px;
padding: 8px 15px;
border: none;
background: #e6e6e6 url('img/gradient.png') repeat-x bottom left;
margin: 30px 5px 20px 0;
text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
border: 1px solid #bfbfbf;
display: inline-block;
text-decoration: none;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
text-align: center;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
a.btn :visited,
a.btn {
color: #666666;
}
input[type="button"]:hover,
input[type="submit"]:hover,
.btn:hover,
input[type="button"]:focus,
input[type="submit"]:focus,
.btn:focus {
background-color: #FF9E29;
color: #ffffff;
text-decoration: none;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
border-color: #cc7f21;
border-bottom-color: #a6671b;
cursor:pointer;
}
.newsletter-form .btn {
margin-top:0;
margin-bottom:0;
}
input[type="text"],
input[type="email"]
{
font-size: 18px;
line-height: 21px;
padding: 8px;
border: 1px solid #CCC;
background: #EEE;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
input[type="text"]:active,
input[type="email"]:active
{
background:#ff9e29;
}
input[type="text"]:focus,
input[type="email"]:focus {
background:#fff;
}
/* Images */
img {
max-width:100%;
height:auto;
}
.entry-content img {
margin: 0 0 10px;
}
.entry-content img.alignright {
margin: 0 0 10px 10px;
}
.entry-content img.alignleft {
margin: 0 10px 10px 0;
}
.single-event .entry-title {
margin-bottom:0;
font-size: 35px;
margin-bottom:45px;
font-weight: bold;
font-style: normal;
}
/* Icons */
#digest_news_headline:before,
#digest_events_headline:before,
.type-event .entry-title:before,
.single-event .entry-meta .entry-meta-info:before {
content:'';
/*background:#ff9e29;*/
border-radius:50%;
width:50px;
height:50px;
float: left;
position:relative;
top:10px;
margin-right:15px;
}
.single article.type-event .entry-title:before {
display:none;
}
#digest_news_headline:before,
#digest_events_headline:before {
width:35px;
height:35px;
top:-7px;
margin-right:10px;
}
#digest_news_headline,
#digest_events_headline {
margin:0.3em 0 0.6em;
}
#digest_news_headline:before {
background:url('img/ikon_nyheter-35x35.png');
}
#digest_events #digest_events_headline:before {
background:url('img/ikon_tiles-35x35.png');
}
/*.single-event .entry-meta h1:before,*/
#featured article.type-event h1:before,
#featured article.type-post h1:before,
.tax-event_type h1.page-title:before,
.single-post #content article.type-post h1:before,
.blog .page-title:before
{
content:'';
border-radius:50%;
width:50px;
height:50px;
display:inline-block;
float:none;
position:relative;
top: 10px;
margin-right:15px;
}
.event-type-annet .page-title:before,
.event-type-annet .entry-title:before,
.event-type-annet .entry-meta-info:before
{
background-image:url('img/ikon_quiz-50x50.png');
}
.event-type-quiz .page-title:before,
.event-type-quiz .entry-title:before,
.event-type-quiz .entry-meta-info:before
{
background-image:url('img/ikon_quiz-50x50.png');
}
.event-type-mote .page-title:before,
.event-type-mote .entry-title:before,
.event-type-mote .entry-meta-info:before,
.event-type-debatt .page-title:before,
.event-type-debatt .entry-title:before,
.event-type-debatt .entry-meta-info:before
{
background-image:url('img/ikon_debatt-50x50.png') !important;
}
.event-type-foredrag .page-title:before,
.event-type-foredrag .entry-title:before,
.event-type-foredrag .entry-meta-info:before
{
background:url('img/ikon_foredrag-50x50.png');
}
.event-type-konsert .page-title:before,
.event-type-konsert .entry-title:before,
.event-type-konsert .entry-meta-info:before
{
background:url('img/ikon_konsert-50x50.png');
}
.event-type-film .page-title:before,
.event-type-film .entry-title:before,
.event-type-film .entry-meta-info:before
{
background:url('img/ikon_film-50x50.png');
}
.event-type-fest .page-title:before,
.event-type-fest .entry-title:before,
.event-type-fest .entry-meta-info:before
{
background:url('img/ikon_fest-50x50.png');
}
.event-type-teater .page-title:before,
.event-type-teater .entry-title:before,
.event-type-teater .entry-meta-info:before
{
background:url('img/ikon_teater-50x50.png');
}
#featured article.type-post h1:before,
.single-post #content article.type-post h1:before,
.blog .page-title:before
{
background:url('img/ikon_nyheter-50x50.png');
}
#program-6days .time {
color:#ff9e29;
}
#program-6days .event-type,
#program-6days .event-type a {
color:#aaa;
font-size:13px;
}
/* End icons */
/**********
* Social *
**********/
#social-sharing div {
display: inline-block;
}
#social-sharing .share-twitter {
position: relative;
top: 6px;
}
#social-sharing .share-facebook {
position: relative;
top: 6px;
overflow: hidden;
}
#social-sharing .gcal {
padding-left: 20px;
}
/***********************************
* Styles for individual templates *
***********************************/
#featured {
position:relative;
}
.newsletter-form {
margin-top:2em;
}
.single-event article .event-type,
#featured article .event-type {
font-family:Arvo,Georgia,serif;
font-size: 20px;
font-style: italic;
font-weight: normal;
padding-left: 0px;
padding-bottom: 0px;
}
.home #featured article.type-event .type,
.tags,
.archive .parent
{
font-family:Arvo,Georgia,serif;
font-size: 20px;
font-style: italic;
font-weight: normal;
padding-left: 67px;
position:relative;
top:20px;
}
.type-event .event-facebook img {
height: 20px;
position:relative;
top: 3px;
}
#featured article h1 {
font-family:Arvo,Georgia,serif;
font-size:35px;
letter-spacing:2px;
font-style:normal;
font-weight:normal;
margin-bottom:0;
padding-left:63px;
padding-bottom:35px;
text-indent:-63px;
}
#featured article h1.long {
font-size: 30px
}
#featured article .datetime,
#featured article .price,
#featured article .venue {
position:absolute;
display:none;
bottom: 20px;
left: 0px;
right:0px;
}
#featured article .price {
text-align: left;
}
#featured article .datetime {
text-align: center;
}
#featured article .venue {
text-align: right;
}
#featured article:hover .datetime,
#featured article:hover .price,
#featured article:hover .venue {
display:block;
}
#featured #prevLink {
position:absolute;
top: 324px;
left: 500px;
}
#featured #nextLink {
position:absolute;
top: 324px;
left: 555px;
}
#featured:hover #prevLink,
#featured:hover #nextLink {
display:block;
}
#featured article a.blocklink {
width:100%;
height:100%;
display:block;
}
#featured article header {
height:322px;
}
#featured {
height:322px;
margin-top:30px;
margin-bottom:30px;
}
/* Fixes weird js bug on 1024x screens. */
#featured #slider,
#featured #slider article {
width:1200px !important;
}
#featured #slidernav {
position:absolute;
top:322px;
left:15px;
}
#featured #slidernav a span.circle {
content:'';
background:#ff9e29;
border-radius:50%;
width:15px;
height:15px;
display:inline-block;
}
#featured #slidernav a {
content:'';
width:15px;
height:15px;
display:inline-block;
padding:4px;
z-index:10;
}
#featured #slidernav a.activeSlide span.circle {
background: #BCBEC0;
}
#featured #slidernav a:focus {
outline: none;
}
.home #digest_news article {
height: 130px;
}
.home #digest_news .post > a > img {
float:left;
margin:2px 10px 0 0;
width:93px;
height:auto;
}
.home #digest_news .post a.permalink:before {
content: '';
background: #FF9E29;
border-radius: 50%;
width: 12px;
height: 12px;
display: inline-block;
margin-right:7px;
}
.home #digest_news .when,
.archive a .event-date
{
font-size:0.9em;
color:#aaa;
}
/* Search template */
.search #content > .hentry .entry-title {
font-size: 24px;
margin-bottom: 0px;
}
.search #content > .hentry .entry-byline {
padding-left: 20px;
font-size: 12px;
font-style: italic;
}
/* End search template */
/* Program template */
/* Add to calendar link */
.page-program .entry-title {
display: inline-block;
}
.page-program #content .add-calendar{
color: #999;
margin-bottom: 1em;
display: inline-block;
font-size: 12px;
margin-left: 10px;
font-size: 12px;
}
/* Icons */
.page-program .view-mode:hover {
cursor:pointer;
opacity:0.8;
filter:alpha(opacity=80); /* For IE8 and earlier */
}
.page-program .view-mode.marked {
opacity:1;
filter:alpha(opacity=100); /* For IE8 and earlier */
}
.page-program .view-mode {
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
.page-program .view-mode.list {
margin-left: 5px;
}
.page-program .category-chooser-item, .program-style-selector-item {
display:inline-block;
margin:10px;
}
.page-program .category-chooser-item:first-child {
margin-left: 0;
}
.page-program .category-chooser-item > label > span,
.page-program .program-style-selector-item > span {
display:block;
margin:auto;
text-align:center;
font-size: 12px;
color: #666;
}
.page-program .category-chooser-item > label > img,
.page-program .program-style-selector-item > img {
display:block;
margin:auto;
}
.page-program .category-chooser-item label > img {
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
.page-program .category-chooser-item label > img:hover {
opacity:0.6;
filter:alpha(opacity=60); /* For IE8 and earlier */
}
.page-program .category-chooser-item label > img.checked {
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}
.page-program .category-chooser-item label > img.checked:hover {
opacity:0.8;
filter:alpha(opacity=80); /* For IE8 and earlier */
}
/* table */
.page-program .table .date {
width:100px;
}
.page-program .table tr.month td {
background-color: #FFF;
}
.page-program .table tr.month,
.page-program .table tr.month td {
border: none;
}
.page-program .table tr.month td {
padding-top:25px;
}
/* End program template */
/* Archive templates */
#content article.slim,
.archive #tab-control
{
padding-bottom:25px;
border-bottom:1px solid #E99835;
margin-bottom:25px;
}
.archive #tab-control {
padding-bottom:15px;
}
.archive #tab-control a {
color:#ccc;
}
.archive #tab-control a:active,
.archive #tab-control a:hover {
color:#aaa;
text-decoration:none;
}
.archive #tab-control .current a {
color:#ff9e29;
}
.archive #tab-control .current a:active,
.archive #tab-control .current a:hover {
cursor:default;
}
.archive #content header .description {
margin-bottom:3em;
}
.archive.tax-event_type #tab-control ul {
list-style:none;
margin:0;
}
.archive.tax-event_type #tab-control ul li {
float:left;
margin-bottom:-0px;
}
.archive.tax-event_type #tab-control ul li:last-child {
float:right;
}
/* Foreningene/Associations */
.page-foreningene .association {
display: table-cell;
height: 200px;
width: 300px; /* grid_3 width + 15*2px margin */
margin: 0 15px;
text-align: center;
vertical-align: middle;
}
.page-foreningene .association-row {
display: table-row;
margin-bottom: 15px;
}