bloggdesign

Installasjon guiden


CSS

/**DESIGNET ER LAGET AV GRATISDESIGNET.BLOGG.NO**/ @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,700,700italic|Open+Sans:300,300italic,400,400italic,700,700italic); @import url('https://fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600'); @import url('https://fonts.googleapis.com/css?family=Mr+De+Haviland'); html { width: 100%; overflow-x: hidden; overflow-y: auto; } #noneunder a:after { display:none; } img#profileimg { width: 3em; border-radius: 50%; margin-top: 0em; max-width: 100%; font-size: 13px; text-transform: uppercase; margin-bottom: -1em; } .fa:hover { -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; color: #000000; } div#copyright { text-align: center; background: rgb(247, 247, 247); padding: 2em; font-size: 17px; color: #cfcfcf; } a#copya { font-weight: 400; color: #727172; } a#copya:hover { font-weight: 400; color: #000; } input#comment_submit { font-size: 12px!important; background: #ffffff!important; color: #353535; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } input#comment_submit:hover { font-size: 12px!important; background: #353535!important; color: #ffffff; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } .fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 14px; color: #8f8f8f; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } .blog-entry .fb-like, .blog-entry .fblike { margin-bottom: 15px; margin-top: 2em; float: right; } div#profile { margin-top: 1em; } a#logo-signatur { font-family: 'Mr De Haviland', cursive; font-size: 4em; } body{ -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */ -moz-animation: fadein 2s; /* Firefox < 16 */ -ms-animation: fadein 2s; /* Internet Explorer */ -o-animation: fadein 2s; /* Opera < 12.1 */ animation: fadein 2s; } textarea#comment_text { background: #ffffff!important; } div#vises { width: 100%; margin-left: auto; margin-right: auto; background: #ffffff; padding: 2em; } #na123 { clear: both; padding-bottom: 3em; } div#instabot { background: #eeeeee; margin-top: 3em; padding-bottom: 3em; padding-top: 3em; } #footer-wrap > footer { max-width: 1000px; margin-left: auto; margin-right: auto; margin-bottom: 20px; color: #333; margin-top: 2em; font-weight: 400; font-size: 12px; } #footer-wrap { background: #f9f9f9; padding-bottom: calc(20px + 30px); margin-bottom: -30px; text-align: center; font-size: 10.4px; color: #333; } #comments a img.avatar, #comments img.avatar { border: 0; float: left; margin-right: 15px; border-radius: 50%; } #comments .content { font-size: 16px; line-height: 1.4; } textarea#comment_text { border: none!important; outline: none!important; } input, textarea { max-width: 100% !important; -webkit-box-sizing: border-box!important; -moz-box-sizing: border-box!important; box-sizing: border-box!important; background: none!important; border: none!important; border-bottom: solid 1px #ddd!important; font-size: 15px!important; padding: 1em!important; } #vises-mobil { display: none!important; } .widget-social { margin-top: 11px !important; text-transform: uppercase; font-weight: 500; color: #000; text-align: left; position: relative; } #top-menu > ul > li img { width: 3em; border-radius: 50%; margin-top: 0em; } div#profile img { width: 4em; border-radius: 50%!important; margin-top: 9px; margin-bottom: 18px; } button#show-more-entries { background: #ececec; color: #1e1e1e; border: 0; width: 50%; } #top-menu > ul > li > a{ display: inline-block; position: relative; padding-bottom: 3px; } #top-menu > ul > li > a:after{ content: ''; display: block; margin: auto; height: 2px; width: 0px; background: transparent; transition: width .5s ease, background-color .5s ease; } #top-menu > ul > li > a:hover:after { width: 100%; background: black; } h2 { display: inline-block; position: relative; padding-bottom: 3px; } h2:after { content: ''; display: block; margin: auto; height: 2px; width: 0px; background: transparent; transition: width .5s ease, background-color .5s ease; } h2:hover:after { width: 100%; background: black; } /*Scroll-top*/ #return-to-top { position: fixed; bottom: 30px; right: 40px; background: rgb(0, 0, 0); background: rgba(0, 0, 0, 0.7); width: 50px; height: 50px; display: block; text-decoration: none; -webkit-border-radius: 35px; -moz-border-radius: 35px; border-radius: 35px; display: none; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } #return-to-top i { color: #fff; margin: 0; position: relative; left: 0px; top: 14px; font-size: 19px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } #return-to-top:hover { background: rgba(0, 0, 0, 0.9); } #return-to-top:hover i { color: #fff; top: 5px; } /*end*/ a#logo:hover { font-family: 'Mr De Haviland', cursive; font-size: 7em; position: relative; top: -9px; color: #7f7f7f; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } a#logo { font-family: 'Mr De Haviland', cursive; font-size: 7em; position: relative; top: -9px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } div#tpbnr { background: url(https://www.toptal.com/designers/subtlepatterns/patterns/sayagata-400px.png); z-index: 333!important; position: relative; width: 100% !important; text-align: center; margin-top: 0em; margin-bottom: 2em; } .blog-entry .bottom-meta { text-align: center; border: 1px solid rgba(0,0,0,0.05); padding: 5px 10px; background: #ffffff; color: #222222; display: none; } .content img { padding-bottom: 1em; width: 100%; } body { background-color: #f9f9f9; font-size: 13px; line-height: 1.5; font-family: 'Work Sans', sans-serif; font-weight: 300; text-align: center; color: #222222; margin: 0; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } p, ul, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; } h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a, h5, h5 a { font-family: 'Work Sans', sans-serif; font-weight: 300; text-align: center; color: #444444; margin-bottom: 10px; } a { color: #000000; text-decoration: none; } a:hover { text-decoration: none; } a, li { -webkit-transition: color 0.3s, background 0.3s; -moz-transition: color 0.3s, background 0.3s; -ms-transition: color 0.3s, background 0.3s; -o-transition: color 0.3s, background 0.3s; transition: color 0.3s, background 0.3s; } h1 { font-size: 28px; } h2 { font-size: 23.8px; } h3 { font-size: 16.8px; } h4 { font-size: 15.4px; } img, iframe { max-width: 100%; } a > img { border: 0; } input, textarea, select { padding: 3px 10px; background: #f7f7f7; border: 1px solid #ccc; outline: none; font-family: inherit; } button, input[type="submit"] { padding: 3px 10px; background: #6c321e; color: #fff; border: 0; cursor: pointer; font-family: inherit; outline: none; } button { padding: 10px 30px; } .pad { padding: 20px; } .pad-double { padding: 30px 40px; } .pad-top { padding-top:13.333333333333px; } .marg-top-bottom { margin: 20px 0; } p { text-align: justify; font-size: 14px; line-height: 200%; } .max { max-width: 1245px; margin-left: auto; margin-right: auto; } .read-max > * { max-width: 800px; margin-left: auto; margin-right: auto; } .color-1 { background: #ffffff; } .color-2 { background: #333; } .mobile-only { display: block; } #tpbnr *, .bno_adboard * { margin: auto !important; text-align: center !important; max-width: 100% !important; } #top-menu, #footer, #sidebar { font-size: 11.05px; } #top-widgets, #bottom-widgets { text-align: center; } #top-widgets { max-width: 1000px; } .parallax { height: 600px; overflow: hidden; max-width: 100%; margin: auto; } #header { background: url(http://www.fashionmumblr.com/wp-content/uploads/2017/07/Josie-10july-edits-112.jpg) center; background-size: cover; height: 600px; } #top-title { display: none; } #top-title h1 { display: none; } #top-title p { display: none; } #top-title h1, #top-title p { text-align: center; } #top-menu { padding: 20px 0; text-align: center; margin: auto; max-width: 1000px; display: block; border: none; z-index: 3333333333!important; font-weight: 400; width: 100%; max-width: 100%; height: auto; line-height: 40px; top: 0; left: 0; right: 0; font-size: 10px; text-transform: uppercase; transition: background 250ms ease; } #mobile-menu-icon { border: 0; outline: 0; cursor: pointer; background: url(http://imageshack.com/a/img922/3599/IzF0f3.png) center no-repeat; background-size: contain; width: 100%; color: transparent; font-size: 0; height: 25px; margin-top: 6px; } #top-menu > ul { width: 100%; display: none; } #top-menu > ul > li { display: block; vertical-align: top; margin-top: 5px; position: relative; background: rgba(255,255,255,0.05); font-size: 13px; text-transform: uppercase; } #top-menu > ul > li > a, #top-menu > ul > li > span { cursor: pointer; color: #000; font-size: 12px; } #top-menu > ul > li > ul { z-index: 999; position: absolute; opacity: 0; pointer-events: none; -webkit-transform: translateY(20px); -moz-transform: translateY(20px); -ms-transform: translateY(20px); -o-transform: translateY(20px); transform: translateY(20px); text-align: center; top: calc(100% + 10px); left: 0; padding: 10px 0; background: #fff; width: 100%; list-style: none; box-shadow: 0px 0px 10px rgba(0,0,0,0.1); -webkit-transition: transform 0.2s, opacity 0.2s; -moz-transition: transform 0.2s, opacity 0.2s; -ms-transition: transform 0.2s, opacity 0.2s; -o-transition: transform 0.2s, opacity 0.2s; transition: transform 0.2s, opacity 0.2s; } #top-menu > ul > li.visible-child > ul { opacity: 1; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); transform: translateY(0);; pointer-events: initial; } #top-menu > ul > li > ul > li { padding: 5px 20px; } #top-menu > ul > li > ul > li:hover { background: #eee; } .stick #top-menu { position: fixed; top: 0; left: 0; width: 100%; max-width: 100%; height: auto; line-height: 40px; z-index: 20; top: 0; left: 0; right: 0; font-size: 10px; text-transform: uppercase; transition: background 250ms ease; } #main, #sidebar { display: block; margin-bottom: 20px; } .blog-entry > .content { text-align: left; } .blog-entry > header { padding: 20px 0; } .blog-entry header h2 { margin-bottom: 5px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: normal; text-align: center; } .blog-entry .header-info { text-align: center; display: none; } .blog-entry .fb-like, .blog-entry .fblike { margin-bottom: 15px; margin-top: 1em; } .blog-entry .bottom-meta { text-align: center; border: 1px solid rgba(0,0,0,0.05); padding: 5px 10px; background: #ffffff; color: #222222 } .blog-entry .bottom-meta a{ color: #6c321e; } .blog-entry .header-info li, .blog-entry .bottom-meta li { list-style: none; display: inline-block; margin: 0 5px; font-size: 11.05px; } #sidebar > div, .blog-entry, .bno_adboard { margin-bottom: 40px !important; background: #fff; padding: 10px 50px; } #hidden-entries { padding: 20px 0; } #sidebar img { margin-bottom: 15px; } #sidebar ul { list-style: none; } #sidebar > div > ul > li { line-height: 2.2; border-bottom: 1px solid #eee; } #sidebar .searchfield { margin: auto; text-align: center; } #sidebar .searchfield input { border: 0; width: calc(100% - 35px); margin: 0; } #sidebar .searchfield input[type="submit"] { background: #6c321e url('http://imagizer.imageshack.us/a/img911/3692/GtpWvt.png') no-repeat; background-position: center; background-size: 50%; color: transparent; cursor: pointer; width: 30px; } @media(max-width:800px){ p { text-align: initial; font-size: 14px; line-height: 200%; } img#profileimg { width: 3em; border-radius: 50%; margin-top: 0em; max-width: 100%; font-size: 13px; text-transform: uppercase; margin-bottom: -1em; display: none; } .widget-social { display: none; } #sidebar > div, .blog-entry, .bno_adboard { margin-bottom: 40px !important; background: #fff; padding: 10px 30px; } div#instabot { background: #eeeeee; margin-top: 3em; padding-bottom: 0em; padding-top: 0px; } .widget-social { text-align: center; font-size: 21px; } #vises-mobil { display: -webkit-box!important; text-align: center!important; margin-left: auto; margin-right: auto; font-size: 15px; text-transform: initial; text-align: justify!important; text-align: -webkit-center!important; font-size: 13px; padding: 21px; } #top-menu > ul > li img { width: 4em; border-radius: 50%; margin-bottom: 0em; margin-top: -1em; } a#logo:hover { font-family: 'Mr De Haviland', cursive; font-size: 7em; position: relative; top: 2px; color: #7f7f7f; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } a#logo { font-family: 'Mr De Haviland', cursive; font-size: 7em; position: relative; top: 1px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } #top-menu > ul { width: 100%; display: none; background: rgb(247, 247, 247); padding-top: 5em; padding-bottom: 5em; margin-top: 3em; } div#top-menu { background: #fff; line-height: inherit!important; } #return-to-top { position: fixed; bottom: 30px; right: 10px; } } @media(min-width: 779px) { #main { float: none; margin: 0 auto; width: 75%; } #sidebar { display: none; width: calc(100% - 75% - 20px); } .mobile-only { display: none; } #top-menu > ul { display: block; } #top-menu > ul > li { padding: 0 22px; margin: 0; display: inline-block; background: transparent; } #top-menu > ul > li > ul { width: 300px; text-align: center; } .parallax { height: 600px; } #header { height: 600px; } } #wrap:after { content: ''; display: block; clear:both; } #footer-wrap { background: #ffffff; padding-bottom: calc(20px + 30px); margin-bottom: -30px; text-align: center; font-size: 10.4px; color: #333; } #footer-wrap > footer { max-width: 1000px; margin-left: auto; margin-right: auto; margin-bottom: 20px; color: #333; } #footer-wrap a { color: #222; } /* ############## ## Comments ############### */ #comments, #newcomment { margin: auto; text-align: left; padding: 45px 0; } #comments h3, #newcomment h3 { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.03); } #newcomment { max-width: 568px; } #newcomment input, #newcomment textarea, #newcomment input#comment_authorurl { width: 100%; } #newcomment #comment_author_wrapper, #newcomment #comment_authoremail_wrapper, #newcomment #comment_submit_wrapper, #newcomment #comment_remember_wrapper { width: 48.75%; margin-right: 0.5%; float: left; } #newcomment #comment_authoremail_wrapper { margin-right: 0; float: right; } #commentform > div { margin: 10px 0; } input, textarea { max-width: 100% !important; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } input#comment_remember { width: auto; } #comments h4, #comments p { text-align: left; margin-bottom: 5px; min-height: 20px; } #comments .meta p { font-size: 12px; } #comments .content { font-size: 90%; line-height: 1.4; } .entry #comments .meta { border: 0; } #comments a img.avatar, #comments img.avatar { border: 0; float: left; margin-right: 15px; border-radius: 100%; } #comments .meta, #comments .content { display: block; } #comments .meta { width: auto; } #comments .user, #comments .other, #comments .owner, #comments .reply { border: 0px; background: transparent; margin: 40px 0; position: relative; } #comments .reply { margin-top: -10px; margin-left: 15%; } #comments .reply:before { content: ' '; width: 20px; height: 35px; background: url('http://imageshack.com/a/img922/9444/DawRhW.png') center no-repeat; background-size: contain; position: absolute; right: calc(100% + 15px); top: 0; } .comment .content { margin-top: 20px; width: auto; padding: 25px; background: #ffffff; position: relative; } .comment .content:before { content: ' '; position: absolute; width: 0; height: 0; top: -15px; left: calc(3%); border-left: 10px solid transparent; border-bottom: 15px solid #f7f7f7; border-right: 10px solid transparent; } #comment_remember_wrapper { text-align: right; } @keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Firefox < 16 */ @-moz-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Safari, Chrome and Opera > 12.1 */ @-webkit-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Internet Explorer */ @-ms-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Opera < 12.1 */ @-o-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

Forsiden

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:tag="http://blogg.no/ns/tag" xml:lang="no" lang="no"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>${BlogTitle} | ${BlogDescription}</title> <meta name="description" content="${BlogDescription}" /> <script type="text/javascript">var domainName = ".${AppDomain}";</script> <script type="text/javascript" src="http://static.blogg.no/blogs/script.js"></script> <link rel="alternate" href="http://feeds.blogg.no/${BlogId}/post.rss" title="Siste innlegg" type="application/rss+xml" /> <link rel="stylesheet" href="${BlogUrl}style.css" type="text/css" /> <link rel="shortcut icon" href="http://static.blogg.no/blogs/favicon.gif" type="image/png" /> <script type='text/javascript' src='//code.jquery.com/jquery-1.10.1.js'></script> <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> <a href="javascript:" id="return-to-top"><i class="icon-chevron-up"></i></a> <script src="https://use.fontawesome.com/8c3064b1a0.js"></script> <script> // ===== Scroll to Top ==== $(window).scroll(function() { if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px $('#return-to-top').fadeIn(200); // Fade in the arrow } else { $('#return-to-top').fadeOut(200); // Else fade out the arrow } }); $('#return-to-top').click(function() { // When arrow is clicked $('body,html').animate({ scrollTop : 0 // Scroll to top of body }, 500); }); </script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <div id="top-menu" class="color-1"> <button id="mobile-menu-icon" class="mobile-only">Meny</button> <ul class="max"> <a href="${ProfileUrl}"><img id="profileimg" src="${ProfileImageUrl}"></a> <li><a href="${BlogUrl}">Hjem</a></li> <li><a href="${ProfileUrl}">Profil</a></li> <li><a span class="menu-toggler">Kategorier</span> <ul> <tag:categorylist limit="100"> <li><a href="${CategoryLink}">${CategoryName}</a></li> </tag:categorylist> </ul> </li> <li><a span class="menu-toggler">Arkiv</span> <ul> <tag:archivelist limit="100"> <li><a href="${ArchiveLink}">${ArchiveName}</a></li> </tag:archivelist> </ul> </li> <tag:linklist> <li><a href="${LinkUrl}">${LinkName}</a></li> </tag:linklist> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-facebook"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-instagram"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-pinterest"></i></a> </ul> </div></div> <body class="home"> <div id="contain"> <a href="${BlogUrl}" id="logo">${BlogTitle}</a><br> <div class="parallax"> <div id="header"> </div> </div> <div id="top-widgets"> <tag:profile></tag:profile> <tag:include module="topwidgets"></tag:include> </div> <div id="wrap" class="max marg-top-bottom"> <div id="main" class="pad"> <tag:entrylist limit="5"> <div class="blog-entry"> <header> <div id="profile"> <a href="${ProfileUrl}"><img src="${ProfileImageUrl}"></a> </div> <a href="${EntryPermaLink}"><h2>${EntryTitle}</h2></a><br> <a href="${EntryPermaLink}#comments">${EntryCommentCount} comments</a> <div class="header-info"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> </div> </header> <div class="content"> ${EntryBody} <a href="${BlogUrl}" id="logo-signatur">${BlogTitle}</a> </div> <div class="bottom-meta"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> <li><a href="${EntryPermaLink}#comments">${EntryCommentCount} kommentarer</a></li> </div> </div> <div></div> </tag:entrylist> <button id="show-more-entries"> Vis flere innlegg </button> </div> <div id="hidden-entries" style="display: none"> <tag:entrylist limit="15" offset="5"> <div class="blog-entry"> <header> <a href="${EntryPermaLink}"><h2>${EntryTitle}</h2></a> <div class="header-info"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> </div> </header> <div class="content"> ${EntryBody} </div> <div class="bottom-meta"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> <li><a href="${EntryPermaLink}#comments">${EntryCommentCount} kommentarer</a></li> </div> </div> </tag:entrylist> </div> </div> </div> </div> </div> <div id="bottom-widgets"> <tag:include module="bottomwidgets"></tag:include> </div> <script> var $ = jQuery; $(document).ready(function() { var r = $("#top-menu"); var position = r.offset().top; var body = $("body"); var parallaxers = $('.parallax > div'); parallax(parallaxers); $(window).scroll(function() { parallax(parallaxers); var windowpos = $(window).scrollTop(); if(windowpos > position){ body.addClass('stick'); }else{ body.removeClass('stick'); } }); $(".menu-toggler").click(function() { $(this).parent().toggleClass('visible-child'); $(".menu-toggler").not($(this)).parent().removeClass('visible-child'); }); $("#mobile-menu-icon").click(function() { $(this).parent().find('ul').first().slideToggle('fast'); }); $("#show-more-entries").click(function() { $("#hidden-entries").slideToggle("fast"); }); }); function parallax(e){ var windowPos = $(window).scrollTop(); e.each(function() { var position = $(this).offset().top; var height = $(this).height(); $(this).css({ 'transform': 'translateY('+(-(windowPos - position) * 0.07) + 'px)', }); }); } </script> <div id="copyright">Design av <a id="copya" href="http://www.gratisdesignet.blogg.no/">www.gratisdesignet.blogg.no</a></div> <div id="instabot"> <!-- LightWidget WIDGET --><script src="//lightwidget.com/widgets/lightwidget.js"></script><iframe src="//lightwidget.com/widgets/ed7be5872d5d5c0ebc81490bbd76958b.html" scrolling="no" allowtransparency="true" class="lightwidget-widget" style="width: 100%; border: 0; overflow: hidden;"></iframe> </div> <div id="footer-wrap"class="color-2 read-max pad-double"> <footer id="footer"> <div style="text-align:center; max-width: 900px; margin: auto;"> Denne bloggen er personlige ytringer fra utgiver av bloggen. All bruk av bilder, tekst eller video fra bloggen må avtales med bloggens ansvarlige utgiver. Bloggen ligger på blogg.no og annonser på bloggen selges av Mediehuset Nettavisen. Ansvarlig redaktør for Mediehuset Nettavisen er Gunnar Stavrum.<br><br> <a href="http://blogg.no/"><img src="http://static.blogg.no/lib/blogo-50transp.png" alt="blogg.no"></a> <a href="http://nettavisen.no/"><img style="margin:0 20px;" src="http://blogg.no/img/na_logo.png" alt="Nettavisen.no"></a> <a href="http://blogglisten.no/"><img src="http://static.blogg.no/lib/blistenlogo-50transp.png" alt="blogglisten.no"></a> </div> </footer> </div> </body> </html>

Innlegg

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:tag="http://blogg.no/ns/tag" xml:lang="no" lang="no"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>${BlogTitle} | ${BlogDescription}</title> <meta name="description" content="${BlogDescription}" /> <script type="text/javascript">var domainName = ".${AppDomain}";</script> <script type="text/javascript" src="http://static.blogg.no/blogs/script.js"></script> <link rel="alternate" href="http://feeds.blogg.no/${BlogId}/post.rss" title="Siste innlegg" type="application/rss+xml" /> <link rel="stylesheet" href="${BlogUrl}style.css" type="text/css" /> <link rel="shortcut icon" href="http://static.blogg.no/blogs/favicon.gif" type="image/gif" /> <script type='text/javascript' src='//code.jquery.com/jquery-1.10.1.js'></script> <script src="https://use.fontawesome.com/8c3064b1a0.js"></script> <style> #top-menu { position: fixed!important; } </style> <script> // ===== Scroll to Top ==== $(window).scroll(function() { if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px $('#return-to-top').fadeIn(200); // Fade in the arrow } else { $('#return-to-top').fadeOut(200); // Else fade out the arrow } }); $('#return-to-top').click(function() { // When arrow is clicked $('body,html').animate({ scrollTop : 0 // Scroll to top of body }, 500); }); </script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body class="entry"> <div id="contain"> <div id="top-menu" class="color-1"> <button id="mobile-menu-icon" class="mobile-only">Meny</button> <ul class="max"> <a href="${ProfileUrl}"><img id="profileimg" src="${ProfileImageUrl}"></a> <div id="vises-mobil">${BlogDescription}</div> <li><a href="${BlogUrl}">Hjem</a></li> <li><a href="${ProfileUrl}">Profil</a></li> <li><a span class="menu-toggler">Kategorier</span> <ul> <tag:categorylist limit="100"> <li><a href="${CategoryLink}">${CategoryName}</a></li> </tag:categorylist> </ul> </li> <li><a span class="menu-toggler">Arkiv</span> <ul> <tag:archivelist limit="100"> <li><a href="${ArchiveLink}">${ArchiveName}</a></li> </tag:archivelist> </ul> </li> <tag:linklist> <li><a href="${LinkUrl}">${LinkName}</a></li> </tag:linklist> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-facebook"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-instagram"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-pinterest"></i></a> </ul> </div> <div id="top-title" class="max title pad"> <h1>${BlogTitle}</h1> <p>${BlogDescription}</p> </div><br> <a href="${BlogUrl}" id="logo">${BlogTitle}</a> <div class="parallax"> <div id="header"> </div> </div> </a> <div id="top-widgets"> <tag:profile></tag:profile> <tag:include module="topwidgets"></tag:include> </div> <div id="wrap" class="max marg-top-bottom"> <div id="main" class="pad"> <tag:entry> <div class="blog-entry"> <header> <div id="profile"> <a href="${ProfileUrl}"><img src="${ProfileImageUrl}"></a> </div> <a href="${EntryPermaLink}"><h2>${EntryTitle}</h2></a><br> <a href="${EntryPermaLink}#comments">${EntryCommentCount} comments</a> <div class="header-info"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> </div> </header> <div class="content"> ${EntryBody} <a href="${BlogUrl}" id="logo-signatur">${BlogTitle}</a> </div> <div class="bottom-meta"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> <li><a href="${EntryPermaLink}#comments">${EntryCommentCount} comments</a></li> </div> </div> </tag:entry> <tag:if test="${Comments == 1}"> <div id="comments"class="read"> <a name="comment" id="comment"></a> <h3> <tag:if test="${EntryCommentCount == 0}">0 comments <tag:elseif test="${EntryCommentCount == 1}" />1 comment <tag:else />${EntryCommentCount} comments</tag:if> </h3> <tag:commentlist> <div class="comment ${CommentClass}"> <div class="meta"> <tag:if test="${CommentProfileUrl != ''}"> <a href="${CommentProfileUrl}"> <img class="avatar" src="http://i.blogg.no/50x50/${CommentProfileImageUrl}" alt="" /> </a> <tag:else /> <tag:if test="${CommentAuthorUrl != ''}"> <a rel="nofollow" href="${CommentAuthorUrl}"> <img class="avatar" src="http://i.blogg.no/50x50/http://www.gravatar.com/avatar.php?gravatar_id=${CommentAuthorEmailHash}&amp;default=http%3A%2F%2Fstatic.blogg.no%2Fblogs%2Favatar.png&amp;size=50" alt="" /> </a> <tag:else /> <img class="avatar" src="http://i.blogg.no/50x50/http://www.gravatar.com/avatar.php?gravatar_id=${CommentAuthorEmailHash}&amp;default=http%3A%2F%2Fstatic.blogg.no%2Fblogs%2Favatar.png&amp;size=50" alt="" /> </tag:if> </tag:if> <h4>${CommentAuthorLinkIf}</h4> <p>${CommentDate} kl.${CommentTime}</p> </div> <div class="content">${CommentText}</div> </div> </tag:commentlist> </div> <div id="newcomment" class="clearfix"> <h3>Skriv en ny kommentar</h3> <form action="${AppUrl}index.bd?fa=comment.insert" id="commentform" method="post" onSubmit="doSubmit(this)"> <div id="comment_author_wrapper"> <input id="comment_author" type="text" name="author" onChange="doChange(this)" placeholder="Navn" value="" maxlength="100" /> </div> <div id="comment_authoremail_wrapper"> <input id="comment_authoremail" type="text" name="authoremail" onChange="doChange(this)"placeholder="E-post" value="" maxlength="100" /> </div> <div id="comment_authorurl_wrapper"> <input id="comment_authorurl" type="text" name="authorurl" onChange="doChange(this)" placeholder="http://" value="" maxlength="100" /> </div> <div id="comment_text_wrapper"> <textarea id="comment_text" name="comment" onChange="doChange(this);" cols="40" rows="10"placeholder="Din kommentar" ></textarea> </div> <div id="comment_submit_wrapper"> <input type="hidden" name="commentid" value="${CommentID}" /> <input id="comment_submit" class="submit" type="submit" name="submit" value="Send kommentar" /> </div> <div id="comment_remember_wrapper"> <input id="comment_remember" name="comment_remember" onClick="doCheck(this)" type="checkbox" value="1" /> <label for="comment_remember">Husk meg ?</label> </div> </form> </div> <tag:else /><br><div class="read"><h3><i>Kommentarer er skrudd av for dette innlegget</i></h3> </tag:if> </div> </div> </div> </div> <div id="bottom-widgets"> <tag:include module="bottom"></tag:include> </div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/nb_NO/sdk.js#xfbml=1&version=v2.5&appId=412664055568199"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <script> var $ = jQuery; $(document).ready(function() { var r = $("#top-menu"); var position = r.offset().top; var body = $("body"); var parallaxers = $('.parallax > div'); parallax(parallaxers); $(window).scroll(function() { parallax(parallaxers); var windowpos = $(window).scrollTop(); if(windowpos > position){ body.addClass('stick'); }else{ body.removeClass('stick'); } }); $(".menu-toggler").click(function() { $(this).parent().toggleClass('visible-child'); $(".menu-toggler").not($(this)).parent().removeClass('visible-child'); }); $("#mobile-menu-icon").click(function() { $(this).parent().find('ul').first().slideToggle('fast'); }); $("#show-more-entries").click(function() { $("#hidden-entries").slideToggle("fast"); }); }); function parallax(e){ var windowPos = $(window).scrollTop(); e.each(function() { var position = $(this).offset().top; var height = $(this).height(); $(this).css({ 'transform': 'translateY('+(-(windowPos - position) * 0.07) + 'px)', }); }); } </script> <div id="copyright">Design av <a id="copya" href="http://www.gratisdesignet.blogg.no/">www.gratisdesignet.blogg.no</a></div> <div id="instabot"> <!-- LightWidget WIDGET --><script src="//lightwidget.com/widgets/lightwidget.js"></script><iframe src="//lightwidget.com/widgets/ed7be5872d5d5c0ebc81490bbd76958b.html" scrolling="no" allowtransparency="true" class="lightwidget-widget" style="width: 100%; border: 0; overflow: hidden;"></iframe> </div> <div id="footer-wrap"class="color-2 read-max pad-double"> <footer id="footer"> <div style="text-align:center; max-width: 900px; margin: auto;"> Denne bloggen er personlige ytringer fra utgiver av bloggen. All bruk av bilder, tekst eller video fra bloggen må avtales med bloggens ansvarlige utgiver. Bloggen ligger på blogg.no og annonser på bloggen selges av Mediehuset Nettavisen. Ansvarlig redaktør for Mediehuset Nettavisen er Gunnar Stavrum.<br><br> <a href="http://blogg.no/"><img src="http://static.blogg.no/lib/blogo-50transp.png" alt="blogg.no"></a> <a href="http://nettavisen.no/"><img style="padding:0 20px;" src="http://blogg.no/img/na_logo.png" alt="Nettavisen.no"></a> <a href="http://blogglisten.no/"><img src="http://static.blogg.no/lib/blistenlogo-50transp.png" alt="blogglisten.no"></a> </div> </footer> </div> </body> </html>

Kategori

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:tag="http://blogg.no/ns/tag" xml:lang="no" lang="no"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>${BlogTitle} | ${BlogDescription}</title> <meta name="description" content="${BlogDescription}" /> <script type="text/javascript">var domainName = ".${AppDomain}";</script> <script type="text/javascript" src="http://static.blogg.no/blogs/script.js"></script> <link rel="alternate" href="http://feeds.blogg.no/${BlogId}/post.rss" title="Siste innlegg" type="application/rss+xml" /> <link rel="stylesheet" href="${BlogUrl}style.css" type="text/css" /> <link rel="shortcut icon" href="http://static.blogg.no/blogs/favicon.gif" type="image/gif" /> <script type='text/javascript' src='//code.jquery.com/jquery-1.10.1.js'></script> <script src="https://use.fontawesome.com/8c3064b1a0.js"></script> <style> #top-menu { position: fixed!important; } </style> <script> // ===== Scroll to Top ==== $(window).scroll(function() { if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px $('#return-to-top').fadeIn(200); // Fade in the arrow } else { $('#return-to-top').fadeOut(200); // Else fade out the arrow } }); $('#return-to-top').click(function() { // When arrow is clicked $('body,html').animate({ scrollTop : 0 // Scroll to top of body }, 500); }); </script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body class="archive"> <div id="contain"> <div id="top-title" class="max title pad"> <h1>${BlogTitle}</h1> <p>${BlogDescription}</p> </div> <div id="top-menu" class="color-1"> <button id="mobile-menu-icon" class="mobile-only">Meny</button> <ul class="max"> <a href="${ProfileUrl}"><img id="profileimg" src="${ProfileImageUrl}"></a> <div id="vises-mobil">${BlogDescription}</div> <li><a href="${BlogUrl}">Hjem</a></li> <li><a href="${ProfileUrl}">Profil</a></li> <li><span class="menu-toggler">Kategorier</span> <ul> <tag:categorylist limit="100"> <li><a href="${CategoryLink}">${CategoryName}</a></li> </tag:categorylist> </ul> </li> <li><span class="menu-toggler">Arkiv</span> <ul> <tag:archivelist limit="100"> <li><a href="${ArchiveLink}">${ArchiveName}</a></li> </tag:archivelist> </ul> </li> <tag:linklist> <li><a href="${LinkUrl}">${LinkName}</a></li> </tag:linklist> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-facebook"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-instagram"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-pinterest"></i></a> </ul> </div></div> <a href="${BlogUrl}" id="logo">${BlogTitle}</a><br> <div class="parallax"> <div id="header"> </div> </div> </a> <div id="top-widgets"> <tag:profile></tag:profile> <tag:include module="topwidgets"></tag:include> </div> <div id="wrap" class="max marg-top-bottom"> <div id="main" class="pad"> <tag:entrylist limit="3000"> <div class="blog-entry"> <header> <div id="profile"> <a href="${ProfileUrl}"><img src="${ProfileImageUrl}"></a> </div> <a href="${EntryPermaLink}"><h2>${EntryTitle}</h2></a><br> <a href="${EntryPermaLink}#comments">${EntryCommentCount} comments</a> <div class="header-info"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> </div> </header> <div class="content"> ${EntryBody} <a href="${BlogUrl}" id="logo-signatur">${BlogTitle}</a> </div> <div class="bottom-meta"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> <li><a href="${EntryPermaLink}#comments">${EntryCommentCount} kommentarer</a></li> </div> </div> </tag:entrylist> </div> </div> </div> </div> <div id="bottom-widgets"> <tag:include module="bottomwidgets"></tag:include> </div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/nb_NO/sdk.js#xfbml=1&version=v2.5&appId=412664055568199"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <script> var $ = jQuery; $(document).ready(function() { var r = $("#top-menu"); var position = r.offset().top; var body = $("body"); var parallaxers = $('.parallax > div'); parallax(parallaxers); $(window).scroll(function() { parallax(parallaxers); var windowpos = $(window).scrollTop(); if(windowpos > position){ body.addClass('stick'); }else{ body.removeClass('stick'); } }); $(".menu-toggler").click(function() { $(this).parent().toggleClass('visible-child'); $(".menu-toggler").not($(this)).parent().removeClass('visible-child'); }); $("#mobile-menu-icon").click(function() { $(this).parent().find('ul').first().slideToggle('fast'); }); $("#show-more-entries").click(function() { $("#hidden-entries").slideToggle("fast"); }); }); function parallax(e){ var windowPos = $(window).scrollTop(); e.each(function() { var position = $(this).offset().top; var height = $(this).height(); $(this).css({ 'transform': 'translateY('+(-(windowPos - position) * 0.07) + 'px)', }); }); } </script> <div id="copyright">Design av <a id="copya" href="http://www.gratisdesignet.blogg.no/">www.gratisdesignet.blogg.no</a></div> <div id="instabot"> <!-- LightWidget WIDGET --><script src="//lightwidget.com/widgets/lightwidget.js"></script><iframe src="//lightwidget.com/widgets/ed7be5872d5d5c0ebc81490bbd76958b.html" scrolling="no" allowtransparency="true" class="lightwidget-widget" style="width: 100%; border: 0; overflow: hidden;"></iframe> </div> <div id="footer-wrap"class="color-2 read-max pad-double"> <footer id="footer"> <div style="text-align:center; max-width: 900px; margin: auto;"> Denne bloggen er personlige ytringer fra utgiver av bloggen. All bruk av bilder, tekst eller video fra bloggen må avtales med bloggens ansvarlige utgiver. Bloggen ligger på blogg.no og annonser på bloggen selges av Mediehuset Nettavisen. Ansvarlig redaktør for Mediehuset Nettavisen er Gunnar Stavrum.<br><br> <a href="http://blogg.no/"><img src="http://static.blogg.no/lib/blogo-50transp.png" alt="blogg.no"></a> <a href="http://nettavisen.no/"><img style="padding:0 20px;" src="http://blogg.no/img/na_logo.png" alt="Nettavisen.no"></a> <a href="http://blogglisten.no/"><img src="http://static.blogg.no/lib/blistenlogo-50transp.png" alt="blogglisten.no"></a> </div> </footer> </div> </body> </html>

Arkiv

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:tag="http://blogg.no/ns/tag" xml:lang="no" lang="no"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>${BlogTitle} | ${BlogDescription}</title> <meta name="description" content="${BlogDescription}" /> <script type="text/javascript">var domainName = ".${AppDomain}";</script> <script type="text/javascript" src="http://static.blogg.no/blogs/script.js"></script> <link rel="alternate" href="http://feeds.blogg.no/${BlogId}/post.rss" title="Siste innlegg" type="application/rss+xml" /> <link rel="stylesheet" href="${BlogUrl}style.css" type="text/css" /> <link rel="shortcut icon" href="http://static.blogg.no/blogs/favicon.gif" type="image/gif" /> <script type='text/javascript' src='//code.jquery.com/jquery-1.10.1.js'></script> <script src="https://use.fontawesome.com/8c3064b1a0.js"></script> <style> #top-menu { position: fixed!important; } </style> <script> // ===== Scroll to Top ==== $(window).scroll(function() { if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px $('#return-to-top').fadeIn(200); // Fade in the arrow } else { $('#return-to-top').fadeOut(200); // Else fade out the arrow } }); $('#return-to-top').click(function() { // When arrow is clicked $('body,html').animate({ scrollTop : 0 // Scroll to top of body }, 500); }); </script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body class="archive"> <div id="contain"> <div id="top-title" class="max title pad"> <h1>${BlogTitle}</h1> <p>${BlogDescription}</p> </div> <div id="top-menu" class="color-1"> <button id="mobile-menu-icon" class="mobile-only">Meny</button> <ul class="max"> <a href="${ProfileUrl}"><img id="profileimg" src="${ProfileImageUrl}"></a> <div id="vises-mobil">${BlogDescription}</div> <li><a href="${BlogUrl}">Hjem</a></li> <li><a href="${ProfileUrl}">Profil</a></li> <li><span class="menu-toggler">Kategorier</span> <ul> <tag:categorylist limit="100"> <li><a href="${CategoryLink}">${CategoryName}</a></li> </tag:categorylist> </ul> </li> <li><span class="menu-toggler">Arkiv</span> <ul> <tag:archivelist limit="100"> <li><a href="${ArchiveLink}">${ArchiveName}</a></li> </tag:archivelist> </ul> </li> <tag:linklist> <li><a href="${LinkUrl}">${LinkName}</a></li> </tag:linklist> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-facebook"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-instagram"></i></a> <li><div class="widget-social"><a href="URL_HER" target="_blank"><i class="fa fa-pinterest"></i></a> </ul> </div> <a href="${BlogUrl}" id="logo">${BlogTitle}</a><br> <div class="parallax"> <div id="header"> </div> </div> </a> <div id="top-widgets"> <tag:profile></tag:profile> <tag:include module="topwidgets"></tag:include> </div> <div id="wrap" class="max marg-top-bottom"> <div id="main" class="pad"> <tag:entrylist limit="3000"> <div class="blog-entry"> <header> <div id="profile"> <a href="${ProfileUrl}"><img src="${ProfileImageUrl}"></a> </div> <a href="${EntryPermaLink}"><h2>${EntryTitle}</h2></a><br> <a href="${EntryPermaLink}#comments">${EntryCommentCount} comments</a> <div class="header-info"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> </div> </header> <div class="content"> ${EntryBody} <a href="${BlogUrl}" id="logo-signatur">${BlogTitle}</a> </div> <div class="bottom-meta"> <li>Publisert: ${EntryDate}, ${EntryTime} </li> <li>Kategori: <a href="${EntryCategoryLink}">${EntryCategoryName}</a></li> <li><a href="${EntryPermaLink}#comments">${EntryCommentCount} kommentarer</a></li> </div> </div> </tag:entrylist> </div> </div> </div> </div> <div id="bottom-widgets"> <tag:include module="bottomwidgets"></tag:include> </div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/nb_NO/sdk.js#xfbml=1&version=v2.5&appId=412664055568199"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <script> var $ = jQuery; $(document).ready(function() { var r = $("#top-menu"); var position = r.offset().top; var body = $("body"); var parallaxers = $('.parallax > div'); parallax(parallaxers); $(window).scroll(function() { parallax(parallaxers); var windowpos = $(window).scrollTop(); if(windowpos > position){ body.addClass('stick'); }else{ body.removeClass('stick'); } }); $(".menu-toggler").click(function() { $(this).parent().toggleClass('visible-child'); $(".menu-toggler").not($(this)).parent().removeClass('visible-child'); }); $("#mobile-menu-icon").click(function() { $(this).parent().find('ul').first().slideToggle('fast'); }); $("#show-more-entries").click(function() { $("#hidden-entries").slideToggle("fast"); }); }); function parallax(e){ var windowPos = $(window).scrollTop(); e.each(function() { var position = $(this).offset().top; var height = $(this).height(); $(this).css({ 'transform': 'translateY('+(-(windowPos - position) * 0.07) + 'px)', }); }); } </script> <div id="copyright">Design av <a id="copya" href="http://www.gratisdesignet.blogg.no/">www.gratisdesignet.blogg.no</a></div> <div id="instabot"> <!-- LightWidget WIDGET --><script src="//lightwidget.com/widgets/lightwidget.js"></script><iframe src="//lightwidget.com/widgets/ed7be5872d5d5c0ebc81490bbd76958b.html" scrolling="no" allowtransparency="true" class="lightwidget-widget" style="width: 100%; border: 0; overflow: hidden;"></iframe> </div> <div id="footer-wrap"class="color-2 read-max pad-double"> <footer id="footer"> <div style="text-align:center; max-width: 900px; margin: auto;"> Denne bloggen er personlige ytringer fra utgiver av bloggen. All bruk av bilder, tekst eller video fra bloggen må avtales med bloggens ansvarlige utgiver. Bloggen ligger på blogg.no og annonser på bloggen selges av Mediehuset Nettavisen. Ansvarlig redaktør for Mediehuset Nettavisen er Gunnar Stavrum.<br><br> <a href="http://blogg.no/"><img src="http://static.blogg.no/lib/blogo-50transp.png" alt="blogg.no"></a> <a href="http://nettavisen.no/"><img style="padding:0 20px;" src="http://blogg.no/img/na_logo.png" alt="Nettavisen.no"></a> <a href="http://blogglisten.no/"><img src="http://static.blogg.no/lib/blistenlogo-50transp.png" alt="blogglisten.no"></a> </div> </footer> </div> </body> </html>