diff --git a/website/content/en/layout/css/fixed.css b/website/content/en/layout/css/fixed.css new file mode 100644 index 0000000000..65f0ca9d67 --- /dev/null +++ b/website/content/en/layout/css/fixed.css @@ -0,0 +1,20 @@ +/* + FreeBSD.org - "Red" Style + + Inspired by AListApart, PositionIsEverything, Mozilla, Red Hat, and many more. + + Copyright (c) 2004, 2005 The FreeBSD Project + Copyright (c) 2004, 2005 Emily Boyd + + This file, and any imported stylesheets are licensed under the BSD license. + + $FreeBSD$ +*/ + +@import url("global.css"); +@import url("layout.css?20150916"); +@import url("text.css"); +@import url("navigation.css"); +@import url("table.css"); + +@import url("iefixes.css"); diff --git a/website/content/en/layout/css/fixed_large.css b/website/content/en/layout/css/fixed_large.css new file mode 100644 index 0000000000..51d805448c --- /dev/null +++ b/website/content/en/layout/css/fixed_large.css @@ -0,0 +1,11 @@ +/* + * FreeBSD Global Style - Large Text Version + * + * $FreeBSD$ + */ + +@import url("fixed.css"); + +body { + font-size: 93%; +} diff --git a/website/content/en/layout/css/global.css b/website/content/en/layout/css/global.css new file mode 100644 index 0000000000..e56605bb69 --- /dev/null +++ b/website/content/en/layout/css/global.css @@ -0,0 +1,87 @@ +/* + *FreeBSD.org - Global Styles + * + * $FreeBSD$ + */ + +body { + margin: 0; + padding: 0; + font-family: verdana, sans-serif; + color: #000; + background: #fff url("../images/hdr_fill.png") repeat-x; +} + +h1 { + font-size: 120%; + font-weight: bold; + margin: 0em 0em 1.2em 0em; +} + +h2 { + font-size: 115%; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; +} + +h3 { + font-size: 110%; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; +} + +h4 { + font-size: 100%; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; +} + +h5 { + font-size: 90%; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; +} + +h6 { + font-size: 85%; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; +} + +img { + border: 0; +} + +ol, ul, li { + font-size: 1.0em; + line-height: 1.2em; + margin-top: 0.2em; + margin-bottom: 0.1em; +} + +p { + line-height: 1.2em; + margin: 1.2em 0em 1.2em 0em; +} + +li > p { + margin-top: 0.2em; +} + +pre { + font-family: monospace; + font-size: 1.1em; +} + +tt { + font-family: monospace; + font-size: 1.1em; +} + +strong, b { + font-weight: bold; +} + +form textarea { + text-align: left; +} diff --git a/website/content/en/layout/css/iefixes.css b/website/content/en/layout/css/iefixes.css new file mode 100644 index 0000000000..02cf798888 --- /dev/null +++ b/website/content/en/layout/css/iefixes.css @@ -0,0 +1,51 @@ +/* + * FreeBSD.org - Fixes for Internet Explorer + * $FreeBSD$ + */ + +/*Win IE fix \*/ + +* html #topnavlist li { margin: 0 0.5em 0 -0.5em; } + +* html #menu ul.first { border-left: 0; } +* html #menu li { margin: 0.2em 0 -1em 0; } + +* html #languagenavlist li { padding: 0 0.1em 0 0.4em; } +* html #languagenavlist li.last-child { padding: 0 0em 0 0.4em; } + +* html #searchnavlist li { padding: 0 0.4em 0 0.8em; } +* html #searchnavlist li.last-child { padding: 0 0 0 0.8em; } + +* html #search { height: 1%; } + +* html #mirror { height: 1%; } + +/*End Win IE fix*/ + +/*Win IE fix \*/ + +* html pre { font-size: 1.0em; } + +* html tt { font-size: 1.0em; } + +/*End Win IE fix*/ + +/*Win IE fix \*/ + +* html #frontshortcuts { height: 1%; } + +* html #frontshortcutswrap { height: 1%; } + +* html #frontshortcutscontent { height: 1%; } + +* html #frontshortcutslist { height: 1%; } + +* html #frontreleases { height: 1%; } + +* html #frontreleaseswrap { height: 1%; } + +* html #frontreleasescontent { height: 1%; } + +* html #frontreleaseslist { height: 1%; } + +/*End Win IE fix*/ diff --git a/website/content/en/layout/css/layout.css b/website/content/en/layout/css/layout.css new file mode 100644 index 0000000000..58fac5571a --- /dev/null +++ b/website/content/en/layout/css/layout.css @@ -0,0 +1,521 @@ +/* + * FreeBSD.org - Layout Styles + * + * $FreeBSD$ + */ + +/* Container Definitions */ + +/* Page Container */ + +#containerwrap { + text-align: center; /* Win IE5 */ +} + +#container { + margin: 0em auto; + width: 90%; + padding: 0; + padding-top: 0px; + padding-bottom: 15px; + text-align: left; /* Win IE5 */ +} + +/* Header */ + +#headercontainer { + padding-bottom: 2px; +} + +#header { + position: relative; + height: 15%; + margin: 0; + padding: 0; + clear: both; +} + +#headerlogoleft { + position: relative; + border: 0px; + padding: 0px; + top: 0px; + float: left; +} + +#headerlogoleft img { + border: 0px; +} + +#headerlogoright { + position: relative; + border: 0px; + padding-left: 0px; + float: right; +} + +#headerlogoright img { + border: 0px; +} + +/* Search */ + +@media screen { +#search { + text-align: right; + padding: 0; + color: #666; +} + +#search form { + margin: 0; /* need for IE Mac */ + text-align: right; /* need for IE Mac */ + white-space: nowrap; /* for Opera */ +} + +#search form label { + color: #666; +} + +#search form #submit { + background: transparent; + color: #fff; + border-right: 1px solid #DADADA; + border-bottom: 1px solid #DADADA; + border-top: 1px solid #DADADA; + border-left: 1px solid #DADADA; + padding: 1px 5px 1px 5px; +} + +#search form #words { + width: 50%; + border: 1px solid #DADADA; + background: #FFFFFF; + color: #666; + padding: 2px 2px 2px 5px; +} +} + +@media print { +#search { display: none; } +} + +/* Mirror Select */ + +#mirror { + text-align: right; + padding: 0; + margin: 0; + margin-top: 6px; + color: #666; +} + +#mirror form { + padding-top: 5px; + right: 0; + margin: 0; /* need for IE Mac */ + text-align: right; /* need for IE Mac */ + white-space: nowrap; /* for Opera */ +} + +#mirror form label { + color: #666; + font-size: 0.8em; +} + +#mirror form select { + font-size: 0.8em; +} + +#mirror form #mirrorsel { + font-size: 0.8em; + width: 150px; + border: 1px solid #DADADA; + background: #FFFFFF; + color: #666; +} + +#mirror input { + font-size: 0.8em; + background: transparent; + color: #666; + border: 1px solid #DADADA; +} + +/* Content */ + +#content { + clear: both; + display: block; +} + +#frontcontainer { + width: 100%; +} + +#frontfeaturecontainer { + clear: both; +} + +#frontfeatureleft{ + width: 30%; + margin: 0; + padding: 0; + float: left; +} + +#frontfeatureleft h2 { + border: none; + margin-top: 0; +} + +#frontfeatureleft p { + margin: 0 0 1em 0; +} + + #frontfeaturecontent { + margin: 10px 10px 10px 13px; + } + +#frontfeaturemiddle { + float: left; + margin-top: 20px; + background: url(../images/beastie.png) no-repeat top left; + min-height: 196px; + width: 30%; +} + +#frontfeatureright { + position: relative; + border: 0px; + padding: 0px; + margin: 0px; + width: 30%; + float: right; +} + +/* News/Events/Media/Security Box */ + +#frontnemscontainer { + width: 100%; + background: #eee; + display: inline; + float: left; + margin-top: 8px; + margin-bottom: 8px; +} + +#frontnews { + width: 24%; + margin: 0; + padding: 0; + float: left; +} + +#frontnewscontent { + margin: 17px 15px 24px 18px; +} + +#frontevents { + width: 24%; + margin: 0; + padding: 0; + float: left; +} + +#fronteventscontent { + margin: 17px 15px 24px 14px; +} + +#frontmedia { + width: 24%; + margin: 0; + padding: 0; + float: left; +} + +#frontmediacontent { + margin: 17px 15px 24px 14px; +} + +#frontsecurity { + width: 24%; + margin: 0; + padding: 0; + float: left; +} + +#frontsecuritycontent { + margin: 17px 15px 24px 14px; +} + +/* No way to get equal columns in pure CSS - setting height is a temporary hack */ +.frontseparator { + width: 0.5%; + height: 500px; + margin: 0; + padding: 0; + background-color: #fff; + float: left; +} + +.newseventswrap { + padding-left: 5px; +} + +.newseventslist { + list-style: none; + margin: 0; + padding: 0; + display: inline; +} + +.newseventslist img.rssimage { + display: inline; + border: 0; + vertical-align: bottom; +} + +.newseventslist li { + padding: 0 0.3em 0 0.5em; + display: inline; + border-right: 1px solid #E1E1E1; +} + +.newseventslist li a { +} + +.newseventslist li.last-child { + border-right: 0; + padding-right: 0; +} + +.newseventslist li.first-child { + padding-left: 0; +} + +.newseventslist li.only-child { + border-right: 0; + padding-left: 0; +} + +/* Shortcuts */ + +#frontshortcuts { + margin: 0; + padding: 0; + color: #666; +} + +#frontshortcutscontent { + float: right; + margin: 0; + padding: 0; + padding-left: 15px; + padding-top: 20px; +} + +#frontshortcutslist { + margin: 0; + padding: 0; + margin-left: 5px; + margin-top: 5px; + list-style: none; +} + +#frontshortcutslist li { + margin: 0; + padding-left: 12px; + background-image: url(../images/blt_red_arrow.png); + background-repeat: no-repeat; + background-position: 0px 0.5em; +} + +/* Latest Releases */ + +#frontreleases { + padding: 0; + margin: 8px; + margin-left: 190px; + margin-top: 5px; + padding-bottom: 20px; + color: #666; + width: 85%; +} + +#frontreleasescontent { + margin: 0; + padding: 0; +} + +#frontreleaseslist { + margin: 0; + padding: 0; + margin-left: 5px; + margin-top: 5px; + list-style: none; +} + +#frontreleaseslist li { + margin: 0; + padding-left: 12px; + background-image: url(../images/blt_red_arrow.png); + background-repeat: no-repeat; + background-position: 0px 0.5em; +} + +/* New User Box */ + + /* height and width details */ +.frontnewtop div, .frontnewtop, .frontnewbot div, .frontnewbot { + width: 100%; + height: 12px; +} + +.frontnewcontent { + margin: 0; + padding: 0; + margin-top: -4px; + margin-bottom: -4px; + text-align: center; + font-size: 1.1em; + font-weight: bold; +} + +.frontnewcontent a, .frontnewcontent a:link, .frontnewcontent a:visited, .frontnewcontent a:hover, .frontnewcontent a:active { + color: #990000; + text-decoration: none; +} + +.frontnewroundbox { + float: left; + margin: 0; + margin-top: 30px; + padding: 0; + width: 130px; + background-color: #D8D8D8; + border-radius: 10px; +} + +/* Donate Button */ + /* height and width details */ +.frontdonatetop div, .frontdonatetop, .frontdonatebot div, .frontdonatebot { + width: 20%; + height: 10px; + font-size: 1px; + text-align: center; +} + +.frontdonatecontent { + margin: 0; + padding: 0; + margin-top: -4px; + margin-bottom: -4px; + text-align: center; + font-size: 1.1em; + font-weight: bold; +} + +.frontdonatecontent a, .frontdonatecontent a:link, .frontdonatecontent a:visited, .frontdonatecontent a:hover, .frontdonatecontent a:active { + color: #990000; + text-decoration: none; +} + +.frontdonateroundbox { + margin-top: 0.5em; + padding: 0; + white-space: nowrap; + background-color: white; + border-radius: 10px; +} + +/* Get FreeBSD Box */ + + /* height and width details */ +.frontgettop div, .frontgettop, .frontgetbot div, .frontgetbot { + width: 100%; + height: 18px; + font-size: 1px; +} + +.frontgetcontent { + margin: 0; + padding: 0; + margin-top: -8px; + margin-bottom: -8px; + text-align: center; + font-size: 1.4em; + font-weight: bold; +} + +.frontgetcontent a, .frontgetcontent a:link, .frontgetcontent a:visited, .frontgetcontent a:hover, .frontgetcontent a:active { + color: #990000; + text-decoration: none; +} + +.frontgetroundbox { + margin-top: 50px; + margin-left: 160px; + padding: 0; + width: 190px; + background-color: #FACC2E; + border-radius: 15px; +} + +/* Secondary Pages */ + +@media screen { +#sidewrap { + float: left; + width: 166px; + margin-top: 15px; + margin-right: -170px; +} + +#rightwrap { + float: right; + width: 166px; + margin-left: 15px; +} + +#contentwrap { + margin-left: 170px; + padding-top: 15px; +} +} + +@media print { +#sidewrap, #rightwrap { display: none; } +#contentwrap { margin-left: 16px; padding-top: 15px; } +} + +/* Footer */ + +#footer { + font-size: 0.9em; + text-align: center; + color: #737373; + line-height: 1.3em; + padding-top: 5px; + clear: both; +} + +/* Misc Classes */ + +.clearboth { + clear: both; + margin: 0; + padding: 0; +} + +.blockhide { + display: none; + height: 0; + width: 0; + overflow: hidden; + position: absolute; /* IE5 Mac */ +} + +img { + border: 0; +} diff --git a/website/content/en/layout/css/navigation.css b/website/content/en/layout/css/navigation.css new file mode 100644 index 0000000000..25402e8792 --- /dev/null +++ b/website/content/en/layout/css/navigation.css @@ -0,0 +1,389 @@ +/* + * FreeBSD.org - Navigation (and List) Styles + * + * $FreeBSD$ + */ + +/* Site Navigation */ + +@media screen { +#topnav { + text-align: left; + color: #666; + font-size: 0.9em; + margin: 0; + padding: 0; + height: 29px; + overflow: visible; + margin-top: 7px; +} + +#topnavleft { + width: 7px; + height: 29px; + border: 0px; + padding-right: 10px; + margin: 0px; + float: left; +} + +#topnavleft img { + border: 0px; + margin: 0; + padding: 0; +} + +#topnavright { + width: 7px; + height: 29px; + border: 0px; + padding: 0px; + margin: 0px; + float: right; +} + +#topnavright img { + border: 0px; + margin: 0; + padding: 0; +} + +#topnavlist { + list-style: none; + margin: 0; + padding: 0; + height: 29px; +} + +#topnavlist li { + padding: 0 1em 0 1.2em; + display: inline; + border-left: 1px solid #B4B4B4; +} + +#topnavlist li a { + color: #666; + font-weight: bold; + text-decoration: none; +} + +#topnavlist li:first-child { + border-left: 0; + padding-left: 0; +} + +/* New drop-down menu implementation */ + +#menu { + float: left; + height: 2.0em; + font-size: 90%; + clear: both; + margin-top: .1%; + font-weight: bold; +} + +#menu ul { + list-style: none; + margin: 0; + padding: 0px 10px 2px 10px; + float: left; + border-left: 1px solid #B4B4B4; +} + +#menu ul:first-child { + padding-left: 0; + border: 0; +} + +#menu a { + display: block; + padding: 0px 3px; + color: #666; + text-decoration: none; +} + +#menu a:hover { + color: #990000; +} + +#menu li { + position: relative; +} + +#menu ul ul { + position: absolute; + background-color: #e5e5e5; + padding: 2px; + border: 0; + width: 10em; + z-index: 500; +} + +#menu ul ul li { + border-top: 1px solid #B4B4B4; + padding: 4px 0 4px 0; +} + +#menu ul ul ul { + top: 0; + left: 100%; + background: #e5e5e5; +} + +div#menu ul ul, +div#menu ul li:hover ul ul, +div#menu ul ul li:hover ul ul { + display: none; +} + +div#menu ul li:hover ul, +div#menu ul ul li:hover ul, +div#menu ul ul ul li:hover ul { + display: block; +} + +/* Language selection */ + +#languagenav { + text-align: right; + color: #666; + font-size: 0.9em; + margin: 0px 0px 0px 0px; + right: 0px; + padding: 0; +} + +#languagenavlist { + list-style: none; + margin: 0; + padding: 0; +} + +#languagenavlist li { + padding: 0 0.5em 0 0.2em; + display: inline; + border-right: 1px solid #B6B6B6; +} + +#languagenavlist li.last-child { + padding: 0 0em 0 0.2em; + border-right: 0; +} + +#languagenavlist li a { + text-decoration: underline; +} + +#languagenavlist li a:hover { +} + +/* The search navigation is the list of links above the search box. */ + +#searchnav { + position: relative; + text-align: right; + color: #fff; + font-size: 0.9em; + margin: 0px 0px 0px 0px; + margin-top: 8px; + right: 0px; + padding: 0; +} + +#searchnavlist { + list-style: none; + margin: 0; + padding: 0; +} + +#searchnavlist li { + padding: 0 0.6em 0 0.3em; + display: inline; + border-right: 1px solid #fff; +} + +#searchnavlist li.last-child { + padding: 0 0 0 0.3em; + border-right: 0; +} + +#searchnavlist li a { + color: #FFCC66; + text-decoration: underline; +} + +#searchnavlist li a:hover { + color: #fff; +} + +/* Category Navigation */ + +#sidenav, #sidenav ul, #sidenav ul ul { + margin: 0; + padding: 0; + list-style: none; + font-size: 1.0em; +} + +#sidenav { + width: 150px; + background-color: #eee; + border: 1px solid #D4D4D4; +} + +#sidenav ul { + padding: 8px 4px 12px 4px; +} + +#sidenav ul ul { + background: none; + background-color: #eee; + margin: 0; + padding: 0; + list-style: none; +} + +#sidenav ul ul li { + background: none; + border: none; +} + +#sidenav ul li { + border-bottom: 1px solid #eee; + margin: 0; + padding-left: 12px; + background-image: url(../images/blt_red_arrow.png); + background-repeat: no-repeat; + background-position: 12px 0.65em; +} + +#sidenav ul li.active { + font-weight: bold; +} + +#sidenav ul li.active span { + display: none; +} + +#sidenav ul li a { + display: block; + color: #990000; + text-decoration: underline; + padding: 3px 5px 3px 12px; + margin: 0; +} + +#sidenav ul ul li a.active { + font-weight: bold; +} + +#sidenav ul ul li a { + display: block; + padding-left: 12px; + margin: 0; +} + +#sidenav ul li a:hover { + color: #000; +} + +#feedlinks { + padding-top: 5px; + padding-left: 5px; + margin-top: 5px; + margin-left: 5px; + list-style: none; + display: block; +} + +#feedlinks ul { + list-style-image: url(../images/ico_rss.png); +} + +/* Right Navigation */ + +.rightnav, .rightnav ul, .rightnav ul ul { + margin: 0; + padding: 0; + list-style: none; + font-size: 1.0em; +} + +.rightnav { + width: 150px; + background-color: #eee; + border: 1px solid #D4D4D4; +} + +.rightnav ul { + padding: 8px 4px 12px 4px; +} + +.rightnav ul ul { + background: none; + background-color: #eee; + margin: 0; + padding: 0; + list-style: none; +} + +.rightnav ul ul li { + background: none; + border: none; +} + +.rightnav ul li { + border-bottom: 1px solid #eee; + margin: 0; + padding-left: 12px; + background-image: url(../images/blt_red_arrow.png); + background-repeat: no-repeat; + background-position: 12px 0.65em; +} + +.rightnav ul li.active { + font-weight: bold; +} + +.rightnav ul li.active span { + display: none; +} + +.rightnav ul li a { + display: block; + color: #990000; + text-decoration: underline; + padding: 3px 5px 3px 12px; + margin: 0; +} + +.rightnav ul ul li a.active { + font-weight: bold; +} + +.rightnav ul ul li a { + display: block; + padding-left: 12px; + margin: 0; +} + +.rightnav ul li a:hover { + color: #000; +} + +.rightnav h1, .rightnav h2, .rightnav h3, .rightnav h4, .rightnav h5, .rightnav h6, .rightnav p { + padding-left: 10px; + padding-right: 10px; +} +} + +@media print { +#topnav, #topnavleft, #topnavright, #topnavlist { display: none; } +#menu { display: none; } +#languagenav, #languagenavlist { display: none; } +#searchnav, #searchnavlist { display: none; } +#sidenav { display: none; } +#feedlinks { display: none; } +.rightnav { display: none; } +} diff --git a/website/content/en/layout/css/table.css b/website/content/en/layout/css/table.css new file mode 100644 index 0000000000..eb637320ee --- /dev/null +++ b/website/content/en/layout/css/table.css @@ -0,0 +1,32 @@ +/* + * FreeBSD.org - Table Styles + * + * $FreeBSD$ + */ + +.tblbasic { + background-color: #eee; + border-spacing: 0px; + border: 1px solid #CACACA; + border-bottom: 0; + border-collapse: collapse; +} + +.tblbasic thead { + font-weight: bold; +} + +.tblbasic th { + font-weight: bold; + padding: 8px; + border-bottom: 1px solid #D4D4D4; +} + +.tblbasic td { + padding: 8px; + border-bottom: 1px solid #D4D4D4; +} + +.tblbasic td+td, .tblbasic th+th { + border-left: 1px solid #D4D4D4; +} diff --git a/website/content/en/layout/css/text.css b/website/content/en/layout/css/text.css new file mode 100644 index 0000000000..fabfabee7d --- /dev/null +++ b/website/content/en/layout/css/text.css @@ -0,0 +1,153 @@ +/* + * FreeBSD.org - Text Styles + * + * $FreeBSD$ + */ + +/* Heading Definitions */ + +h1 { + color: #990000; +} + +h2 { + color: #990000; +} + +h3 { + color: #990000; +} + +h4 { + color: #990000; +} + +/* Text Styles */ + +.txtcolumn1 { + width: 50%; + line-height: 1.3em; +} + +.txtcolumn2 { + width: 50%; + line-height: 1.5em; +} + +.txtcurrentlocation { + font-weight: bold; +} + +.txtdivider { + font-size: 0.8em; + color: #E1E1E1; + padding-left: 4px; + padding-right: 4px; +} + +.txtnewsevent { + font-size: 0.9em; + color: #000000; +} + +.txtshortcuts { + font-size: 0.9em; + color: #000000; +} + +.txtdate { + font-size: 0.9em; + color: #666; +} + +.txtmediumgrey { + color: #666; +} + +.txtformlabel { + color: #666; + font-weight: bold; + text-align: right; + vertical-align: top; +} + +.txtrequiredfield { + color: #EC5800; +} + +.txtimportant { + color: #EC5800; +} + +.txtoffscreen { + position: absolute; + left: -1999px; + width: 1990px; +} + +#txtfrontfeatureheading { + padding-bottom: 0em; +} + +#txtfrontfeaturelink a { + font-size: 1.2em; + font-weight: bold; + padding-left: 5px; +} + +#txtfrontjournalblock { + padding-left: 0px; +} + +#txtfrontjournallink { + font-size: 1.2em; + font-weight: bold; + padding-left: 1px; +} + +/* Link Styles */ + +a:link { color:#990000; text-decoration: underline; } +a:visited { color:#990000; text-decoration: underline; } +a:hover { color:#000000; text-decoration: underline; } +a:active { color:#990000; text-decoration: underline; } + +#footer a:link { color:#666; text-decoration: underline; } +#footer a:visited { color:#666; text-decoration: underline; } +#footer a:hover { color:#000000; text-decoration: underline; } +#footer a:active { color:#666; text-decoration: underline; } + +#frontnemscontainer h2 { + margin: 0; + padding: 0; + font-size: 1.1em; +} + +#frontshortcuts h2 { + margin: 0; + padding: 0; + font-size: 1.1em; +} + +#frontreleases h2 { + margin: 0; + padding: 0; + font-size: 1.1em; +} + +ul.txtdownloadlist, ul.txtdocslist { + list-style: none; + padding: 0 10px; +} + +.txtdocslist a { + color: #000000; +} + +.tblwide { + width: 100%; +} + +.tbldownload th, .tbldownload td { + vertical-align: top; +} diff --git a/website/content/en/layout/images/25thanniversary.png b/website/content/en/layout/images/25thanniversary.png new file mode 100644 index 0000000000..993fdec99a Binary files /dev/null and b/website/content/en/layout/images/25thanniversary.png differ diff --git a/website/content/en/layout/images/beastie.png b/website/content/en/layout/images/beastie.png new file mode 100644 index 0000000000..45bb4d9ebe Binary files /dev/null and b/website/content/en/layout/images/beastie.png differ diff --git a/website/content/en/layout/images/blt_gry_arrow.png b/website/content/en/layout/images/blt_gry_arrow.png new file mode 100644 index 0000000000..ce9b38e9ce Binary files /dev/null and b/website/content/en/layout/images/blt_gry_arrow.png differ diff --git a/website/content/en/layout/images/blt_red_arrow.png b/website/content/en/layout/images/blt_red_arrow.png new file mode 100644 index 0000000000..89d361429e Binary files /dev/null and b/website/content/en/layout/images/blt_red_arrow.png differ diff --git a/website/content/en/layout/images/hdr_fill.png b/website/content/en/layout/images/hdr_fill.png new file mode 100644 index 0000000000..e9fada68b2 Binary files /dev/null and b/website/content/en/layout/images/hdr_fill.png differ diff --git a/website/content/en/layout/images/ico_rss.png b/website/content/en/layout/images/ico_rss.png new file mode 100644 index 0000000000..4903466efe Binary files /dev/null and b/website/content/en/layout/images/ico_rss.png differ diff --git a/website/content/en/layout/images/logo-red.png b/website/content/en/layout/images/logo-red.png new file mode 100644 index 0000000000..fd00ed52e8 Binary files /dev/null and b/website/content/en/layout/images/logo-red.png differ diff --git a/website/content/en/layout/images/logo.png b/website/content/en/layout/images/logo.png new file mode 100644 index 0000000000..a2c413b46f Binary files /dev/null and b/website/content/en/layout/images/logo.png differ diff --git a/website/content/en/layout/images/nav_rgt.png b/website/content/en/layout/images/nav_rgt.png new file mode 100644 index 0000000000..4eadb0a947 Binary files /dev/null and b/website/content/en/layout/images/nav_rgt.png differ diff --git a/website/content/en/layout/images/nav_tbl_btm.png b/website/content/en/layout/images/nav_tbl_btm.png new file mode 100644 index 0000000000..ec897afc9e Binary files /dev/null and b/website/content/en/layout/images/nav_tbl_btm.png differ diff --git a/website/content/en/layout/images/nav_tbl_top.png b/website/content/en/layout/images/nav_tbl_top.png new file mode 100644 index 0000000000..3a22368397 Binary files /dev/null and b/website/content/en/layout/images/nav_tbl_top.png differ diff --git a/website/content/en/layout/js/google.js b/website/content/en/layout/js/google.js new file mode 100644 index 0000000000..d6aac94338 --- /dev/null +++ b/website/content/en/layout/js/google.js @@ -0,0 +1,52 @@ +/* $FreeBSD$ */ + +/* + * Please do not commit to this file without receiving review from + * webstats@FreeBSD.org. + */ + +/* Teach jslint the appropriate style rules. */ +/*jslint browser:true*/ + +var enable_ga = true; +var allow_track = true; + +var h = document.location.hostname; +/* + * Check that the hosting domain is actually a FreeBSD.org domain, so + * we don't accidentally obtain data from mirrors. + */ +var fbsdregex = /((docs|security|svnweb|wiki|www)\.freebsd\.org|google\.com)$/i; + +if (typeof navigator.doNotTrack !== "undefined" && (navigator.doNotTrack == "yes" || navigator.doNotTrack == "1")) { + allow_track = false; +} + +if (enable_ga && allow_track && fbsdregex.test(h)) { + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-22767463-1']); + _gaq.push(['_setDomainName', 'freebsd.org']); + _gaq.push(['_setAllowHash', false]); + _gaq.push (['_gat._anonymizeIp']); + + /* + * If we ever want to track sites other than FreeBSD.org, + * uncomment the next line. + */ + //_gaq.push(['_setAllowLinker', true]); + // This is what we track + _gaq.push(['_trackPageview']); + _gaq.push(['_trackPageLoadTime']); + + ( function() { + var ga = document.createElement('script'); + ga.type = 'text/javascript'; + ga.async = true; + ga.src = 'https://ssl.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; + s.parentNode.insertBefore(ga, s); + + })(); + +} +