commit a30b7ba59910df286da3ee1f1a53f0e9828e93d5 Author: bmen Date: Sun Sep 22 15:50:07 2019 +0200 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..3c76c23 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +Meine Website ist auf Basis von `Wordpress`. + + + + + + + + + + + + + + +
Auftraggeber:ich selbst
Start:März 2013
Veröffentlichung:Dezember 2013
+ +Website anschauen + +![www.bmen.eu](screenshot.png) + +## Wordpress Plugins + +* Antispam Bee +* Configure SMTP +* Contact Form 7 +* Google XML Sitemaps +* Grinning Gecko Twitter +* Simple Twitter Widget +* Lightbox Plus ColorBox +* Twenty Eleven Theme Extensions +* WordPress HTTPS +* WP to Twitter +* WP-Ticker diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..9e5598d Binary files /dev/null and b/screenshot.png differ diff --git a/wp-themes/bmen/category.php b/wp-themes/bmen/category.php new file mode 100755 index 0000000..32f9bde --- /dev/null +++ b/wp-themes/bmen/category.php @@ -0,0 +1,66 @@ + + +
+
+ + + +
' ); + ?> + + + + + + + + + + + + + + + +
+
+

+
+ +
+

+ +
+
+ + + + +
+ + + diff --git a/wp-themes/bmen/category_Backup.php b/wp-themes/bmen/category_Backup.php new file mode 100644 index 0000000..fe63aa7 --- /dev/null +++ b/wp-themes/bmen/category_Backup.php @@ -0,0 +1,66 @@ + + +
+
+ 'Projekte' )); ?> + + + +
' ); + ?> + + + + + + + + + + + + + + + +
+
+

+
+ +
+

+ +
+
+ + + + +
+ + + diff --git a/wp-themes/bmen/fonts.css b/wp-themes/bmen/fonts.css new file mode 100755 index 0000000..437d26d --- /dev/null +++ b/wp-themes/bmen/fonts.css @@ -0,0 +1,118 @@ +@font-face { + font-family: 'UbuntuTitlingBold'; + src: url('fonts/UbuntuTitling-Bold-webfont.eot'); + src: url('fonts/UbuntuTitling-Bold-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/UbuntuTitling-Bold-webfont.woff') format('woff'), + url('fonts/UbuntuTitling-Bold-webfont.ttf') format('truetype'), + url('fonts/UbuntuTitling-Bold-webfont.svg#UbuntuTitlingBold') format('svg'); + font-weight: normal; + font-style: normal; + +} +@font-face { + font-family: 'UbuntuRegular'; + src: url('fonts/Ubuntu-R-webfont.eot'); + src: url('fonts/Ubuntu-R-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-R-webfont.woff') format('woff'), + url('fonts/Ubuntu-R-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-R-webfont.svg#UbuntuRegular') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuItalic'; + src: url('fonts/Ubuntu-RI-webfont.eot'); + src: url('fonts/Ubuntu-RI-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-RI-webfont.woff') format('woff'), + url('fonts/Ubuntu-RI-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-RI-webfont.svg#UbuntuItalic') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuBold'; + src: url('fonts/Ubuntu-B-webfont.eot'); + src: url('fonts/Ubuntu-B-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-B-webfont.woff') format('woff'), + url('fonts/Ubuntu-B-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-B-webfont.svg#UbuntuBold') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuBoldItalic'; + src: url('fonts/Ubuntu-BI-webfont.eot'); + src: url('fonts/Ubuntu-BI-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-BI-webfont.woff') format('woff'), + url('fonts/Ubuntu-BI-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-BI-webfont.svg#UbuntuBoldItalic') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuLight'; + src: url('fonts/Ubuntu-L-webfont.eot'); + src: url('fonts/Ubuntu-L-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-L-webfont.woff') format('woff'), + url('fonts/Ubuntu-L-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-L-webfont.svg#UbuntuLight') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuLightItalic'; + src: url('fonts/Ubuntu-LI-webfont.eot'); + src: url('fonts/Ubuntu-LI-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-LI-webfont.woff') format('woff'), + url('fonts/Ubuntu-LI-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-LI-webfont.svg#UbuntuLightItalic') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuMedium'; + src: url('fonts/Ubuntu-M-webfont.eot'); + src: url('fonts/Ubuntu-M-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-M-webfont.woff') format('woff'), + url('fonts/Ubuntu-M-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-M-webfont.svg#UbuntuMedium') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuMediumItalic'; + src: url('fonts/Ubuntu-MI-webfont.eot'); + src: url('fonts/Ubuntu-MI-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-MI-webfont.woff') format('woff'), + url('fonts/Ubuntu-MI-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-MI-webfont.svg#UbuntuMediumItalic') format('svg'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'UbuntuCondensedRegular'; + src: url('fonts/Ubuntu-C-webfont.eot'); + src: url('fonts/Ubuntu-C-webfont.eot?#iefix') format('embedded-opentype'), + url('fonts/Ubuntu-C-webfont.woff') format('woff'), + url('fonts/Ubuntu-C-webfont.ttf') format('truetype'), + url('fonts/Ubuntu-C-webfont.svg#UbuntuCondensedRegular') format('svg'); + font-weight: normal; + font-style: normal; + +} \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu Font License 1.0.txt b/wp-themes/bmen/fonts/Ubuntu Font License 1.0.txt new file mode 100755 index 0000000..f181903 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu Font License 1.0.txt @@ -0,0 +1,35 @@ +------------------------------- UBUNTU FONT LICENSE Version 1.0 ------------------------------- + +PREAMBLE +This License allows the licensed fonts to be used, studied, modified and redistributed freely. The fonts, including any derivative works, can be bundled, embedded, and redistributed provided the terms of this license are met. The fonts and derivatives, however, cannot be released under any other license. The requirement for fonts to remain under this license does not require any document created using the fonts or their derivatives to be published under this license, as long as the primary purpose of the document is not to be a vehicle for the distribution of the fonts. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. + +"Original Version" refers to the collection of Font Software components as received under this license. + +"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. + +"Copyright Holder(s)" refers to all individuals and companies who have a copyright ownership of the Font Software. + +"Substantially Changed" refers to Modified Versions which can be easily identified as dissimilar to the Font Software by users of the Font Software comparing the Original Version with the Modified Version. + +To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification and with or without charging a redistribution fee), making available to the public, and in some countries other activities as well. + +PERMISSION & CONDITIONS +This license does not grant any rights under trademark law and all such rights are reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to propagate the Font Software, subject to the below conditions: + +1) Each copy of the Font Software must contain the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine- readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. + +2) The font name complies with the following: (a) The Original Version must retain its name, unmodified. (b) Modified Versions which are Substantially Changed must be renamed to avoid use of the name of the Original Version or similar names entirely. (c) Modified Versions which are not Substantially Changed must be renamed to both (i) retain the name of the Original Version and (ii) add additional naming elements to distinguish the Modified Version from the Original Version. The name of such Modified Versions must be the name of the Original Version, with "derivative X" where X represents the name of the new work, appended to that name. + +3) The name(s) of the Copyright Holder(s) and any contributor to the Font Software shall not be used to promote, endorse or advertise any Modified Version, except (i) as required by this license, (ii) to acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with their explicit written permission. + +4) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not affect any document created using the Font Software, except any version of the Font Software extracted from a document created using the Font Software may only be distributed under this license. + +TERMINATION +This license becomes null and void if any of the above conditions are not met. + +DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/wp-themes/bmen/fonts/Ubuntu-B-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-B-webfont.eot new file mode 100755 index 0000000..922b3c0 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-B-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-B-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-B-webfont.svg new file mode 100755 index 0000000..61e9c52 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-B-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-B-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-B-webfont.ttf new file mode 100755 index 0000000..c81f83a Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-B-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-B-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-B-webfont.woff new file mode 100755 index 0000000..d275286 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-B-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-BI-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.eot new file mode 100755 index 0000000..0070cb6 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-BI-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.svg new file mode 100755 index 0000000..f9aaee8 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-BI-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.ttf new file mode 100755 index 0000000..4b4217a Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-BI-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.woff new file mode 100755 index 0000000..171b64f Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-BI-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-C-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-C-webfont.eot new file mode 100755 index 0000000..7777df6 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-C-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-C-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-C-webfont.svg new file mode 100755 index 0000000..687fd25 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-C-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-C-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-C-webfont.ttf new file mode 100755 index 0000000..c5c2ea2 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-C-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-C-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-C-webfont.woff new file mode 100755 index 0000000..326ecee Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-C-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-L-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-L-webfont.eot new file mode 100755 index 0000000..2518dab Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-L-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-L-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-L-webfont.svg new file mode 100755 index 0000000..df59451 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-L-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-L-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-L-webfont.ttf new file mode 100755 index 0000000..186e5a2 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-L-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-L-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-L-webfont.woff new file mode 100755 index 0000000..7c2af3b Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-L-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-LI-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.eot new file mode 100755 index 0000000..9783946 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-LI-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.svg new file mode 100755 index 0000000..9d45aaa --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-LI-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.ttf new file mode 100755 index 0000000..177e956 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-LI-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.woff new file mode 100755 index 0000000..70ee056 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-LI-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-M-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-M-webfont.eot new file mode 100755 index 0000000..a04b506 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-M-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-M-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-M-webfont.svg new file mode 100755 index 0000000..79e17a4 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-M-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-M-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-M-webfont.ttf new file mode 100755 index 0000000..5c4967c Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-M-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-M-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-M-webfont.woff new file mode 100755 index 0000000..72ce7ad Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-M-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-MI-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.eot new file mode 100755 index 0000000..6b97804 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-MI-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.svg new file mode 100755 index 0000000..fdcbf07 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-MI-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.ttf new file mode 100755 index 0000000..2dab3b7 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-MI-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.woff new file mode 100755 index 0000000..c1f6294 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-MI-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-R-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-R-webfont.eot new file mode 100755 index 0000000..893db99 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-R-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-R-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-R-webfont.svg new file mode 100755 index 0000000..9107828 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-R-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-R-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-R-webfont.ttf new file mode 100755 index 0000000..147d98e Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-R-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-R-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-R-webfont.woff new file mode 100755 index 0000000..cb3dc6f Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-R-webfont.woff differ diff --git a/wp-themes/bmen/fonts/Ubuntu-RI-webfont.eot b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.eot new file mode 100755 index 0000000..cde9f45 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.eot differ diff --git a/wp-themes/bmen/fonts/Ubuntu-RI-webfont.svg b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.svg new file mode 100755 index 0000000..380e142 --- /dev/null +++ b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.svg @@ -0,0 +1,232 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright 2011 Canonical Ltd Licensed under the Ubuntu Font Licence 10 +Designer : Dalton Maag Ltd +Foundry : Dalton Maag Ltd +Foundry URL : httpwwwdaltonmaagcom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/Ubuntu-RI-webfont.ttf b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.ttf new file mode 100755 index 0000000..92e05d8 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/Ubuntu-RI-webfont.woff b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.woff new file mode 100755 index 0000000..4f09e67 Binary files /dev/null and b/wp-themes/bmen/fonts/Ubuntu-RI-webfont.woff differ diff --git a/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.eot b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.eot new file mode 100755 index 0000000..e44a816 Binary files /dev/null and b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.eot differ diff --git a/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.svg b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.svg new file mode 100755 index 0000000..cfc6839 --- /dev/null +++ b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.svg @@ -0,0 +1,239 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Designer : Betatype +Foundry URL : Betatypecom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.ttf b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.ttf new file mode 100755 index 0000000..e5c233c Binary files /dev/null and b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.ttf differ diff --git a/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.woff b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.woff new file mode 100755 index 0000000..2b37e69 Binary files /dev/null and b/wp-themes/bmen/fonts/UbuntuTitling-Bold-webfont.woff differ diff --git a/wp-themes/bmen/footer.php b/wp-themes/bmen/footer.php new file mode 100644 index 0000000..f02df7e --- /dev/null +++ b/wp-themes/bmen/footer.php @@ -0,0 +1,36 @@ + +
 
+ + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/bmen/functions.php b/wp-themes/bmen/functions.php new file mode 100644 index 0000000..e304145 --- /dev/null +++ b/wp-themes/bmen/functions.php @@ -0,0 +1,17 @@ + 'Twitter Widget Homepage', + 'id' => 'homepage-twitter-widget', + 'description' => __( 'The Twitter widget on homepage' ), + 'before_widget' => '
', + 'after_widget' => '
', + 'before_title' => '

', + 'after_title' => '

', + ) ); +} +?> \ No newline at end of file diff --git a/wp-themes/bmen/header.php b/wp-themes/bmen/header.php new file mode 100644 index 0000000..f860f5c --- /dev/null +++ b/wp-themes/bmen/header.php @@ -0,0 +1,83 @@ + section and everything up till
+ * + * @package WordPress + * @subpackage Twenty_Eleven + * @since Twenty Eleven 1.0 + */ +?> + + + + +> + + + + +<?php + /* + * Print the <title> tag based on what is being viewed. + */ + global $page, $paged; + + wp_title( '|', true, 'right' ); + + // Add the blog name. + bloginfo( 'name' ); + + // Add the blog description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + echo " | $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); + + ?> + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to add elements to such + * as styles, scripts, and meta tags. + */ + wp_head(); +?> + + + + + +> + +
+
\ No newline at end of file diff --git a/wp-themes/bmen/images/bg_branding.png b/wp-themes/bmen/images/bg_branding.png new file mode 100644 index 0000000..269f67e Binary files /dev/null and b/wp-themes/bmen/images/bg_branding.png differ diff --git a/wp-themes/bmen/images/comment-bubble.png b/wp-themes/bmen/images/comment-bubble.png new file mode 100644 index 0000000..d1efb22 Binary files /dev/null and b/wp-themes/bmen/images/comment-bubble.png differ diff --git a/wp-themes/bmen/images/dark-linien.jpg b/wp-themes/bmen/images/dark-linien.jpg new file mode 100644 index 0000000..5afc0d2 Binary files /dev/null and b/wp-themes/bmen/images/dark-linien.jpg differ diff --git a/wp-themes/bmen/images/follow_facebook.png b/wp-themes/bmen/images/follow_facebook.png new file mode 100644 index 0000000..d69cb8d Binary files /dev/null and b/wp-themes/bmen/images/follow_facebook.png differ diff --git a/wp-themes/bmen/images/follow_facebook_30x30.png b/wp-themes/bmen/images/follow_facebook_30x30.png new file mode 100644 index 0000000..dab1abf Binary files /dev/null and b/wp-themes/bmen/images/follow_facebook_30x30.png differ diff --git a/wp-themes/bmen/images/follow_rss.png b/wp-themes/bmen/images/follow_rss.png new file mode 100644 index 0000000..84e1fa2 Binary files /dev/null and b/wp-themes/bmen/images/follow_rss.png differ diff --git a/wp-themes/bmen/images/follow_rss_30x30.png b/wp-themes/bmen/images/follow_rss_30x30.png new file mode 100644 index 0000000..70441ea Binary files /dev/null and b/wp-themes/bmen/images/follow_rss_30x30.png differ diff --git a/wp-themes/bmen/images/follow_twitter.png b/wp-themes/bmen/images/follow_twitter.png new file mode 100644 index 0000000..941aead Binary files /dev/null and b/wp-themes/bmen/images/follow_twitter.png differ diff --git a/wp-themes/bmen/images/follow_twitter_30x30.png b/wp-themes/bmen/images/follow_twitter_30x30.png new file mode 100644 index 0000000..88b2c8f Binary files /dev/null and b/wp-themes/bmen/images/follow_twitter_30x30.png differ diff --git a/wp-themes/bmen/images/logo.png b/wp-themes/bmen/images/logo.png new file mode 100644 index 0000000..858e6b2 Binary files /dev/null and b/wp-themes/bmen/images/logo.png differ diff --git a/wp-themes/bmen/images/logo_100x32.png b/wp-themes/bmen/images/logo_100x32.png new file mode 100644 index 0000000..dd9b712 Binary files /dev/null and b/wp-themes/bmen/images/logo_100x32.png differ diff --git a/wp-themes/bmen/images/twitter-ticker/loading.gif b/wp-themes/bmen/images/twitter-ticker/loading.gif new file mode 100755 index 0000000..03aa407 Binary files /dev/null and b/wp-themes/bmen/images/twitter-ticker/loading.gif differ diff --git a/wp-themes/bmen/images/twitter-ticker/slickbg.png b/wp-themes/bmen/images/twitter-ticker/slickbg.png new file mode 100755 index 0000000..87a6896 Binary files /dev/null and b/wp-themes/bmen/images/twitter-ticker/slickbg.png differ diff --git a/wp-themes/bmen/images/twitter-ticker/top_bar.png b/wp-themes/bmen/images/twitter-ticker/top_bar.png new file mode 100755 index 0000000..32fafdf Binary files /dev/null and b/wp-themes/bmen/images/twitter-ticker/top_bar.png differ diff --git a/wp-themes/bmen/images/twitter-ticker/transparent.png b/wp-themes/bmen/images/twitter-ticker/transparent.png new file mode 100755 index 0000000..81abc79 Binary files /dev/null and b/wp-themes/bmen/images/twitter-ticker/transparent.png differ diff --git a/wp-themes/bmen/images/twitter-ticker/twitter_64.png b/wp-themes/bmen/images/twitter-ticker/twitter_64.png new file mode 100755 index 0000000..7cc6ff9 Binary files /dev/null and b/wp-themes/bmen/images/twitter-ticker/twitter_64.png differ diff --git a/wp-themes/bmen/index.php b/wp-themes/bmen/index.php new file mode 100644 index 0000000..5692c71 --- /dev/null +++ b/wp-themes/bmen/index.php @@ -0,0 +1,53 @@ + + +
+
+ + + + + + + + + + + + + + + + +
+
+

+

Hallo Welt

+
+ +
+

+ +
+
+ + + +
+
+ + + \ No newline at end of file diff --git a/wp-themes/bmen/js/jScrollPane-1.2.3.min.js b/wp-themes/bmen/js/jScrollPane-1.2.3.min.js new file mode 100755 index 0000000..017510a --- /dev/null +++ b/wp-themes/bmen/js/jScrollPane-1.2.3.min.js @@ -0,0 +1 @@ +(function(A){A.jScrollPane={active:[]};A.fn.jScrollPane=function(C){C=A.extend({},A.fn.jScrollPane.defaults,C);var B=function(){return false};return this.each(function(){var O=A(this);O.css("overflow","hidden");var X=this;if(A(this).parent().is(".jScrollPaneContainer")){var Ac=C.maintainPosition?O.position().top:0;var L=A(this).parent();var d=L.innerWidth();var Ad=L.outerHeight();var M=Ad;A(">.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown",L).remove();O.css({top:0})}else{var Ac=0;this.originalPadding=O.css("paddingTop")+" "+O.css("paddingRight")+" "+O.css("paddingBottom")+" "+O.css("paddingLeft");this.originalSidePaddingTotal=(parseInt(O.css("paddingLeft"))||0)+(parseInt(O.css("paddingRight"))||0);var d=O.innerWidth();var Ad=O.innerHeight();var M=Ad;O.wrap(A("
").attr({className:"jScrollPaneContainer"}).css({height:Ad+"px",width:d+"px"}));A(document).bind("emchange",function(Ae,Af,p){O.jScrollPane(C)})}if(C.reinitialiseOnImageLoad){var N=A.data(X,"jScrollPaneImagesToLoad")||A("img",O);var G=[];if(N.length){N.each(function(p,Ae){A(this).bind("load",function(){if(A.inArray(p,G)==-1){G.push(Ae);N=A.grep(N,function(Ag,Af){return Ag!=Ae});A.data(X,"jScrollPaneImagesToLoad",N);C.reinitialiseOnImageLoad=false;O.jScrollPane(C)}}).each(function(Af,Ag){if(this.complete||this.complete===undefined){this.src=this.src}})})}}var o=this.originalSidePaddingTotal;var l={height:"auto",width:d-C.scrollbarWidth-C.scrollbarMargin-o+"px"};if(C.scrollbarOnLeft){l.paddingLeft=C.scrollbarMargin+C.scrollbarWidth+"px"}else{l.paddingRight=C.scrollbarMargin+"px"}O.css(l);var m=O.outerHeight();var i=Ad/m;if(i<0.99){var H=O.parent();H.append(A("
").attr({className:"jScrollPaneTrack"}).css({width:C.scrollbarWidth+"px"}).append(A("
").attr({className:"jScrollPaneDrag"}).css({width:C.scrollbarWidth+"px"}).append(A("
").attr({className:"jScrollPaneDragTop"}).css({width:C.scrollbarWidth+"px"}),A("
").attr({className:"jScrollPaneDragBottom"}).css({width:C.scrollbarWidth+"px"}))));var z=A(">.jScrollPaneTrack",H);var P=A(">.jScrollPaneTrack .jScrollPaneDrag",H);if(C.showArrows){var g;var Ab;var S;var r;var j=function(){if(r>4||r%4==0){y(u+Ab*b)}r++};var K=function(p){A("html").unbind("mouseup",K);g.removeClass("jScrollActiveArrowButton");clearInterval(S)};var Z=function(){A("html").bind("mouseup",K);g.addClass("jScrollActiveArrowButton");r=0;j();S=setInterval(j,100)};H.append(A("").attr({href:"javascript:;",className:"jScrollArrowUp"}).css({width:C.scrollbarWidth+"px"}).html("Scroll up").bind("mousedown",function(){g=A(this);Ab=-1;Z();this.blur();return false}).bind("click",B),A("").attr({href:"javascript:;",className:"jScrollArrowDown"}).css({width:C.scrollbarWidth+"px"}).html("Scroll down").bind("mousedown",function(){g=A(this);Ab=1;Z();this.blur();return false}).bind("click",B));var Q=A(">.jScrollArrowUp",H);var J=A(">.jScrollArrowDown",H);if(C.arrowSize){M=Ad-C.arrowSize-C.arrowSize;z.css({height:M+"px",top:C.arrowSize+"px"})}else{var s=Q.height();C.arrowSize=s;M=Ad-s-J.height();z.css({height:M+"px",top:s+"px"})}}var w=A(this).css({position:"absolute",overflow:"visible"});var D;var Y;var b;var u=0;var V=i*Ad/2;var a=function(Ae,Ag){var Af=Ag=="X"?"Left":"Top";return Ae["page"+Ag]||(Ae["client"+Ag]+(document.documentElement["scroll"+Af]||document.body["scroll"+Af]))||0};var f=function(){return false};var v=function(){n();D=P.offset(false);D.top-=u;Y=M-P[0].offsetHeight;b=2*C.wheelSpeed*Y/m};var E=function(p){v();V=a(p,"Y")-u-D.top;A("html").bind("mouseup",T).bind("mousemove",h);if(A.browser.msie){A("html").bind("dragstart",f).bind("selectstart",f)}return false};var T=function(){A("html").unbind("mouseup",T).unbind("mousemove",h);V=i*Ad/2;if(A.browser.msie){A("html").unbind("dragstart",f).unbind("selectstart",f)}};var y=function(Ae){Ae=Ae<0?0:(Ae>Y?Y:Ae);u=Ae;P.css({top:Ae+"px"});var Af=Ae/Y;w.css({top:((Ad-m)*Af)+"px"});O.trigger("scroll");if(C.showArrows){Q[Ae==0?"addClass":"removeClass"]("disabled");J[Ae==Y?"addClass":"removeClass"]("disabled")}};var h=function(p){y(a(p,"Y")-D.top-V)};var q=Math.max(Math.min(i*(Ad-C.arrowSize*2),C.dragMaxHeight),C.dragMinHeight);P.css({height:q+"px"}).bind("mousedown",E);var k;var R;var I;var t=function(){if(R>8||R%4==0){y((u-((u-I)/2)))}R++};var Aa=function(){clearInterval(k);A("html").unbind("mouseup",Aa).unbind("mousemove",e)};var e=function(p){I=a(p,"Y")-D.top-V};var U=function(p){v();e(p);R=0;A("html").bind("mouseup",Aa).bind("mousemove",e);k=setInterval(t,100);t()};z.bind("mousedown",U);H.bind("mousewheel",function(Ae,Ag){v();n();var Af=u;y(u-Ag*b);var p=Af!=u;return !p});var F;var W;function c(){var p=(F-u)/C.animateStep;if(p>1||p<-1){y(u+p)}else{y(F);n()}}var n=function(){if(W){clearInterval(W);delete F}};var x=function(Af,p){if(typeof Af=="string"){$e=A(Af,O);if(!$e.length){return}Af=$e.offset().top-O.offset().top}H.scrollTop(0);n();var Ae=-Af/(Ad-m)*Y;if(p||!C.animateTo){y(Ae)}else{F=Ae;W=setInterval(c,C.animateInterval)}};O[0].scrollTo=x;O[0].scrollBy=function(Ae){var p=-parseInt(w.css("top"))||0;x(p+Ae)};v();x(-Ac,true);A("*",this).bind("focus",function(Ah){var Ag=A(this);var Aj=0;while(Ag[0]!=O[0]){Aj+=Ag.position().top;Ag=Ag.offsetParent()}var p=-parseInt(w.css("top"))||0;var Ai=p+Ad;var Af=Aj>p&&Ajp){Ae+=A(this).height()+15+C.scrollbarMargin-Ad}x(Ae)}});if(location.hash){x(location.hash)}A(document).bind("click",function(Ae){$target=A(Ae.target);if($target.is("a")){var p=$target.attr("href");if(p.substr(0,1)=="#"){x(p)}}});A.jScrollPane.active.push(O[0])}else{O.css({height:Ad+"px",width:d-this.originalSidePaddingTotal+"px",padding:this.originalPadding});O.parent().unbind("mousewheel")}})};A.fn.jScrollPane.defaults={scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true,scrollbarOnLeft:false,reinitialiseOnImageLoad:false};A(window).bind("unload",function(){var C=A.jScrollPane.active;for(var B=0;B")[0].src=this}),this.isBody=n===document.body,this.$container=e(n),this.$wrap=e('
').css(r.wrap).appendTo(this.$container),this.$root=this.isBody?s?e(t):e(document):this.$container;if(!this.isBody){var u=this.$container.css("position"),a=this.$container.css("zIndex");this.$container.css({position:u==="static"?"relative":u,zIndex:a==="auto"?0:a,background:"none"}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&s?"fixed":"absolute"}),this.index=0,this.show(this.index),e(t).on("resize.backstretch",e.proxy(this.resize,this)).on("orientationchange.backstretch",e.proxy(function(){this.isBody&&t.pageYOffset===0&&(t.scrollTo(0,1),this.resize())},this))};i.prototype={resize:function(){try{var e={left:0,top:0},n=this.isBody?this.$root.width():this.$root.innerWidth(),r=n,i=this.isBody?t.innerHeight?t.innerHeight:this.$root.height():this.$root.innerHeight(),s=r/this.$img.data("ratio"),o;s>=i?(o=(s-i)/2,this.options.centeredY&&(e.top="-"+o+"px")):(s=i,r=s*this.$img.data("ratio"),o=(r-n)/2,this.options.centeredX&&(e.left="-"+o+"px")),this.$wrap.css({width:n,height:i}).find("img:not(.deleteable)").css({width:r,height:s}).css(e)}catch(u){}return this},show:function(t){if(Math.abs(t)>this.images.length-1)return;this.index=t;var n=this,i=n.$wrap.find("img").addClass("deleteable"),s=e.Event("backstretch.show",{relatedTarget:n.$container[0]});return clearInterval(n.interval),n.$img=e("").css(r.img).bind("load",function(t){var r=this.width||e(t.target).width(),o=this.height||e(t.target).height();e(this).data("ratio",r/o),e(this).fadeIn(n.options.speed||n.options.fade,function(){i.remove(),n.paused||n.cycle(),n.$container.trigger(s,n)}),n.resize()}).appendTo(n.$wrap),n.$img.attr("src",n.images[t]),n},next:function(){return this.show(this.index1&&(clearInterval(this.interval),this.interval=setInterval(e.proxy(function(){this.paused||this.next()},this),this.options.duration)),this},destroy:function(n){e(t).off("resize.backstretch orientationchange.backstretch"),clearInterval(this.interval),n||this.$wrap.remove(),this.$container.removeData("backstretch")}};var s=function(){var e=navigator.userAgent,n=navigator.platform,r=e.match(/AppleWebKit\/([0-9]+)/),i=!!r&&r[1],s=e.match(/Fennec\/([0-9]+)/),o=!!s&&s[1],u=e.match(/Opera Mobi\/([0-9]+)/),a=!!u&&u[1],f=e.match(/MSIE ([0-9]+)/),l=!!f&&f[1];return!((n.indexOf("iPhone")>-1||n.indexOf("iPad")>-1||n.indexOf("iPod")>-1)&&i&&i<534||t.operamini&&{}.toString.call(t.operamini)==="[object OperaMini]"||u&&a<7458||e.indexOf("Android")>-1&&i&&i<533||o&&o<6||"palmGetResource"in t&&i&&i<534||e.indexOf("MeeGo")>-1&&e.indexOf("NokiaBrowser/8.5.0")>-1||l&&l<=6)}()})(jQuery,window); \ No newline at end of file diff --git a/wp-themes/bmen/js/jquery.cycle.lite.js b/wp-themes/bmen/js/jquery.cycle.lite.js new file mode 100644 index 0000000..aa8d9a6 --- /dev/null +++ b/wp-themes/bmen/js/jquery.cycle.lite.js @@ -0,0 +1,225 @@ +/*! + * jQuery Cycle Lite Plugin + * http://malsup.com/jquery/cycle/lite/ + * Copyright (c) 2008-2012 M. Alsup + * Version: 1.5 (05-MAR-2012) + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * Requires: jQuery v1.3.2 or later + */ +;(function($) { + +var ver = 'Lite-1.5'; + +$.fn.cycle = function(options) { + return this.each(function() { + options = options || {}; + + if (this.cycleTimeout) clearTimeout(this.cycleTimeout); + + this.cycleTimeout = 0; + this.cyclePause = 0; + + var $cont = $(this); + var $slides = options.slideExpr ? $(options.slideExpr, this) : $cont.children(); + var els = $slides.get(); + if (els.length < 2) { + window.console && console.log('terminating; too few slides: ' + els.length); + return; // don't bother + } + + // support metadata plugin (v1.0 and v2.0) + var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {}); + var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null; + if (meta) + opts = $.extend(opts, meta); + + opts.before = opts.before ? [opts.before] : []; + opts.after = opts.after ? [opts.after] : []; + opts.after.unshift(function(){ opts.busy=0; }); + + // allow shorthand overrides of width, height and timeout + var cls = this.className; + opts.width = parseInt((cls.match(/w:(\d+)/)||[])[1]) || opts.width; + opts.height = parseInt((cls.match(/h:(\d+)/)||[])[1]) || opts.height; + opts.timeout = parseInt((cls.match(/t:(\d+)/)||[])[1]) || opts.timeout; + + if ($cont.css('position') == 'static') + $cont.css('position', 'relative'); + if (opts.width) + $cont.width(opts.width); + if (opts.height && opts.height != 'auto') + $cont.height(opts.height); + + var first = 0; + $slides.css({position: 'absolute', top:0}).each(function(i) { + $(this).css('z-index', els.length-i) + }); + + $(els[first]).css('opacity',1).show(); // opacity bit needed to handle reinit case + if ($.browser.msie) els[first].style.removeAttribute('filter'); + + if (opts.fit && opts.width) + $slides.width(opts.width); + if (opts.fit && opts.height && opts.height != 'auto') + $slides.height(opts.height); + if (opts.pause) + $cont.hover(function(){this.cyclePause=1;}, function(){this.cyclePause=0;}); + + var txFn = $.fn.cycle.transitions[opts.fx]; + txFn && txFn($cont, $slides, opts); + + $slides.each(function() { + var $el = $(this); + this.cycleH = (opts.fit && opts.height) ? opts.height : $el.height(); + this.cycleW = (opts.fit && opts.width) ? opts.width : $el.width(); + }); + + if (opts.cssFirst) + $($slides[first]).css(opts.cssFirst); + + if (opts.timeout) { + // ensure that timeout and speed settings are sane + if (opts.speed.constructor == String) + opts.speed = {slow: 600, fast: 200}[opts.speed] || 400; + if (!opts.sync) + opts.speed = opts.speed / 2; + while((opts.timeout - opts.speed) < 250) + opts.timeout += opts.speed; + } + opts.speedIn = opts.speed; + opts.speedOut = opts.speed; + + opts.slideCount = els.length; + opts.currSlide = first; + opts.nextSlide = 1; + + // fire artificial events + var e0 = $slides[first]; + if (opts.before.length) + opts.before[0].apply(e0, [e0, e0, opts, true]); + if (opts.after.length > 1) + opts.after[1].apply(e0, [e0, e0, opts, true]); + + if (opts.click && !opts.next) + opts.next = opts.click; + if (opts.next) + $(opts.next).unbind('click.cycle').bind('click.cycle', function(){return advance(els,opts,opts.rev?-1:1)}); + if (opts.prev) + $(opts.prev).unbind('click.cycle').bind('click.cycle', function(){return advance(els,opts,opts.rev?1:-1)}); + + if (opts.timeout) + this.cycleTimeout = setTimeout(function() { + go(els,opts,0,!opts.rev) + }, opts.timeout + (opts.delay||0)); + }); +}; + +function go(els, opts, manual, fwd) { + if (opts.busy) return; + var p = els[0].parentNode, curr = els[opts.currSlide], next = els[opts.nextSlide]; + if (p.cycleTimeout === 0 && !manual) + return; + + if (manual || !p.cyclePause) { + if (opts.before.length) + $.each(opts.before, function(i,o) { o.apply(next, [curr, next, opts, fwd]); }); + var after = function() { + if ($.browser.msie) + this.style.removeAttribute('filter'); + $.each(opts.after, function(i,o) { o.apply(next, [curr, next, opts, fwd]); }); + queueNext(); + }; + + if (opts.nextSlide != opts.currSlide) { + opts.busy = 1; + $.fn.cycle.custom(curr, next, opts, after); + } + var roll = (opts.nextSlide + 1) == els.length; + opts.nextSlide = roll ? 0 : opts.nextSlide+1; + opts.currSlide = roll ? els.length-1 : opts.nextSlide-1; + } else { + queueNext(); + } + + function queueNext() { + if (opts.timeout) + p.cycleTimeout = setTimeout(function() { go(els,opts,0,!opts.rev) }, opts.timeout); + } +}; + +// advance slide forward or back +function advance(els, opts, val) { + var p = els[0].parentNode, timeout = p.cycleTimeout; + if (timeout) { + clearTimeout(timeout); + p.cycleTimeout = 0; + } + opts.nextSlide = opts.currSlide + val; + if (opts.nextSlide < 0) { + opts.nextSlide = els.length - 1; + } + else if (opts.nextSlide >= els.length) { + opts.nextSlide = 0; + } + go(els, opts, 1, val>=0); + return false; +}; + +$.fn.cycle.custom = function(curr, next, opts, cb) { + var $l = $(curr), $n = $(next); + $n.css(opts.cssBefore); + var fn = function() {$n.animate(opts.animIn, opts.speedIn, opts.easeIn, cb)}; + $l.animate(opts.animOut, opts.speedOut, opts.easeOut, function() { + $l.css(opts.cssAfter); + if (!opts.sync) fn(); + }); + if (opts.sync) fn(); +}; + +$.fn.cycle.transitions = { + fade: function($cont, $slides, opts) { + $slides.not(':eq(0)').hide(); + opts.cssBefore = { opacity: 0, display: 'block' }; + opts.cssAfter = { display: 'none' }; + opts.animOut = { opacity: 0 }; + opts.animIn = { opacity: 1 }; + }, + fadeout: function($cont, $slides, opts) { + opts.before.push(function(curr,next,opts,fwd) { + $(curr).css('zIndex',opts.slideCount + (fwd === true ? 1 : 0)); + $(next).css('zIndex',opts.slideCount + (fwd === true ? 0 : 1)); + }); + $slides.not(':eq(0)').hide(); + opts.cssBefore = { opacity: 1, display: 'block', zIndex: 1 }; + opts.cssAfter = { display: 'none', zIndex: 0 }; + opts.animOut = { opacity: 0 }; + } +}; + +$.fn.cycle.ver = function() { return ver; }; + +// @see: http://malsup.com/jquery/cycle/lite/ +$.fn.cycle.defaults = { + animIn: {}, + animOut: {}, + fx: 'fade', + after: null, + before: null, + cssBefore: {}, + cssAfter: {}, + delay: 0, + fit: 0, + height: 'auto', + metaAttr: 'cycle', + next: null, + pause: 0, + prev: null, + speed: 1000, + slideExpr: null, + sync: 1, + timeout: 4000 +}; + +})(jQuery); \ No newline at end of file diff --git a/wp-themes/bmen/js/jquery.mousewheel.js b/wp-themes/bmen/js/jquery.mousewheel.js new file mode 100755 index 0000000..f255340 --- /dev/null +++ b/wp-themes/bmen/js/jquery.mousewheel.js @@ -0,0 +1,85 @@ +/* Copyright (c) 2006 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net) + * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) + * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. + * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. + * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. + * + * $LastChangedDate: 2007-12-20 09:02:08 -0600 (Thu, 20 Dec 2007) $ + * $Rev: 4265 $ + * + * Version: 3.0 + * + * Requires: $ 1.2.2+ + */ + +(function($) { + +$.event.special.mousewheel = { + setup: function() { + var handler = $.event.special.mousewheel.handler; + + // Fix pageX, pageY, clientX and clientY for mozilla + if ( $.browser.mozilla ) + $(this).bind('mousemove.mousewheel', function(event) { + $.data(this, 'mwcursorposdata', { + pageX: event.pageX, + pageY: event.pageY, + clientX: event.clientX, + clientY: event.clientY + }); + }); + + if ( this.addEventListener ) + this.addEventListener( ($.browser.mozilla ? 'DOMMouseScroll' : 'mousewheel'), handler, false); + else + this.onmousewheel = handler; + }, + + teardown: function() { + var handler = $.event.special.mousewheel.handler; + + $(this).unbind('mousemove.mousewheel'); + + if ( this.removeEventListener ) + this.removeEventListener( ($.browser.mozilla ? 'DOMMouseScroll' : 'mousewheel'), handler, false); + else + this.onmousewheel = function(){}; + + $.removeData(this, 'mwcursorposdata'); + }, + + handler: function(event) { + var args = Array.prototype.slice.call( arguments, 1 ); + + event = $.event.fix(event || window.event); + // Get correct pageX, pageY, clientX and clientY for mozilla + $.extend( event, $.data(this, 'mwcursorposdata') || {} ); + var delta = 0, returnValue = true; + + if ( event.wheelDelta ) delta = event.wheelDelta/120; + if ( event.detail ) delta = -event.detail/3; +// if ( $.browser.opera ) delta = -event.wheelDelta; + + event.data = event.data || {}; + event.type = "mousewheel"; + + // Add delta to the front of the arguments + args.unshift(delta); + // Add event to the front of the arguments + args.unshift(event); + + return $.event.handle.apply(this, args); + } +}; + +$.fn.extend({ + mousewheel: function(fn) { + return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel"); + }, + + unmousewheel: function(fn) { + return this.unbind("mousewheel", fn); + } +}); + +})(jQuery); \ No newline at end of file diff --git a/wp-themes/bmen/js/jquery.twitter-ticker.js b/wp-themes/bmen/js/jquery.twitter-ticker.js new file mode 100755 index 0000000..c78c683 --- /dev/null +++ b/wp-themes/bmen/js/jquery.twitter-ticker.js @@ -0,0 +1,73 @@ +var tweetUsers = ['_bmen']; +var buildString = ""; + +$(document).ready(function(){ + + $('#twitter-ticker').slideDown('slow'); + + for(var i=0;i'+this.from_user+'
\ + \ +
'+relativeTime(this.created_at)+'
\ +
'+formatTwitString(this.text)+'
\ +
'; + + container.append(str); + + }); + + container.jScrollPane(); +} + +function formatTwitString(str) +{ + str=' '+str; + str = str.replace(/((ftp|https?):\/\/([-\w\.]+)+(:\d+)?(\/([\w/_\.]*(\?\S+)?)?)?)/gm,'$1'); + str = str.replace(/([^\w])\@([\w\-]+)/gm,'$1@$2'); + str = str.replace(/([^\w])\#([\w\-]+)/gm,'$1#$2'); + return str; +} + +function relativeTime(pastTime) +{ + var origStamp = Date.parse(pastTime); + var curDate = new Date(); + var currentStamp = curDate.getTime(); + + var difference = parseInt((currentStamp - origStamp)/1000); + + if(difference < 0) return false; + + if(difference <= 5) return "Just now"; + if(difference <= 20) return "Seconds ago"; + if(difference <= 60) return "A minute ago"; + if(difference < 3600) return parseInt(difference/60)+" minutes ago"; + if(difference <= 1.5*3600) return "One hour ago"; + if(difference < 23.5*3600) return Math.round(difference/3600)+" hours ago"; + if(difference < 1.5*24*3600) return "One day ago"; + + var dateArr = pastTime.split(' '); + return dateArr[4].replace(/\:\d+$/,'')+' '+dateArr[2]+' '+dateArr[1]+(dateArr[3]!=curDate.getFullYear()?' '+dateArr[3]:''); +} \ No newline at end of file diff --git a/wp-themes/bmen/link-page.php b/wp-themes/bmen/link-page.php new file mode 100644 index 0000000..6169560 --- /dev/null +++ b/wp-themes/bmen/link-page.php @@ -0,0 +1,32 @@ + + +
+
+ + + + + + + + +
+
+ + \ No newline at end of file diff --git a/wp-themes/bmen/screenshot.png b/wp-themes/bmen/screenshot.png new file mode 100644 index 0000000..b1fb07f Binary files /dev/null and b/wp-themes/bmen/screenshot.png differ diff --git a/wp-themes/bmen/sidebar.php b/wp-themes/bmen/sidebar.php new file mode 100644 index 0000000..0f08571 --- /dev/null +++ b/wp-themes/bmen/sidebar.php @@ -0,0 +1,36 @@ + + + \ No newline at end of file diff --git a/wp-themes/bmen/start-page.php b/wp-themes/bmen/start-page.php new file mode 100644 index 0000000..4a195e0 --- /dev/null +++ b/wp-themes/bmen/start-page.php @@ -0,0 +1,49 @@ + + + + + +
+
+ + +
+ + +
+ + + + +
+
+ +
 
+
+ + + \ No newline at end of file diff --git a/wp-themes/bmen/style.css b/wp-themes/bmen/style.css new file mode 100644 index 0000000..d81e7d4 --- /dev/null +++ b/wp-themes/bmen/style.css @@ -0,0 +1,304 @@ +/* +Theme Name: bmen (Twenty Eleven Child) +Description: Theme for bmen +Author: bmen +Template: twentyeleven +*/ + +@import url("../twentyeleven/style.css"); +@import url("fonts.css"); + +/* =General Structure +----------------------------------------------- */ +p { margin-bottom:1.2em; } +body { position:relative; background:#1982D1; color:#DDDDDD; padding:0; z-index:1; font: 13px/20px 'UbuntuLight', Arial, sans-serif;} +#page { position:relative; background:none; color:#fff; width:100%; max-width:none; margin:0 0 60px 0; padding:0 0 0 0; background:url(images/dark-linien.jpg) 0 0 repeat; color:##DDDDDD; z-index:2;} +#main { position:relative; padding:0; max-width:1000px; z-index:4;} +.left-sidebar #primary { position:relative; margin:0; padding:0; float:none; z-index:5; } +.left-sidebar #content { width:65%; } +.left-sidebar #secondary, +#secondary { border-top: none; padding-bottom: 10px; margin:0; position:fixed; top:0; left:30px; width:240px; height:100%; z-index: 9999; background:url(images/bg_branding.png) 0 0 repeat; z-index:6;} +#secondary aside { margin-left:30px;} +#secondary aside.widget_nav_menu ul { list-style:none; } +#menu-hauptmenu li { float:none; margin-left:-30px; text-align:center; font-size:120%; } +#colophon { position:fixed; bottom:0; width:100%; max-width:700px; margin-left:300px; z-index:1; background:#1982D1; } +#colophon #supplementary { border-top:0; padding:5px 0; } +#colophon .widget { margin:0; } + +/* =Navigations +----------------------------------------------- */ +.menu-projekte-container { display:none; } +.category-8 .menu-projekte-container, +.category-9 .menu-projekte-container, +.category-10 .menu-projekte-container, +.category-11 .menu-projekte-container, +.category-12 .menu-projekte-container, +.category-16 .menu-projekte-container { display:block; } +.category-8 h1.page-title, +.category-9 h1.page-title, +.category-10 h1.page-title, +.category-11 h1.page-title, +.category-12 h1.page-title, +.category-16 h1.page-title { padding-top:19px; } +.menu-projekte-container ul { margin:0; padding-top:2px; float:right;} +.menu-projekte-container ul li:first-child a { border-bottom-left-radius:7px; } +.menu-projekte-container ul li:last-child a { border-bottom-right-radius:7px; } +.menu-projekte-container ul li { list-style:none; float:left;} +.menu-projekte-container ul li a:link, +.menu-projekte-container ul li a:visited { background:#1f1f1f; padding:5px 15px; color:#fff; } +.menu-projekte-container ul li a:hover, +.menu-projekte-container ul li a:focus, +.menu-projekte-container ul li a:active { background:#1982D1; text-decoration:none; } +.menu-projekte-container ul li.current-menu-item a { background:#1982D1; } + +/* =Headings +----------------------------------------------- */ +.entry-content h1, .entry-content h2, .comment-content h1, .comment-content h2 { font: 18px/27px 'UbuntuTitlingBold', Arial, sans-serif; color:#fff; } +h1.entry-title { color: #fff; margin: 0 0 10px 0; padding-top:25px; font: 25px/30px 'UbuntuTitlingBold', Arial, sans-serif; } +h1.page-title { color: #fff; margin: 0 0 10px 0; padding-top:45px; font: 33px/42px 'UbuntuTitlingBold', Arial, sans-serif; } +.entry-header .entry-format { display:none; } + +#reply-title, +.entry-title, +.entry-meta, +.entry-title a, +#comments-title { color:#fff; font-weight:normal; } + +#reply-title { font: 33px/42px 'UbuntuTitlingBold', Arial, sans-serif; } + +#comments-title { font-size:100%; } + +/* =Links +----------------------------------------------- */ +#secondary a.logo { display:block; width:240px; height:64px; margin:35px 0 35px -30px; background:url(images/logo.png) 0 0 no-repeat; text-decoration:none;} + +#secondary a:link, +#secondary a:visited { color:#fff; } +#secondary #menu-hauptmenu li a:link, +#secondary #menu-hauptmenu li a:visited { display:block; width:100%; padding:8px 0; border-bottom:1px #555555 solid; border-top:1px #555555 solid; } +#secondary #menu-hauptmenu li a:hover, +#secondary #menu-hauptmenu li a:focus, +#secondary #menu-hauptmenu li a:active { background:#1982D1; text-decoration:none; } +#secondary #menu-hauptmenu .current-menu-item a { background:#1982D1; } + +#content nav a:link, +#content nav a:visited { display:block; padding:2px 8px; background:url(images/bg_branding.png) 0 0 repeat; float:left; color:#fff;} +#content nav a:hover, +#content nav a:focus, +#content nav a:active { background:#1982D1; text-decoration:none; } +#content nav .nav-previous a { border-bottom-left-radius:7px; } +#content nav .nav-next a { border-bottom-right-radius:7px; } + +.entry-meta a { + font-weight: normal; +} + +.entry-header .comments-link a:link, +.entry-header .comments-link a:visited { background:transparent url("images/comment-bubble.png") 0 0 no-repeat; } +.entry-header .comments-link a:hover, +.entry-header .comments-link a:focus, +.entry-header .comments-link a:active { background:transparent url("images/comment-bubble.png") 0 -36px no-repeat; } + +#colophon a:link, +#colophon a:visited { color:#fff; } + +a:focus img[class*="align"], +a:hover img[class*="align"], +a:active img[class*="align"], +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"], +#content .gallery .gallery-icon a:focus img, +#content .gallery .gallery-icon a:hover img, +#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */ + background: #1982d1; + border-color: #1982d1; +} + +a.rss-category:link, +a.rss-category:visited { display:block; float:right; width:25px; height:25px; margin-top:-45px; background:url(images/follow_rss.png) 0 0 no-repeat; } +a.rss-category:hover, +a.rss-category:focus, +a.rss-category:active { background-position:0 -25px; } + +a.follow:link, +a.follow:visited { display:block; width:30px; height:30px; float:left; margin-left:20px; background-position:0 0; background-repeat:no-repeat; } +a.follow:hover, +a.follow:focus, +a.follow:active { background-position:0 -30px; } + +a.follow.fb { background-image:url(images/follow_facebook_30x30.png); } +a.follow.tw { background-image:url(images/follow_twitter_30x30.png); } +a.follow.rss { background-image:url(images/follow_rss_30x30.png); } + +a.comment-reply-link:hover, a.comment-reply-link:focus, a.comment-reply-link:active { + background: none repeat scroll 0 0 #1982d1; + color: #FFFFFF; +} + +#respond input#submit:hover { background:#1982D1; } + +/* =Comments +----------------------------------------------- */ +#respond { background:none; border:0; } +#respond input#submit { background:#fff; color:#1f1f1f; } +#respond #commentform p { margin:0; padding:0; } +.moz-sidebar-adjust .commentlist { padding-left:100px !important; } +.moz-sidebar-adjust .commentlist, #respond { width:84% !important; } + +/* =Individual Rules +----------------------------------------------- */ +#site-generator { display:none; } +#nav-single { display:none; top:0; padding:0; } +#content nav { padding:0; } +#content .page, +.single .type-post { padding-top:30px; } +.format-gallery footer.entry-meta { padding-top:15px; } +img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img { border:0; } +.commentlist { color:#000; } +code { display:block; widht:100%; padding:4px; background:black; line-height:20px; } +#ticker { position:absolute; top:20px; width:300px; height:200px; background:black; right:10px; display:block; z-index:2; color:#fff;} +#recent-posts-2 { display:none; } /*Last posts on startpage only for Google & Co*/ + +/* =Widgets +----------------------------------------------- */ +.widget-title, +.widget ul li { color:#fff; } + +/* =Class +----------------------------------------------- */ +.display-none { display:none; } +.clearer { clear:both; height:0; } + +/* =Page-Template: Link-Page +----------------------------------------------- */ +.page-template-link-page-php #content .entry-content { padding:0; } +.page-template-link-page-php #content .entry-meta { display:none; } +.page-template-link-page-php #content .hentry, .no-results { border-bottom:0; margin:0; } +.page-template-link-page-php #content .widget-area aside { width:45%; margin-right:5%; float:left; clear:none; } + +/* =Responsive Structure +----------------------------------------------- */ +@media (max-width: 800px) { + /* Simplify the basic layout */ + body { background:url(images/dark-linien.jpg) 0 0 repeat #000; } + .left-sidebar #primary { padding-top:50px; } + #main #secondary, + .left-sidebar #secondary { position:absolute; top:0; left:0 !important; width:100% !important; height:auto; float: none; margin: 0; width: auto; } + #secondary aside { margin-left:0;} + #secondary a.logo { width:240px; height:64px; margin:10px 0 0 0; } + #secondary aside#text-2 { float:left; margin-bottom:0px; } + #secondary aside#nav_menu-2 { width:70%; float:right; margin:-65px 0 0 0; padding:0; } + #secondary aside#nav_menu-2 li { margin:0; } + #secondary aside#text-6 { margin:-30px 0 0 0; float:right; } + #secondary #menu-hauptmenu li a:link, + #secondary #menu-hauptmenu li a:visited { width:auto; padding:8px 10px; font-size:14px; font-weight:normal; border-bottom:none; border-top:none; float:left; } + #secondary #menu-hauptmenu li a:hover, + #secondary #menu-hauptmenu li a:focus, + #secondary #menu-hauptmenu li a:active { background:#1982D1; text-decoration:none; } + #secondary #menu-hauptmenu .current-menu-item a { background:#1982D1; } + .moz-sidebar-adjust .commentlist { padding-left:0 !important; } + .moz-sidebar-adjust .commentlist, #respond { width:100% !important; } + #colophon { position:relative; bottom:none; z-index:1; margin-left:0; } + #colophon #supplementary .widget-area { float: left; margin:0 3.7%; width:42.6%; } + .slideshow { top:84px !important; } + #twitter-ticker { display:none !important; } +} +@media (max-width: 600px) { + /* Simplify the basic layout */ + .left-sidebar #primary { padding-top:90px; } + #secondary { position:absolute; top:0; left:0; width:100%; } + #secondary a.logo { width:120px; height:32px; margin:10px 0 0 0; background:url(images/logo_100x32.png) 0 0 no-repeat; } + #secondary aside#nav_menu-2 { float: right; margin: -33px 0 0; padding: 0; width: 70%; } + #secondary aside#text-6 { margin:0 0 0 0; float:right; } + .slideshow { top:125px !important; } +} +/* = PLugin: Contact Form 7 +----------------------------------------------- */ +.wpcf7 #contact input[type="text"], +.wpcf7 #contact textarea { width:100%; } +.wpcf7 #contact p.subject input[type="text"] { font-size:20px; padding:8px 2px; } +.wpcf7 #contact p.name { width:48%; float:left; } +.wpcf7 #contact p.mail { width:48%; float:right; } +.wpcf7 #contact p.captcha { float:left; margin-top:10px; } +.wpcf7 #contact p.captcha.pic { width:16%; } +.wpcf7 #contact p.captcha.input { width:32%; } +.wpcf7 #contact p.captcha input.wpcf7-captchar[type="text"] { width:100%; } +.wpcf7 #contact p.captcha img.wpcf7-captchac { margin:0 10px 0 0; } + +/* = PLugin: jQuery Cycle +----------------------------------------------- */ +.slideshow { position:fixed; top:0; left:0; width:100%; height:100%; background:#000; z-index:1; } +.slideshow img { width:100%; } + +#cboxLoadedContent { overflow:hidden !important; } + +/* = Widget: Homepage Twitter Widget +----------------------------------------------- */ +h2.tut{ + color:white; + font-family:"Myriad Pro",Arial,Helvetica,sans-serif; + font-size:16px; + padding:12px 0 0 58px; + text-transform:uppercase; + + text-shadow:2px 1px 6px #333; +} + +#twitter-ticker{ + width:400px; + height:300px; + position:fixed; + bottom:30px; + right:30px; + z-index:3; + background:url("images/bg_branding.png") repeat scroll 0 0 transparent; + color:#666666; + -moz-border-radius:10px 10px 6px 6px; + -khtml-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius:6px; + text-align:left; +} + +#tweet-container{ + height:230px; + width:auto; + overflow:hidden; +} + +#twitIcon{ + position:absolute; + top:-25px; + left:-10px; + width:64px; + height:64px; +} + +#top-bar{ + height:45px; + background:url(img/top_bar.png) repeat-x; + border-bottom:1px solid white; + position:relative; + margin-bottom:8px; + -moz-border-radius:6px 6px 0 0; +} +/* = Plugin: Widget embed latest Tweets +----------------------------------------------- */ +#twitter-widget { + margin-top:30px; + color:#fff; +} +#twitter-widget ul { + margin:0 0 0 0; + padding:0 16px; +} +#twitter-widget ul li { + list-style:none; + margin:0 0 8px 0; + padding:0 0 8px 0; + border-bottom:1px solid #fff; +} +#twitter-widget ul li:last-child { + border:0; +} \ No newline at end of file diff --git a/wp-themes/twentyeleven/404.php b/wp-themes/twentyeleven/404.php new file mode 100644 index 0000000..03e0651 --- /dev/null +++ b/wp-themes/twentyeleven/404.php @@ -0,0 +1,48 @@ + + +
+
+ +
+
+

+
+ +
+

+ + + + 10 ), array( 'widget_id' => '404' ) ); ?> + +
+

+
    + 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> +
+
+ + ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '

'; + the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), array( 'after_title' => ''.$archive_content ) ); + ?> + + + +
+
+ +
+
+ + \ No newline at end of file diff --git a/wp-themes/twentyeleven/archive.php b/wp-themes/twentyeleven/archive.php new file mode 100644 index 0000000..13390e2 --- /dev/null +++ b/wp-themes/twentyeleven/archive.php @@ -0,0 +1,72 @@ + + +
+
+ + + + + + + + + + + + + + + + + + +
+
+

+
+ +
+

+ +
+
+ + + +
+
+ + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/author.php b/wp-themes/twentyeleven/author.php new file mode 100644 index 0000000..472cb13 --- /dev/null +++ b/wp-themes/twentyeleven/author.php @@ -0,0 +1,89 @@ + + +
+
+ + + + + + + + + + + + +
+
+ +
+
+

+ +
+
+ + + + + + + + + + + + + +
+
+

+
+ +
+

+ +
+
+ + + +
+
+ + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/category.php b/wp-themes/twentyeleven/category.php new file mode 100644 index 0000000..539cbbd --- /dev/null +++ b/wp-themes/twentyeleven/category.php @@ -0,0 +1,65 @@ + + +
+
+ + + +
' ); + ?> + + + + + + + + + + + + + + + +
+
+

+
+ +
+

+ +
+
+ + + + +
+ + + diff --git a/wp-themes/twentyeleven/colors/dark.css b/wp-themes/twentyeleven/colors/dark.css new file mode 100644 index 0000000..63b809f --- /dev/null +++ b/wp-themes/twentyeleven/colors/dark.css @@ -0,0 +1,623 @@ +/* + A dark color scheme for Twenty Eleven +*/ + +/* =Global +----------------------------------------------- */ + +body { + background: #1d1d1d; + color: #bbb; +} +#page { + background: #0f0f0f; +} + +/* Headings */ +hr { + background-color: #333; +} + +/* Text elements */ +blockquote cite { + color: #999; +} +pre { + background: #0b0b0b; +} +code, kbd { + font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} +abbr, acronym, dfn { + border-bottom: 1px dotted #999; +} +ins { + background: #00063f; +} +input[type=text], +input[type=password], +input[type=email], +input[type=url], +input[type=number], +textarea { + border: 1px solid #222; +} +input#s { + background-color: #ddd; +} + +/* Links */ +a { +} + + +/* =Header +----------------------------------------------- */ + +#branding { + border-top: 2px solid #0a0a0a; +} +#site-title a { + color: #eee; +} +#site-title a:hover, +#site-title a:focus, +#site-title a:active { +} +#site-description { + color: #858585; +} +#branding #s { + background-color: #ddd; +} + + +/* =Menu +----------------------------------------------- */ + +#access { + background: #333; /* Show a solid color for older browsers */ + background: -moz-linear-gradient(#383838, #272727); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#383838), to(#272727)); /* older webkit syntax */ + background: -webkit-linear-gradient(#383838, #272727); + border-bottom: 1px solid #222; +} + +/* =Content +----------------------------------------------- */ + +.page-title { + color: #ccc; +} +.hentry { + border-color: #222; +} +.entry-title { + color: #ddd; +} +.entry-title, +.entry-title a { + color: #ddd; +} +.entry-title a:hover, +.entry-title a:focus, +.entry-title a:active { +} +.entry-meta { + color: #999; +} +.entry-content h1, +.entry-content h2, +.comment-content h1, +.comment-content h2 { + color: #fff; +} +.entry-content table, +.comment-content table { + border-color: #222; +} +.entry-content th, +.comment-content th { + color: #999; +} +.entry-content td, +.comment-content td { + border-color: #222; +} +.page-link { +} +.page-link a { + background: #242424; + color: #bbb; +} +.page-link a:hover { + background: #999; + color: #000; +} +.entry-meta .edit-link a { + background: #242424; + color: #bbb; +} +.entry-meta .edit-link a:hover, +.entry-meta .edit-link a:focus, +.entry-meta .edit-link a:active { + background: #999; + color: #000; +} + +/* Images */ +.wp-caption { + background: #2c2c2c; +} +.wp-caption .wp-caption-text { + color: #999; +} +.wp-caption .wp-caption-text:before { + color: #999; +} + +/* Image borders */ +img[class*="wp-image-"], +#content .gallery .gallery-icon img { + border-color: #2c2c2c; +} +.wp-caption img { + border-color: #2c2c2c; +} +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"] { + background: #2c2c2c; + border-color: #444; +} +.wp-caption a:focus img, +.wp-caption a:active img, +.wp-caption a:hover img { + background: #0f0f0f; + border-color: #2c2c2c; +} + +/* Password Protected Posts */ +.post-password-required input[type=password] { + background: #ddd; +} +.post-password-required input[type=password]:focus { + background: #fff; +} + +/* Author Info */ +.singular #author-info { + background: #060606; + border-color: #222; +} +.archive #author-info { + border-color: #222; +} +#author-avatar img { + background: #000; + -webkit-box-shadow: 0 1px 2px #444; + -moz-box-shadow: 0 1px 2px #444; + box-shadow: 0 1px 2px #444; +} +#author-description h2 { + color: #fff; +} + +/* Comments link */ +.entry-header .comments-link a { + background: #282828 url(../images/comment-bubble-dark.png) no-repeat; + border-color: #222; + color: #888; +} + +.rtl .entry-header .comments-link a { + background-image: url(../images/comment-bubble-dark-rtl.png); +} +/* Singular content styles for Posts and Pages */ +.singular .entry-title { + color: #fff; +} + + +/* =Status +----------------------------------------------- */ + +.format-status img.avatar { + -webkit-box-shadow: 0 1px 2px #333; + -moz-box-shadow: 0 1px 2px #333; + box-shadow: 0 1px 2px #333; +} + + +/* =Quote +----------------------------------------------- */ + +.format-quote blockquote { + color: #aaa; +} + + +/* =Image +----------------------------------------------- */ + +.indexed.format-image .wp-caption { + background: #242424; +} +.indexed.format-image .entry-meta .edit-link a { + color: #ddd; +} +.indexed.format-image .entry-meta .edit-link a:hover { + color: #fff; +} + + +/* =error404 +----------------------------------------------- */ +.error404 #main #searchform { + background: #060606; + border-color: #222; +} + + +/* =Showcase +----------------------------------------------- */ + +h1.showcase-heading { + color: #ccc; +} + +/* Intro */ +article.intro { + background: #060606; +} +article.intro .entry-content { + color: #eee; +} +article.intro .edit-link a { + background: #555; + color: #000; +} +article.intro .edit-link a:hover { + background: #888; +} + +/* Featured post */ +section.featured-post .hentry { + color: #999; +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + border-color: #444; +} +section.featured-post .attachment-small-feature:hover { + border-color: #777; +} +article.feature-image.small .entry-summary { + color: #aaa; +} +article.feature-image.small .entry-summary p a { + background: #ddd; + color: #111; +} +article.feature-image.small .entry-summary p a:hover { + color: #40220c; +} + +/* Large featured post */ +article.feature-image.large .entry-title a { + background: #ddd; + background: rgba(0,0,0,0.8); + color: #fff; +} +section.feature-image.large:hover .entry-title a, +section.feature-image.large .entry-title:hover a { + background: #111; + background: rgba(255,255,255,0.8); + color: #000; +} +section.feature-image.large img { + border-bottom: 1px solid #222; +} + +/* Featured Slider */ +.featured-posts { + border-color: #222; +} +.featured-posts section.featured-post { + background: #000; +} +.featured-post .feature-text:after, +.featured-post .feature-image.small:after { + background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera11.10+ */ + background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */ + background: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */ +} +.feature-slider a { + background: #c3c3c3; + background: rgba(60,60,60,0.9); + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); +} +.feature-slider a.active { + background: #000; + background: rgba(255,255,255,0.8); + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); +} + +/* Recent Posts */ +section.recent-posts .other-recent-posts { + border-color: #222; +} +section.recent-posts .other-recent-posts .entry-title { + border-color: #222; +} +section.recent-posts .other-recent-posts a[rel="bookmark"] { + color: #ccc; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + border-color: #959595; + color: #bbb; +} +section.recent-posts .other-recent-posts .comments-link > span { + border-color: #444; + color: #777; +} +section.recent-posts .other-recent-posts .comments-link a:hover { +} + + +/* =Attachments +----------------------------------------------- */ + +.image-attachment div.attachment { + background: #060606; + border-color: #222; +} +.image-attachment div.attachment a img { + border-color: #060606; +} +.image-attachment div.attachment a:focus img, +.image-attachment div.attachment a:hover img, +.image-attachment div.attachment a:active img { + border-color: #2c2c2c; + background: #0f0f0f; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget-title { + color: #ccc; +} +.widget ul li { + color: #888; +} + +/* Search Widget */ +.widget_search #searchsubmit { + background: #222; + border-color: #333; + -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + color: #777; +} +.widget_search #searchsubmit:active { + -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + color: #40220c; +} + +/* Calendar Widget */ +.widget_calendar #wp-calendar { + color: #aaa; +} +.widget_calendar #wp-calendar th { + background: #0b0b0b; + border-color: #333; +} +.widget_calendar #wp-calendar tfoot td { + background: #0b0b0b; + border-color: #333; +} + + +/* =Comments +----------------------------------------------- */ + +#comments-title { + color: #bbb; +} +.nocomments { + color: #555; +} +.commentlist > li.comment { + background: #090909; + border-color: #222; +} +.commentlist .children li.comment { + background: #000; + border-color: #222; +} +.rtl .commentlist .children li.comment { + border-color: #222; +} +.comment-meta { + color: #999; +} +.commentlist .avatar { + -webkit-box-shadow: 0 1px 2px #222; + -moz-box-shadow: 0 1px 2px #222; + box-shadow: 0 1px 2px #222; +} +a.comment-reply-link { + background: #242424; + color: #bbb; +} +li.bypostauthor a.comment-reply-link { + background: #111; +} +a.comment-reply-link:hover, +a.comment-reply-link:focus, +a.comment-reply-link:active, +li.bypostauthor a.comment-reply-link:hover, +li.bypostauthor a.comment-reply-link:focus, +li.bypostauthor a.comment-reply-link:active { + background: #999; + color: #000; +} +.commentlist > li:before { + content: url(../images/comment-arrow-dark.png); +} +.rtl .commentlist > li:before { + content: url(../images/comment-arrow-dark-rtl.png); +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor { + background: #222; + border-color: #2c2c2c; +} +.commentlist > li.bypostauthor:before { + content: url(../images/comment-arrow-bypostauthor-dark.png); +} +.rtl .commentlist > li.bypostauthor:before { + content: url(../images/comment-arrow-bypostauthor-dark-rtl.png); +} + +/* Post Author threaded comments */ +.commentlist .children > li.bypostauthor { + background: #222; + border-color: #2c2c2c; +} +.commentlist > li.bypostauthor .comment-meta { + color: #a8a8a8; +} + +/* Comment Form */ +#respond { + background: #222; + border-color: #2c2c2c; +} +#respond input[type="text"], +#respond textarea { + background: #000; + border: 4px solid #111; + -webkit-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); + -moz-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); + box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); + color: #bbb; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + background: #111; + -webkit-box-shadow: 1px 2px 2px rgba(51,51,51,0.8); + -moz-box-shadow: 1px 2px 2px rgba(51,51,51,0.8); + box-shadow: 1px 1px 2px rgba(51,51,51,0.8); + color: #aaa; +} +.rtl #respond .comment-form-author label, +.rtl #respond .comment-form-email label, +.rtl #respond .comment-form-url label, +.rtl #respond .comment-form-comment label { + -webkit-box-shadow: -1px 2px 2px rgba(51,51,51,0.8); + -moz-box-shadow: -1px 2px 2px rgba(51,51,51,0.8); + box-shadow: -1px 1px 2px rgba(51,51,51,0.8); +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + color: #42caff; +} +#respond input#submit { + background: #ddd; + -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + color: #111; + text-shadow: 0 -1px 0 rgba(0,0,0,0.3); +} +#respond input#submit:active { + color: #40220c; +} +#respond #cancel-comment-reply-link { + color: #999; +} +#reply-title { + color: #ccc; +} +#cancel-comment-reply-link { + color: #777; +} +#cancel-comment-reply-link:focus, +#cancel-comment-reply-link:active, +#cancel-comment-reply-link:hover { + color: #00b4cc; +} + + +/* =Footer +----------------------------------------------- */ + +#supplementary { + border-color: #222; +} + +/* Site Generator Line */ +#site-generator { + background: #060606; + border-color: #000; +} + + +/* =Print +----------------------------------------------- */ + +@media print { + body { + color: #333; + background: none !important; + } + #page { + background: none !important; + } + + /* Comments */ + .commentlist > li.comment { + } + + /* Post author highlighting */ + .commentlist > li.bypostauthor { + color: #333; + } + .commentlist > li.bypostauthor .comment-meta { + color: #959595; + } + .commentlist > li:before { + content: none !important; + } + + /* Post Author threaded comments */ + .commentlist .children > li.bypostauthor { + background: #fff; + border-color: #ddd; + } + .commentlist .children > li.bypostauthor > article, + .commentlist .children > li.bypostauthor > article .comment-meta { + color: #959595; + } +} \ No newline at end of file diff --git a/wp-themes/twentyeleven/comments.php b/wp-themes/twentyeleven/comments.php new file mode 100644 index 0000000..6b77fee --- /dev/null +++ b/wp-themes/twentyeleven/comments.php @@ -0,0 +1,78 @@ + +
+ +

+
+ + + + + +

+ ' . get_the_title() . '' ); + ?> +

+ + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + +
    + 'twentyeleven_comment' ) ); + ?> +
+ + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + + +

+ + + + + + + diff --git a/wp-themes/twentyeleven/content-aside.php b/wp-themes/twentyeleven/content-aside.php new file mode 100644 index 0000000..f6df40b --- /dev/null +++ b/wp-themes/twentyeleven/content-aside.php @@ -0,0 +1,46 @@ + + +
> +
+
+

+

+
+ + + + +
+ + +
+ +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + +
+ + + | + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-featured.php b/wp-themes/twentyeleven/content-featured.php new file mode 100644 index 0000000..7144a49 --- /dev/null +++ b/wp-themes/twentyeleven/content-featured.php @@ -0,0 +1,47 @@ + +
> +
+

+ + +
+ +
+ + '' ) ); ?> +
+ +
+ permalink.', 'twentyeleven' ); + } else { + $utility_text = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyeleven' ); + } + printf( + $utility_text, + /* translators: used between list items, there is a space after the comma */ + get_the_category_list( __( ', ', 'twentyeleven' ) ), + $tag_list, + esc_url( get_permalink() ), + the_title_attribute( 'echo=0' ) + ); + ?> + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-gallery.php b/wp-themes/twentyeleven/content-gallery.php new file mode 100644 index 0000000..9976cf1 --- /dev/null +++ b/wp-themes/twentyeleven/content-gallery.php @@ -0,0 +1,92 @@ + + +
> +
+
+

+

+
+ + +
+ + +
+ +
+ +
+ + →', 'twentyeleven' ) ); ?> + + + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); + if ( $images ) : + $total_images = count( $images ); + $image = array_shift( $images ); + $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' ); + ?> + + + +

%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyeleven' ), + 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) + ); ?>

+ + + + '' ) ); ?> +
+ + +
+ + + + Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); + $show_sep = true; ?> + + + + | + + + Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); + $show_sep = true; ?> + + + + + + | + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-image.php b/wp-themes/twentyeleven/content-image.php new file mode 100644 index 0000000..e5973f9 --- /dev/null +++ b/wp-themes/twentyeleven/content-image.php @@ -0,0 +1,70 @@ + +
> +
+
+

+

+
+ + + + +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ +
+ + + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-intro.php b/wp-themes/twentyeleven/content-intro.php new file mode 100644 index 0000000..573112d --- /dev/null +++ b/wp-themes/twentyeleven/content-intro.php @@ -0,0 +1,21 @@ + + +
> +
+

+
+ +
+ + '' ) ); ?> + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-link.php b/wp-themes/twentyeleven/content-link.php new file mode 100644 index 0000000..2e447ce --- /dev/null +++ b/wp-themes/twentyeleven/content-link.php @@ -0,0 +1,46 @@ + + +
> +
+
+

+

+
+ + + + +
+ + +
+ +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + +
+ + + | + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-page.php b/wp-themes/twentyeleven/content-page.php new file mode 100644 index 0000000..c499842 --- /dev/null +++ b/wp-themes/twentyeleven/content-page.php @@ -0,0 +1,23 @@ + + +
> +
+

+
+ +
+ + '' ) ); ?> +
+
+ ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-quote.php b/wp-themes/twentyeleven/content-quote.php new file mode 100644 index 0000000..89a0c29 --- /dev/null +++ b/wp-themes/twentyeleven/content-quote.php @@ -0,0 +1,74 @@ + + +
> +
+
+

+

+
+ + + + + + +
+ + +
+ +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + +
+ + + + Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); + $show_sep = true; ?> + + + + | + + + Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); + $show_sep = true; ?> + + + + + + | + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content-single.php b/wp-themes/twentyeleven/content-single.php new file mode 100644 index 0000000..8c28371 --- /dev/null +++ b/wp-themes/twentyeleven/content-single.php @@ -0,0 +1,71 @@ + + +
> +
+

+ + + + +
+ +
+ + '' ) ); ?> +
+ +
+ %5$s. Bookmark the permalink.', 'twentyeleven' ); + } elseif ( '' != $categories_list ) { + $utility_text = __( 'This entry was posted in %1$s by %5$s. Bookmark the permalink.', 'twentyeleven' ); + } else { + $utility_text = __( 'This entry was posted by %5$s. Bookmark the permalink.', 'twentyeleven' ); + } + + printf( + $utility_text, + $categories_list, + $tag_list, + esc_url( get_permalink() ), + the_title_attribute( 'echo=0' ), + get_the_author(), + esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) + ); + ?> + ', '' ); ?> + + + + +
+
diff --git a/wp-themes/twentyeleven/content-status.php b/wp-themes/twentyeleven/content-status.php new file mode 100644 index 0000000..6cd0bad --- /dev/null +++ b/wp-themes/twentyeleven/content-status.php @@ -0,0 +1,47 @@ + + +
> +
+
+

+

+
+ + + + +
+ + +
+ +
+ +
+
+ + →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + +
+ + + | + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/content.php b/wp-themes/twentyeleven/content.php new file mode 100644 index 0000000..f245ebf --- /dev/null +++ b/wp-themes/twentyeleven/content.php @@ -0,0 +1,84 @@ + + +
> +
+ +
+

+

+
+ +

+ + + + + + + + + +
+ + +
+ +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + +
+ + + + + Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); + $show_sep = true; ?> + + + + + + | + + + Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); + $show_sep = true; ?> + + + + + + + | + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + + ', '' ); ?> +
+
diff --git a/wp-themes/twentyeleven/editor-style-rtl.css b/wp-themes/twentyeleven/editor-style-rtl.css new file mode 100644 index 0000000..2146645 --- /dev/null +++ b/wp-themes/twentyeleven/editor-style-rtl.css @@ -0,0 +1,24 @@ +/* +Theme Name: Twenty Eleven +*/ +/* +Used to style the TinyMCE editor. +*/ +html .mceContentBody { + direction: rtl; + unicode-bidi: embed; + float: right; + width: 584px; +} +* { + font-family: Arial, Tahoma, sans-serif; +} +ul, ol { + margin: 0 2.5em 1.625em 0; +} +blockquote { + font-style: normal; +} +table { + text-align: right; +} \ No newline at end of file diff --git a/wp-themes/twentyeleven/editor-style.css b/wp-themes/twentyeleven/editor-style.css new file mode 100644 index 0000000..234bb9c --- /dev/null +++ b/wp-themes/twentyeleven/editor-style.css @@ -0,0 +1,312 @@ +/* +Theme Name: Twenty Eleven +Description: Used to style the TinyMCE editor. +*/ + +html .mceContentBody { + max-width: 584px; +} +* { + color: inherit; + font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-style: inherit; + font-weight: inherit; + line-height: 1.625; +} +body { + color: #333; + font: 15px "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif; + font-weight: 300; + line-height: 1.625; +} + +/* Headings */ +h1,h2,h3,h4,h5,h6 { + clear: both; +} +h1, +h2 { + color: #000; + font-size: 15px; + font-weight: bold; + margin: 0 0 .8125em; +} +h3 { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +h4, h5, h6 { + font-size: 14px; + margin: 0; +} +hr { + background-color: #ccc; + border: 0; + height: 1px; + margin-bottom: 1.625em; +} + +/* Text elements */ +p, ul, ol, dl { + font-weight: 300; +} +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 0 1.625em 2.5em; + padding: 0; +} +ul { + list-style: square; +} +ol { + list-style-type: decimal; +} +ol ol { + list-style: upper-alpha; +} +ol ol ol { + list-style: lower-roman; +} +ol ol ol ol { + list-style: lower-alpha; +} +ul ul, ol ol, ul ol, ol ul { + margin-bottom: 0; +} +dl { + margin: 0 1.625em; +} +dt { + font-size: 15px; + font-weight: bold; +} +dd { + margin: 0 0 1.625em; +} +strong { + font-weight: bold; +} +cite, em, i { + font-style: italic; +} +cite { + border: none; +} +big { + font-size: 131.25%; +} +.mceContentBody blockquote, +.mceContentBody blockquote p { + font-family: Georgia, "Bitstream Charter", serif !important; + font-style: italic !important; + font-weight: normal; + margin: 0 3em; +} +.mceContentBody blockquote em, +.mceContentBody blockquote i, +.mceContentBody blockquote cite { + font-style: normal; +} +.mceContentBody blockquote cite { + color: #666; + font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 300; + letter-spacing: 0.05em; + text-transform: uppercase; +} +pre { + background: #f4f4f4; + font: 13px "Courier 10 Pitch", Courier, monospace; + line-height: 1.5; + margin-bottom: 1.625em; + padding: 0.75em 1.625em; +} +code, kbd, samp, var { + font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} +abbr, acronym, dfn { + border-bottom: 1px dotted #666; + cursor: help; +} +address { + display: block; + margin: 0 0 1.625em; +} +del { + color: #333; +} +ins { + background: #fff9c0; + border: none; + color: #333; + text-decoration: none; +} +sup, +sub { + font-size: 10px; + height: 0; + line-height: 1; + position: relative; + vertical-align: baseline; +} +sup { + bottom: 1ex; +} +sub { + top: .5ex; +} +input[type=text], +textarea { + background: #fafafa; + -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + border: 1px solid #ddd; + color: #888; +} +input[type=text]:focus, +textarea:focus { + color: #333; +} +textarea { + padding-left: 3px; + width: 98%; +} +input[type=text] { + padding: 3px; +} + +/* Links */ +a, +a em, +a strong { + color: #1b8be0; + text-decoration: none; +} +a:focus, +a:active, +a:hover { + text-decoration: underline; +} + +/* Alignment */ +.alignleft { + display: inline; + float: left; + margin-right: 1.625em; +} +.alignright { + display: inline; + float: right; + margin-left: 1.625em; +} +.aligncenter { + clear: both; + display: block; + margin-left: auto; + margin-right: auto; +} + +/* Tables */ +table { + border: none !important; + border-bottom: 1px solid #ddd !important; + border-collapse: collapse; + border-spacing: 0; + text-align: left; + margin: 0 0 1.625em; + width: 100%; +} +tr th { + border: none !important; + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +td { + border: none !important; + border-top: 1px solid #ddd !important; + padding: 6px 10px 6px 0; +} + +/* Images */ +img[class*="wp-image-"] { + height: auto; + max-width: 97.5%; +} +img.size-full { + width: auto; /* Prevent stretching of full-size images in IE8 */ +} +img.wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} +p img, +.wp-caption { + margin-top: 0.4em; +} +img, +.editor-attachment { + border: 1px solid #ddd; + padding: 6px; +} +img.alignleft, +img.alignright, +img.aligncenter { + margin-bottom: 1.625em; +} +.wp-caption { + background: #eee; + border: none; + margin-bottom: 1.625em; + max-width: 96%; + padding: 9px; +} +.wp-caption img { + display: block; + margin: 5px auto 0 !important; + max-width: 98%; + border-color: #eee; +} +.wp-caption .wp-caption-text, +.wp-caption-dd { + color: #666; + font-family: Georgia, serif !important; + font-size: 12px; + margin: 0 0 0.6em 0 !important; + padding: 0 0 5px 40px; + position: relative; + text-align: left; +} +.wp-caption .wp-caption-text:before { + color: #666; + content: '\2014'; + font-size: 14px; + font-style: normal; + font-weight: bold; + margin-right: 5px; + position: absolute; + left: 10px; + top: 7px; +} +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"] { + background: #eee; + border-color: #bbb; +} +.wp-caption a:focus img, +.wp-caption a:active img, +.wp-caption a:hover img { + background: #fff; + border-color: #ddd; +} \ No newline at end of file diff --git a/wp-themes/twentyeleven/footer.php b/wp-themes/twentyeleven/footer.php new file mode 100644 index 0000000..9cb702c --- /dev/null +++ b/wp-themes/twentyeleven/footer.php @@ -0,0 +1,35 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/functions.php b/wp-themes/twentyeleven/functions.php new file mode 100644 index 0000000..1fc8e65 --- /dev/null +++ b/wp-themes/twentyeleven/functions.php @@ -0,0 +1,614 @@ + + * add_action( 'after_setup_theme', 'my_child_theme_setup' ); + * function my_child_theme_setup() { + * // We are providing our own filter for excerpt_length (or using the unfiltered value) + * remove_filter( 'excerpt_length', 'twentyeleven_excerpt_length' ); + * ... + * } + * + * + * For more information on hooks, actions, and filters, see http://codex.wordpress.org/Plugin_API. + * + * @package WordPress + * @subpackage Twenty_Eleven + * @since Twenty Eleven 1.0 + */ + +/** + * Set the content width based on the theme's design and stylesheet. + */ +if ( ! isset( $content_width ) ) + $content_width = 584; + +/** + * Tell WordPress to run twentyeleven_setup() when the 'after_setup_theme' hook is run. + */ +add_action( 'after_setup_theme', 'twentyeleven_setup' ); + +if ( ! function_exists( 'twentyeleven_setup' ) ): +/** + * Sets up theme defaults and registers support for various WordPress features. + * + * Note that this function is hooked into the after_setup_theme hook, which runs + * before the init hook. The init hook is too late for some features, such as indicating + * support post thumbnails. + * + * To override twentyeleven_setup() in a child theme, add your own twentyeleven_setup to your child theme's + * functions.php file. + * + * @uses load_theme_textdomain() For translation/localization support. + * @uses add_editor_style() To style the visual editor. + * @uses add_theme_support() To add support for post thumbnails, automatic feed links, custom headers + * and backgrounds, and post formats. + * @uses register_nav_menus() To add support for navigation menus. + * @uses register_default_headers() To register the default custom header images provided with the theme. + * @uses set_post_thumbnail_size() To set a custom post thumbnail size. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_setup() { + + /* Make Twenty Eleven available for translation. + * Translations can be added to the /languages/ directory. + * If you're building a theme based on Twenty Eleven, use a find and replace + * to change 'twentyeleven' to the name of your theme in all the template files. + */ + load_theme_textdomain( 'twentyeleven', get_template_directory() . '/languages' ); + + // This theme styles the visual editor with editor-style.css to match the theme style. + add_editor_style(); + + // Load up our theme options page and related code. + require( get_template_directory() . '/inc/theme-options.php' ); + + // Grab Twenty Eleven's Ephemera widget. + require( get_template_directory() . '/inc/widgets.php' ); + + // Add default posts and comments RSS feed links to . + add_theme_support( 'automatic-feed-links' ); + + // This theme uses wp_nav_menu() in one location. + register_nav_menu( 'primary', __( 'Primary Menu', 'twentyeleven' ) ); + + // Add support for a variety of post formats + add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'image' ) ); + + $theme_options = twentyeleven_get_theme_options(); + if ( 'dark' == $theme_options['color_scheme'] ) + $default_background_color = '1d1d1d'; + else + $default_background_color = 'e2e2e2'; + + // Add support for custom backgrounds. + add_theme_support( 'custom-background', array( + // Let WordPress know what our default background color is. + // This is dependent on our current color scheme. + 'default-color' => $default_background_color, + ) ); + + // This theme uses Featured Images (also known as post thumbnails) for per-post/per-page Custom Header images + add_theme_support( 'post-thumbnails' ); + + // Add support for custom headers. + $custom_header_support = array( + // The default header text color. + 'default-text-color' => '000', + // The height and width of our custom header. + 'width' => apply_filters( 'twentyeleven_header_image_width', 1000 ), + 'height' => apply_filters( 'twentyeleven_header_image_height', 288 ), + // Support flexible heights. + 'flex-height' => true, + // Random image rotation by default. + 'random-default' => true, + // Callback for styling the header. + 'wp-head-callback' => 'twentyeleven_header_style', + // Callback for styling the header preview in the admin. + 'admin-head-callback' => 'twentyeleven_admin_header_style', + // Callback used to display the header preview in the admin. + 'admin-preview-callback' => 'twentyeleven_admin_header_image', + ); + + add_theme_support( 'custom-header', $custom_header_support ); + + if ( ! function_exists( 'get_custom_header' ) ) { + // This is all for compatibility with versions of WordPress prior to 3.4. + define( 'HEADER_TEXTCOLOR', $custom_header_support['default-text-color'] ); + define( 'HEADER_IMAGE', '' ); + define( 'HEADER_IMAGE_WIDTH', $custom_header_support['width'] ); + define( 'HEADER_IMAGE_HEIGHT', $custom_header_support['height'] ); + add_custom_image_header( $custom_header_support['wp-head-callback'], $custom_header_support['admin-head-callback'], $custom_header_support['admin-preview-callback'] ); + add_custom_background(); + } + + // We'll be using post thumbnails for custom header images on posts and pages. + // We want them to be the size of the header image that we just defined + // Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php. + set_post_thumbnail_size( $custom_header_support['width'], $custom_header_support['height'], true ); + + // Add Twenty Eleven's custom image sizes. + // Used for large feature (header) images. + add_image_size( 'large-feature', $custom_header_support['width'], $custom_header_support['height'], true ); + // Used for featured posts if a large-feature doesn't exist. + add_image_size( 'small-feature', 500, 300 ); + + // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI. + register_default_headers( array( + 'wheel' => array( + 'url' => '%s/images/headers/wheel.jpg', + 'thumbnail_url' => '%s/images/headers/wheel-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Wheel', 'twentyeleven' ) + ), + 'shore' => array( + 'url' => '%s/images/headers/shore.jpg', + 'thumbnail_url' => '%s/images/headers/shore-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Shore', 'twentyeleven' ) + ), + 'trolley' => array( + 'url' => '%s/images/headers/trolley.jpg', + 'thumbnail_url' => '%s/images/headers/trolley-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Trolley', 'twentyeleven' ) + ), + 'pine-cone' => array( + 'url' => '%s/images/headers/pine-cone.jpg', + 'thumbnail_url' => '%s/images/headers/pine-cone-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Pine Cone', 'twentyeleven' ) + ), + 'chessboard' => array( + 'url' => '%s/images/headers/chessboard.jpg', + 'thumbnail_url' => '%s/images/headers/chessboard-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Chessboard', 'twentyeleven' ) + ), + 'lanterns' => array( + 'url' => '%s/images/headers/lanterns.jpg', + 'thumbnail_url' => '%s/images/headers/lanterns-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Lanterns', 'twentyeleven' ) + ), + 'willow' => array( + 'url' => '%s/images/headers/willow.jpg', + 'thumbnail_url' => '%s/images/headers/willow-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Willow', 'twentyeleven' ) + ), + 'hanoi' => array( + 'url' => '%s/images/headers/hanoi.jpg', + 'thumbnail_url' => '%s/images/headers/hanoi-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Hanoi Plant', 'twentyeleven' ) + ) + ) ); +} +endif; // twentyeleven_setup + +if ( ! function_exists( 'twentyeleven_header_style' ) ) : +/** + * Styles the header image and text displayed on the blog + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_header_style() { + $text_color = get_header_textcolor(); + + // If no custom options for text are set, let's bail. + if ( $text_color == HEADER_TEXTCOLOR ) + return; + + // If we get this far, we have custom styles. Let's do this. + ?> + + Header admin panel. + * + * Referenced via add_theme_support('custom-header') in twentyeleven_setup(). + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_admin_header_style() { +?> + + Header admin panel. + * + * Referenced via add_theme_support('custom-header') in twentyeleven_setup(). + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_admin_header_image() { ?> +
+ +

onclick="return false;" href="">

+
>
+ + + +
+' . __( 'Continue reading ', 'twentyeleven' ) . ''; +} +endif; // twentyeleven_continue_reading_link + +/** + * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyeleven_continue_reading_link(). + * + * To override this in a child theme, remove the filter and add your own + * function tied to the excerpt_more filter hook. + */ +function twentyeleven_auto_excerpt_more( $more ) { + return ' …' . twentyeleven_continue_reading_link(); +} +add_filter( 'excerpt_more', 'twentyeleven_auto_excerpt_more' ); + +/** + * Adds a pretty "Continue Reading" link to custom post excerpts. + * + * To override this link in a child theme, remove the filter and add your own + * function tied to the get_the_excerpt filter hook. + */ +function twentyeleven_custom_excerpt_more( $output ) { + if ( has_excerpt() && ! is_attachment() ) { + $output .= twentyeleven_continue_reading_link(); + } + return $output; +} +add_filter( 'get_the_excerpt', 'twentyeleven_custom_excerpt_more' ); + +/** + * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. + */ +function twentyeleven_page_menu_args( $args ) { + if ( ! isset( $args['show_home'] ) ) + $args['show_home'] = true; + return $args; +} +add_filter( 'wp_page_menu_args', 'twentyeleven_page_menu_args' ); + +/** + * Register our sidebars and widgetized areas. Also register the default Epherma widget. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_widgets_init() { + + register_widget( 'Twenty_Eleven_Ephemera_Widget' ); + + register_sidebar( array( + 'name' => __( 'Main Sidebar', 'twentyeleven' ), + 'id' => 'sidebar-1', + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Showcase Sidebar', 'twentyeleven' ), + 'id' => 'sidebar-2', + 'description' => __( 'The sidebar for the optional Showcase Template', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area One', 'twentyeleven' ), + 'id' => 'sidebar-3', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area Two', 'twentyeleven' ), + 'id' => 'sidebar-4', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area Three', 'twentyeleven' ), + 'id' => 'sidebar-5', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); +} +add_action( 'widgets_init', 'twentyeleven_widgets_init' ); + +if ( ! function_exists( 'twentyeleven_content_nav' ) ) : +/** + * Display navigation to next/previous pages when applicable + */ +function twentyeleven_content_nav( $html_id ) { + global $wp_query; + + if ( $wp_query->max_num_pages > 1 ) : ?> + + ]*?href=[\'"](.+?)[\'"]/is', get_the_content(), $matches ) ) + return false; + + return esc_url_raw( $matches[1] ); +} + +/** + * Count the number of footer sidebars to enable dynamic classes for the footer + */ +function twentyeleven_footer_sidebar_class() { + $count = 0; + + if ( is_active_sidebar( 'sidebar-3' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-4' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-5' ) ) + $count++; + + $class = ''; + + switch ( $count ) { + case '1': + $class = 'one'; + break; + case '2': + $class = 'two'; + break; + case '3': + $class = 'three'; + break; + } + + if ( $class ) + echo 'class="' . $class . '"'; +} + +if ( ! function_exists( 'twentyeleven_comment' ) ) : +/** + * Template for comments and pingbacks. + * + * To override this walker in a child theme without modifying the comments template + * simply create your own twentyeleven_comment(), and that function will be used instead. + * + * Used as a callback by wp_list_comments() for displaying the comments. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_comment( $comment, $args, $depth ) { + $GLOBALS['comment'] = $comment; + switch ( $comment->comment_type ) : + case 'pingback' : + case 'trackback' : + ?> +
  • +

    ', '' ); ?>

    + +
  • id="li-comment-"> +
    +
    +
    + comment_parent ) + $avatar_size = 39; + + echo get_avatar( $comment, $avatar_size ); + + /* translators: 1: comment author, 2: date and time */ + printf( __( '%1$s on %2$s said:', 'twentyeleven' ), + sprintf( '%s', get_comment_author_link() ), + sprintf( '', + esc_url( get_comment_link( $comment->comment_ID ) ), + get_comment_time( 'c' ), + /* translators: 1: date, 2: time */ + sprintf( __( '%1$s at %2$s', 'twentyeleven' ), get_comment_date(), get_comment_time() ) + ) + ); + ?> + + ', '' ); ?> +
    + + comment_approved == '0' ) : ?> + +
    + + +
    + +
    + +
    + __( 'Reply ', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> +
    +
    + + Posted on by ', 'twentyeleven' ), + esc_url( get_permalink() ), + esc_attr( get_the_time() ), + esc_attr( get_the_date( 'c' ) ), + esc_html( get_the_date() ), + esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), + esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), + get_the_author() + ); +} +endif; + +/** + * Adds two classes to the array of body classes. + * The first is if the site has only had one author with published posts. + * The second is if a singular post being displayed + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_body_classes( $classes ) { + + if ( function_exists( 'is_multi_author' ) && ! is_multi_author() ) + $classes[] = 'single-author'; + + if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) && ! is_page_template( 'sidebar-page.php' ) ) + $classes[] = 'singular'; + + return $classes; +} +add_filter( 'body_class', 'twentyeleven_body_classes' ); + diff --git a/wp-themes/twentyeleven/header.php b/wp-themes/twentyeleven/header.php new file mode 100644 index 0000000..59b6d3b --- /dev/null +++ b/wp-themes/twentyeleven/header.php @@ -0,0 +1,139 @@ + section and everything up till
    + * + * @package WordPress + * @subpackage Twenty_Eleven + * @since Twenty Eleven 1.0 + */ +?> + + + + +> + + + + +<?php + /* + * Print the <title> tag based on what is being viewed. + */ + global $page, $paged; + + wp_title( '|', true, 'right' ); + + // Add the blog name. + bloginfo( 'name' ); + + // Add the blog description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + echo " | $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); + + ?> + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to add elements to such + * as styles, scripts, and meta tags. + */ + wp_head(); +?> + + +> +
    + + + +
    diff --git a/wp-themes/twentyeleven/image.php b/wp-themes/twentyeleven/image.php new file mode 100644 index 0000000..3db208e --- /dev/null +++ b/wp-themes/twentyeleven/image.php @@ -0,0 +1,104 @@ + + +
    +
    + + + + + +
    > +
    +

    + + + +
    + +
    + +
    +
    + $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> + ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. + ?> + + post_excerpt ) ) : ?> +
    + +
    + +
    + +
    + +
    + + '' ) ); ?> +
    + +
    + +
    + + + + + +
    +
    + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png new file mode 100644 index 0000000..46dac85 Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png differ diff --git a/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png new file mode 100644 index 0000000..e32e285 Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png differ diff --git a/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png new file mode 100644 index 0000000..9ae83f0 Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png differ diff --git a/wp-themes/twentyeleven/images/comment-arrow-bypostauthor.png b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor.png new file mode 100644 index 0000000..bf9d3d9 Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow-bypostauthor.png differ diff --git a/wp-themes/twentyeleven/images/comment-arrow-dark-rtl.png b/wp-themes/twentyeleven/images/comment-arrow-dark-rtl.png new file mode 100644 index 0000000..3644fdd Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow-dark-rtl.png differ diff --git a/wp-themes/twentyeleven/images/comment-arrow-dark.png b/wp-themes/twentyeleven/images/comment-arrow-dark.png new file mode 100644 index 0000000..f9b624b Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow-dark.png differ diff --git a/wp-themes/twentyeleven/images/comment-arrow-rtl.png b/wp-themes/twentyeleven/images/comment-arrow-rtl.png new file mode 100644 index 0000000..e3fb1fd Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow-rtl.png differ diff --git a/wp-themes/twentyeleven/images/comment-arrow.png b/wp-themes/twentyeleven/images/comment-arrow.png new file mode 100644 index 0000000..60a6d5d Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-arrow.png differ diff --git a/wp-themes/twentyeleven/images/comment-bubble-dark-rtl.png b/wp-themes/twentyeleven/images/comment-bubble-dark-rtl.png new file mode 100644 index 0000000..f8c5061 Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-bubble-dark-rtl.png differ diff --git a/wp-themes/twentyeleven/images/comment-bubble-dark.png b/wp-themes/twentyeleven/images/comment-bubble-dark.png new file mode 100644 index 0000000..2d1ca1a Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-bubble-dark.png differ diff --git a/wp-themes/twentyeleven/images/comment-bubble-rtl.png b/wp-themes/twentyeleven/images/comment-bubble-rtl.png new file mode 100644 index 0000000..55ff63f Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-bubble-rtl.png differ diff --git a/wp-themes/twentyeleven/images/comment-bubble.png b/wp-themes/twentyeleven/images/comment-bubble.png new file mode 100644 index 0000000..1798846 Binary files /dev/null and b/wp-themes/twentyeleven/images/comment-bubble.png differ diff --git a/wp-themes/twentyeleven/images/headers/chessboard-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/chessboard-thumbnail.jpg new file mode 100644 index 0000000..e8c84d3 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/chessboard-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/chessboard.jpg b/wp-themes/twentyeleven/images/headers/chessboard.jpg new file mode 100644 index 0000000..831961f Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/chessboard.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/hanoi-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/hanoi-thumbnail.jpg new file mode 100644 index 0000000..9fc963f Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/hanoi-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/hanoi.jpg b/wp-themes/twentyeleven/images/headers/hanoi.jpg new file mode 100644 index 0000000..5b0fa3f Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/hanoi.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/lanterns-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/lanterns-thumbnail.jpg new file mode 100644 index 0000000..3790f96 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/lanterns-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/lanterns.jpg b/wp-themes/twentyeleven/images/headers/lanterns.jpg new file mode 100644 index 0000000..f71ce8f Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/lanterns.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg new file mode 100644 index 0000000..248fe00 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/pine-cone.jpg b/wp-themes/twentyeleven/images/headers/pine-cone.jpg new file mode 100644 index 0000000..e55ce97 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/pine-cone.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/shore-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/shore-thumbnail.jpg new file mode 100644 index 0000000..5e5e740 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/shore-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/shore.jpg b/wp-themes/twentyeleven/images/headers/shore.jpg new file mode 100644 index 0000000..71a8c54 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/shore.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/trolley-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/trolley-thumbnail.jpg new file mode 100644 index 0000000..d2ee200 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/trolley-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/trolley.jpg b/wp-themes/twentyeleven/images/headers/trolley.jpg new file mode 100644 index 0000000..110a764 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/trolley.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/wheel-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/wheel-thumbnail.jpg new file mode 100644 index 0000000..d7fa971 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/wheel-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/wheel.jpg b/wp-themes/twentyeleven/images/headers/wheel.jpg new file mode 100644 index 0000000..c5b9878 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/wheel.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/willow-thumbnail.jpg b/wp-themes/twentyeleven/images/headers/willow-thumbnail.jpg new file mode 100644 index 0000000..240fff8 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/willow-thumbnail.jpg differ diff --git a/wp-themes/twentyeleven/images/headers/willow.jpg b/wp-themes/twentyeleven/images/headers/willow.jpg new file mode 100644 index 0000000..e867cc4 Binary files /dev/null and b/wp-themes/twentyeleven/images/headers/willow.jpg differ diff --git a/wp-themes/twentyeleven/images/search.png b/wp-themes/twentyeleven/images/search.png new file mode 100644 index 0000000..5036704 Binary files /dev/null and b/wp-themes/twentyeleven/images/search.png differ diff --git a/wp-themes/twentyeleven/images/wordpress.png b/wp-themes/twentyeleven/images/wordpress.png new file mode 100644 index 0000000..4a15056 Binary files /dev/null and b/wp-themes/twentyeleven/images/wordpress.png differ diff --git a/wp-themes/twentyeleven/inc/images/content-sidebar.png b/wp-themes/twentyeleven/inc/images/content-sidebar.png new file mode 100644 index 0000000..71a23f7 Binary files /dev/null and b/wp-themes/twentyeleven/inc/images/content-sidebar.png differ diff --git a/wp-themes/twentyeleven/inc/images/content.png b/wp-themes/twentyeleven/inc/images/content.png new file mode 100644 index 0000000..301a294 Binary files /dev/null and b/wp-themes/twentyeleven/inc/images/content.png differ diff --git a/wp-themes/twentyeleven/inc/images/dark.png b/wp-themes/twentyeleven/inc/images/dark.png new file mode 100644 index 0000000..76b8dad Binary files /dev/null and b/wp-themes/twentyeleven/inc/images/dark.png differ diff --git a/wp-themes/twentyeleven/inc/images/light.png b/wp-themes/twentyeleven/inc/images/light.png new file mode 100644 index 0000000..42d8925 Binary files /dev/null and b/wp-themes/twentyeleven/inc/images/light.png differ diff --git a/wp-themes/twentyeleven/inc/images/sidebar-content.png b/wp-themes/twentyeleven/inc/images/sidebar-content.png new file mode 100644 index 0000000..579b9fd Binary files /dev/null and b/wp-themes/twentyeleven/inc/images/sidebar-content.png differ diff --git a/wp-themes/twentyeleven/inc/theme-customizer.js b/wp-themes/twentyeleven/inc/theme-customizer.js new file mode 100644 index 0000000..ca63fda --- /dev/null +++ b/wp-themes/twentyeleven/inc/theme-customizer.js @@ -0,0 +1,12 @@ +( function( $ ){ + wp.customize( 'blogname', function( value ) { + value.bind( function( to ) { + $( '#site-title a' ).html( to ); + } ); + } ); + wp.customize( 'blogdescription', function( value ) { + value.bind( function( to ) { + $( '#site-description' ).html( to ); + } ); + } ); +} )( jQuery ); \ No newline at end of file diff --git a/wp-themes/twentyeleven/inc/theme-options.css b/wp-themes/twentyeleven/inc/theme-options.css new file mode 100644 index 0000000..464ab8c --- /dev/null +++ b/wp-themes/twentyeleven/inc/theme-options.css @@ -0,0 +1,35 @@ +#wpcontent select option { + padding-right: 5px; +} +.image-radio-option td { + padding-top: 15px; +} +.image-radio-option label { + display: block; + float: left; + margin: 0 30px 20px 2px; + position: relative; +} +.image-radio-option input { + margin: 0 0 10px; +} +.image-radio-option span { + display: block; + width: 136px; +} +.image-radio-option img { + margin: 0 0 0 -2px; +} +#link-color-example { + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + border: 1px solid #dfdfdf; + margin: 0 7px 0 3px; + padding: 4px 14px; +} + +body.rtl .image-radio-option label { + float: right; + margin: 0 2px 20px 30px; +} diff --git a/wp-themes/twentyeleven/inc/theme-options.js b/wp-themes/twentyeleven/inc/theme-options.js new file mode 100644 index 0000000..4cfaec1 --- /dev/null +++ b/wp-themes/twentyeleven/inc/theme-options.js @@ -0,0 +1,52 @@ +var farbtastic; + +(function($){ + var pickColor = function(a) { + farbtastic.setColor(a); + $('#link-color').val(a); + $('#link-color-example').css('background-color', a); + }; + + $(document).ready( function() { + $('#default-color').wrapInner(''); + + farbtastic = $.farbtastic('#colorPickerDiv', pickColor); + + pickColor( $('#link-color').val() ); + + $('.pickcolor').click( function(e) { + $('#colorPickerDiv').show(); + e.preventDefault(); + }); + + $('#link-color').keyup( function() { + var a = $('#link-color').val(), + b = a; + + a = a.replace(/[^a-fA-F0-9]/, ''); + if ( '#' + a !== b ) + $('#link-color').val(a); + if ( a.length === 3 || a.length === 6 ) + pickColor( '#' + a ); + }); + + $(document).mousedown( function() { + $('#colorPickerDiv').hide(); + }); + + $('#default-color a').click( function(e) { + pickColor( '#' + this.innerHTML.replace(/[^a-fA-F0-9]/, '') ); + e.preventDefault(); + }); + + $('.image-radio-option.color-scheme input:radio').change( function() { + var currentDefault = $('#default-color a'), + newDefault = $(this).next().val(); + + if ( $('#link-color').val() == currentDefault.text() ) + pickColor( newDefault ); + + currentDefault.text( newDefault ); + }); + }); +})(jQuery); \ No newline at end of file diff --git a/wp-themes/twentyeleven/inc/theme-options.php b/wp-themes/twentyeleven/inc/theme-options.php new file mode 100644 index 0000000..698f2a0 --- /dev/null +++ b/wp-themes/twentyeleven/inc/theme-options.php @@ -0,0 +1,531 @@ +' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '

    ' . + '
      ' . + '
    1. ' . __( 'Color Scheme: You can choose a color palette of "Light" (light background with dark text) or "Dark" (dark background with light text) for your site.', 'twentyeleven' ) . '
    2. ' . + '
    3. ' . __( 'Link Color: You can choose the color used for text links on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the "Select a Color" button to pick from a color wheel.', 'twentyeleven' ) . '
    4. ' . + '
    5. ' . __( 'Default Layout: You can choose if you want your site’s default layout to have a sidebar on the left, the right, or not at all.', 'twentyeleven' ) . '
    6. ' . + '
    ' . + '

    ' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '

    '; + + $sidebar = '

    ' . __( 'For more information:', 'twentyeleven' ) . '

    ' . + '

    ' . __( 'Documentation on Theme Options', 'twentyeleven' ) . '

    ' . + '

    ' . __( 'Support Forums', 'twentyeleven' ) . '

    '; + + $screen = get_current_screen(); + + if ( method_exists( $screen, 'add_help_tab' ) ) { + // WordPress 3.3 + $screen->add_help_tab( array( + 'title' => __( 'Overview', 'twentyeleven' ), + 'id' => 'theme-options-help', + 'content' => $help, + ) + ); + + $screen->set_help_sidebar( $sidebar ); + } else { + // WordPress 3.2 + add_contextual_help( $screen, $help . $sidebar ); + } +} + +/** + * Returns an array of color schemes registered for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_color_schemes() { + $color_scheme_options = array( + 'light' => array( + 'value' => 'light', + 'label' => __( 'Light', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/light.png', + 'default_link_color' => '#1b8be0', + ), + 'dark' => array( + 'value' => 'dark', + 'label' => __( 'Dark', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/dark.png', + 'default_link_color' => '#e4741f', + ), + ); + + return apply_filters( 'twentyeleven_color_schemes', $color_scheme_options ); +} + +/** + * Returns an array of layout options registered for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_layouts() { + $layout_options = array( + 'content-sidebar' => array( + 'value' => 'content-sidebar', + 'label' => __( 'Content on left', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/content-sidebar.png', + ), + 'sidebar-content' => array( + 'value' => 'sidebar-content', + 'label' => __( 'Content on right', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/sidebar-content.png', + ), + 'content' => array( + 'value' => 'content', + 'label' => __( 'One-column, no sidebar', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/content.png', + ), + ); + + return apply_filters( 'twentyeleven_layouts', $layout_options ); +} + +/** + * Returns the default options for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_get_default_theme_options() { + $default_theme_options = array( + 'color_scheme' => 'light', + 'link_color' => twentyeleven_get_default_link_color( 'light' ), + 'theme_layout' => 'content-sidebar', + ); + + if ( is_rtl() ) + $default_theme_options['theme_layout'] = 'sidebar-content'; + + return apply_filters( 'twentyeleven_default_theme_options', $default_theme_options ); +} + +/** + * Returns the default link color for Twenty Eleven, based on color scheme. + * + * @since Twenty Eleven 1.0 + * + * @param $string $color_scheme Color scheme. Defaults to the active color scheme. + * @return $string Color. +*/ +function twentyeleven_get_default_link_color( $color_scheme = null ) { + if ( null === $color_scheme ) { + $options = twentyeleven_get_theme_options(); + $color_scheme = $options['color_scheme']; + } + + $color_schemes = twentyeleven_color_schemes(); + if ( ! isset( $color_schemes[ $color_scheme ] ) ) + return false; + + return $color_schemes[ $color_scheme ]['default_link_color']; +} + +/** + * Returns the options array for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_get_theme_options() { + return get_option( 'twentyeleven_theme_options', twentyeleven_get_default_theme_options() ); +} + +/** + * Renders the Color Scheme setting field. + * + * @since Twenty Eleven 1.3 + */ +function twentyeleven_settings_field_color_scheme() { + $options = twentyeleven_get_theme_options(); + + foreach ( twentyeleven_color_schemes() as $scheme ) { + ?> +
    + +
    + + + + + +
    + ' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '' ); ?> + +
    + +
    + +
    + + +

    + + +
    + +
    +
    + + +get_setting( 'blogname' )->transport = 'postMessage'; + $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; + + $options = twentyeleven_get_theme_options(); + $defaults = twentyeleven_get_default_theme_options(); + + $wp_customize->add_setting( 'twentyeleven_theme_options[color_scheme]', array( + 'default' => $defaults['color_scheme'], + 'type' => 'option', + 'capability' => 'edit_theme_options', + ) ); + + $schemes = twentyeleven_color_schemes(); + $choices = array(); + foreach ( $schemes as $scheme ) { + $choices[ $scheme['value'] ] = $scheme['label']; + } + + $wp_customize->add_control( 'twentyeleven_color_scheme', array( + 'label' => __( 'Color Scheme', 'twentyeleven' ), + 'section' => 'colors', + 'settings' => 'twentyeleven_theme_options[color_scheme]', + 'type' => 'radio', + 'choices' => $choices, + 'priority' => 5, + ) ); + + // Link Color (added to Color Scheme section in Theme Customizer) + $wp_customize->add_setting( 'twentyeleven_theme_options[link_color]', array( + 'default' => twentyeleven_get_default_link_color( $options['color_scheme'] ), + 'type' => 'option', + 'sanitize_callback' => 'sanitize_hex_color', + 'capability' => 'edit_theme_options', + ) ); + + $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color', array( + 'label' => __( 'Link Color', 'twentyeleven' ), + 'section' => 'colors', + 'settings' => 'twentyeleven_theme_options[link_color]', + ) ) ); + + // Default Layout + $wp_customize->add_section( 'twentyeleven_layout', array( + 'title' => __( 'Layout', 'twentyeleven' ), + 'priority' => 50, + ) ); + + $wp_customize->add_setting( 'twentyeleven_theme_options[theme_layout]', array( + 'type' => 'option', + 'default' => $defaults['theme_layout'], + 'sanitize_callback' => 'sanitize_key', + ) ); + + $layouts = twentyeleven_layouts(); + $choices = array(); + foreach ( $layouts as $layout ) { + $choices[$layout['value']] = $layout['label']; + } + + $wp_customize->add_control( 'twentyeleven_theme_options[theme_layout]', array( + 'section' => 'twentyeleven_layout', + 'type' => 'radio', + 'choices' => $choices, + ) ); +} +add_action( 'customize_register', 'twentyeleven_customize_register' ); + +/** + * Bind JS handlers to make Theme Customizer preview reload changes asynchronously. + * Used with blogname and blogdescription. + * + * @since Twenty Eleven 1.3 + */ +function twentyeleven_customize_preview_js() { + wp_enqueue_script( 'twentyeleven-customizer', get_template_directory_uri() . '/inc/theme-customizer.js', array( 'customize-preview' ), '20120523', true ); +} +add_action( 'customize_preview_init', 'twentyeleven_customize_preview_js' ); \ No newline at end of file diff --git a/wp-themes/twentyeleven/inc/widgets.php b/wp-themes/twentyeleven/inc/widgets.php new file mode 100644 index 0000000..b39fc72 --- /dev/null +++ b/wp-themes/twentyeleven/inc/widgets.php @@ -0,0 +1,164 @@ + 'widget_twentyeleven_ephemera', 'description' => __( 'Use this widget to list your recent Aside, Status, Quote, and Link posts', 'twentyeleven' ) ); + $this->WP_Widget( 'widget_twentyeleven_ephemera', __( 'Twenty Eleven Ephemera', 'twentyeleven' ), $widget_ops ); + $this->alt_option_name = 'widget_twentyeleven_ephemera'; + + add_action( 'save_post', array(&$this, 'flush_widget_cache' ) ); + add_action( 'deleted_post', array(&$this, 'flush_widget_cache' ) ); + add_action( 'switch_theme', array(&$this, 'flush_widget_cache' ) ); + } + + /** + * Outputs the HTML for this widget. + * + * @param array An array of standard parameters for widgets in this theme + * @param array An array of settings for this widget instance + * @return void Echoes it's output + **/ + function widget( $args, $instance ) { + $cache = wp_cache_get( 'widget_twentyeleven_ephemera', 'widget' ); + + if ( !is_array( $cache ) ) + $cache = array(); + + if ( ! isset( $args['widget_id'] ) ) + $args['widget_id'] = null; + + if ( isset( $cache[$args['widget_id']] ) ) { + echo $cache[$args['widget_id']]; + return; + } + + ob_start(); + extract( $args, EXTR_SKIP ); + + $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Ephemera', 'twentyeleven' ) : $instance['title'], $instance, $this->id_base); + + if ( ! isset( $instance['number'] ) ) + $instance['number'] = '10'; + + if ( ! $number = absint( $instance['number'] ) ) + $number = 10; + + $ephemera_args = array( + 'order' => 'DESC', + 'posts_per_page' => $number, + 'no_found_rows' => true, + 'post_status' => 'publish', + 'post__not_in' => get_option( 'sticky_posts' ), + 'tax_query' => array( + array( + 'taxonomy' => 'post_format', + 'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-status', 'post-format-quote' ), + 'field' => 'slug', + 'operator' => 'IN', + ), + ), + ); + $ephemera = new WP_Query( $ephemera_args ); + + if ( $ephemera->have_posts() ) : + echo $before_widget; + echo $before_title; + echo $title; // Can set this with a widget option, or omit altogether + echo $after_title; + ?> +
      + have_posts() ) : $ephemera->the_post(); ?> + + + +
    1. + + + comments →', 'twentyeleven' ), __( '1 comment →', 'twentyeleven' ), __( '% comments →', 'twentyeleven' ) ); ?> + +
    2. + + + +
    3. + +   + + comments →', 'twentyeleven' ), __( '1 comment →', 'twentyeleven' ), __( '% comments →', 'twentyeleven' ) ); ?> + +
    4. + + + + +
    + flush_widget_cache(); + + $alloptions = wp_cache_get( 'alloptions', 'options' ); + if ( isset( $alloptions['widget_twentyeleven_ephemera'] ) ) + delete_option( 'widget_twentyeleven_ephemera' ); + + return $instance; + } + + function flush_widget_cache() { + wp_cache_delete( 'widget_twentyeleven_ephemera', 'widget' ); + } + + /** + * Displays the form for this widget on the Widgets page of the WP Admin area. + **/ + function form( $instance ) { + $title = isset( $instance['title']) ? esc_attr( $instance['title'] ) : ''; + $number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 10; +?> +

    +

    + +

    +

    + + +
    +
    + + + + + + + + + + + + + + + + +
    +
    +

    +
    + +
    +

    + +
    +
    + + + +
    +
    + + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/js/html5.js b/wp-themes/twentyeleven/js/html5.js new file mode 100644 index 0000000..fabcb85 --- /dev/null +++ b/wp-themes/twentyeleven/js/html5.js @@ -0,0 +1,6 @@ +/*! HTML5 Shiv v3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ +(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); +a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; +c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a"); +var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a, +b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d\n" +"Language-Team: LANGUAGE \n" + +#: 404.php:17 +msgid "This is somewhat embarrassing, isn’t it?" +msgstr "" + +#: 404.php:21 +msgid "" +"It seems we can’t find what you’re looking for. Perhaps " +"searching, or one of the links below, can help." +msgstr "" + +#: 404.php:28 +msgid "Most Used Categories" +msgstr "" + +#. translators: %1$s: smilie +#: 404.php:36 +msgid "Try looking in the monthly archives. %1$s" +msgstr "" + +#: archive.php:25 +msgid "Daily Archives: %s" +msgstr "" + +#: archive.php:27 +msgid "Monthly Archives: %s" +msgstr "" + +#: archive.php:27 +msgctxt "monthly archives date format" +msgid "F Y" +msgstr "" + +#: archive.php:29 +msgid "Yearly Archives: %s" +msgstr "" + +#: archive.php:29 +msgctxt "yearly archives date format" +msgid "Y" +msgstr "" + +#: archive.php:31 +msgid "Blog Archives" +msgstr "" + +#: archive.php:57 author.php:74 category.php:50 index.php:37 search.php:42 +#: tag.php:50 +msgid "Nothing Found" +msgstr "" + +#: archive.php:61 author.php:78 category.php:54 index.php:41 tag.php:54 +msgid "" +"Apologies, but no results were found for the requested archive. Perhaps " +"searching will help find a related post." +msgstr "" + +#: author.php:28 +msgid "Author Archives: %s" +msgstr "" + +#: author.php:49 content-single.php:60 +msgid "About %s" +msgstr "" + +#: category.php:19 +msgid "Category Archives: %s" +msgstr "" + +#: comments.php:17 +msgid "" +"This post is password protected. Enter the password to view any comments." +msgstr "" + +#: comments.php:33 +msgid "One thought on “%2$s”" +msgid_plural "%1$s thoughts on “%2$s”" +msgstr[0] "" +msgstr[1] "" + +#: comments.php:40 comments.php:60 +msgid "Comment navigation" +msgstr "" + +#: comments.php:41 comments.php:61 +msgid "← Older Comments" +msgstr "" + +#: comments.php:42 comments.php:62 +msgid "Newer Comments →" +msgstr "" + +#: comments.php:71 +msgid "Comments are closed." +msgstr "" + +#: content-aside.php:16 content-featured.php:14 content-gallery.php:16 +#: content-gallery.php:48 content-image.php:15 content-link.php:16 +#: content-quote.php:14 content-status.php:15 content.php:15 content.php:19 +#: inc/widgets.php:89 showcase.php:120 showcase.php:199 +msgid "Permalink to %s" +msgstr "" + +#: content-aside.php:17 +msgid "Aside" +msgstr "" + +#: content-aside.php:22 content-image.php:21 content-link.php:22 +#: content-quote.php:24 content-status.php:21 content.php:30 +msgid "Reply" +msgstr "" + +#: content-aside.php:22 content-image.php:21 content-link.php:22 +#: content-quote.php:24 content-status.php:21 content.php:30 +msgctxt "comments number" +msgid "1" +msgstr "" + +#: content-aside.php:22 content-image.php:21 content-link.php:22 +#: content-quote.php:24 content-status.php:21 content.php:30 +msgctxt "comments number" +msgid "%" +msgstr "" + +#: content-aside.php:33 content-gallery.php:32 content-image.php:27 +#: content-link.php:33 content-quote.php:35 content-status.php:34 +#: content.php:41 functions.php:345 +msgid "Continue reading " +msgstr "" + +#: content-aside.php:34 content-featured.php:23 content-gallery.php:54 +#: content-image.php:28 content-intro.php:18 content-link.php:34 +#: content-page.php:18 content-quote.php:36 content-single.php:24 +#: content-status.php:35 content.php:42 image.php:90 +msgid "Pages:" +msgstr "" + +#: content-aside.php:42 content-gallery.php:87 content-image.php:64 +#: content-link.php:42 content-quote.php:69 content-status.php:43 +#: content.php:79 showcase.php:201 +msgid "Leave a reply" +msgstr "" + +#: content-aside.php:42 content-gallery.php:87 content-image.php:64 +#: content-link.php:42 content-quote.php:69 content-status.php:43 +#: content.php:79 showcase.php:201 +msgid "1 Reply" +msgstr "" + +#: content-aside.php:42 content-gallery.php:87 content-image.php:64 +#: content-link.php:42 content-quote.php:69 content-status.php:43 +#: content.php:79 showcase.php:201 +msgid "% Replies" +msgstr "" + +#: content-aside.php:44 content-featured.php:45 content-gallery.php:90 +#: content-image.php:68 content-intro.php:19 content-link.php:44 +#: content-page.php:21 content-quote.php:72 content-single.php:52 +#: content-status.php:45 content.php:82 functions.php:525 functions.php:553 +#: image.php:41 +msgid "Edit" +msgstr "" + +#. translators: used between list items, there is a space after the comma +#: content-featured.php:29 content-featured.php:38 content-gallery.php:62 +#: content-gallery.php:72 content-image.php:47 content-image.php:56 +#: content-quote.php:44 content-quote.php:54 content-single.php:30 +#: content-single.php:33 content.php:51 content.php:63 +msgid ", " +msgstr "" + +#: content-featured.php:31 +msgid "" +"This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." +msgstr "" + +#: content-featured.php:33 +msgid "" +"This entry was posted in %1$s. Bookmark the permalink." +msgstr "" + +#: content-gallery.php:17 +msgid "Gallery" +msgstr "" + +#: content-gallery.php:47 +msgid "This gallery contains %2$s photo." +msgid_plural "This gallery contains %2$s photos." +msgstr[0] "" +msgstr[1] "" + +#: content-gallery.php:66 content-image.php:51 content-quote.php:48 +#: content.php:55 +msgid "Posted in %2$s" +msgstr "" + +#: content-gallery.php:78 content-image.php:59 content-quote.php:60 +#: content.php:69 +msgid "Tagged %2$s" +msgstr "" + +#: content-image.php:16 +msgid "Image" +msgstr "" + +#: content-image.php:34 +msgid "" +" by " +"%6$s" +msgstr "" + +#: content-image.php:39 functions.php:590 +msgid "View all posts by %s" +msgstr "" + +#: content-link.php:17 +msgid "Link" +msgstr "" + +#: content-quote.php:15 +msgid "Quote" +msgstr "" + +#: content-single.php:35 +msgid "" +"This entry was posted in %1$s and tagged %2$s by %5$s. " +"Bookmark the permalink." +msgstr "" + +#: content-single.php:37 +msgid "" +"This entry was posted in %1$s by %5$s. Bookmark the permalink." +msgstr "" + +#: content-single.php:39 +msgid "" +"This entry was posted by %5$s. Bookmark the permalink." +msgstr "" + +#: content-single.php:64 +msgid "View all posts by %s " +msgstr "" + +#: content-status.php:16 +msgid "Status" +msgstr "" + +#: content.php:16 +msgid "Featured" +msgstr "" + +#. #-#-#-#-# twentyeleven.pot (Twenty Eleven 1.5) #-#-#-#-# +#. Author URI of the plugin/theme +#: footer.php:27 +msgid "http://wordpress.org/" +msgstr "" + +#: footer.php:27 +msgid "Semantic Personal Publishing Platform" +msgstr "" + +#: footer.php:27 +msgid "Proudly powered by %s" +msgstr "" + +#: functions.php:95 +msgid "Primary Menu" +msgstr "" + +#. translators: header image description +#: functions.php:164 +msgid "Wheel" +msgstr "" + +#. translators: header image description +#: functions.php:170 +msgid "Shore" +msgstr "" + +#. translators: header image description +#: functions.php:176 +msgid "Trolley" +msgstr "" + +#. translators: header image description +#: functions.php:182 +msgid "Pine Cone" +msgstr "" + +#. translators: header image description +#: functions.php:188 +msgid "Chessboard" +msgstr "" + +#. translators: header image description +#: functions.php:194 +msgid "Lanterns" +msgstr "" + +#. translators: header image description +#: functions.php:200 +msgid "Willow" +msgstr "" + +#. translators: header image description +#: functions.php:206 +msgid "Hanoi Plant" +msgstr "" + +#: functions.php:394 +msgid "Main Sidebar" +msgstr "" + +#: functions.php:403 +msgid "Showcase Sidebar" +msgstr "" + +#: functions.php:405 +msgid "The sidebar for the optional Showcase Template" +msgstr "" + +#: functions.php:413 +msgid "Footer Area One" +msgstr "" + +#: functions.php:415 functions.php:425 functions.php:435 +msgid "An optional widget area for your site footer" +msgstr "" + +#: functions.php:423 +msgid "Footer Area Two" +msgstr "" + +#: functions.php:433 +msgid "Footer Area Three" +msgstr "" + +#: functions.php:453 single.php:18 +msgid "Post navigation" +msgstr "" + +#: functions.php:454 +msgid " Older posts" +msgstr "" + +#: functions.php:455 +msgid "Newer posts " +msgstr "" + +#: functions.php:525 +msgid "Pingback:" +msgstr "" + +#. translators: 1: comment author, 2: date and time +#: functions.php:542 +msgid "%1$s on %2$s said:" +msgstr "" + +#. translators: 1: date, 2: time +#: functions.php:548 +msgid "%1$s at %2$s" +msgstr "" + +#: functions.php:557 +msgid "Your comment is awaiting moderation." +msgstr "" + +#: functions.php:566 +msgid "Reply " +msgstr "" + +#: functions.php:584 +msgid "" +"Posted on by %7$s" +msgstr "" + +#: header.php:45 +msgid "Page %s" +msgstr "" + +#: header.php:129 +msgid "Main menu" +msgstr "" + +#: header.php:131 +msgid "Skip to primary content" +msgstr "" + +#: header.php:132 +msgid "Skip to secondary content" +msgstr "" + +#: image.php:18 +msgid "Image navigation" +msgstr "" + +#: image.php:19 +msgid "← Previous" +msgstr "" + +#: image.php:20 +msgid "Next →" +msgstr "" + +#: image.php:30 +msgid "" +"Published %2$s " +"at %4$s × %5$s " +"in %8$s" +msgstr "" + +#: inc/theme-options.php:55 inc/theme-options.php:474 +msgid "Color Scheme" +msgstr "" + +#: inc/theme-options.php:61 inc/theme-options.php:491 +msgid "Link Color" +msgstr "" + +#: inc/theme-options.php:62 +msgid "Default Layout" +msgstr "" + +#: inc/theme-options.php:94 inc/theme-options.php:95 +msgid "Theme Options" +msgstr "" + +#: inc/theme-options.php:110 +msgid "" +"Some themes provide customization options that are grouped together on a " +"Theme Options screen. If you change themes, options may change or disappear, " +"as they are theme-specific. Your current theme, Twenty Eleven, provides the " +"following Theme Options:" +msgstr "" + +#: inc/theme-options.php:112 +msgid "" +"Color Scheme: You can choose a color palette of \"Light" +"\" (light background with dark text) or \"Dark\" (dark background with light " +"text) for your site." +msgstr "" + +#: inc/theme-options.php:113 +msgid "" +"Link Color: You can choose the color used for text links on " +"your site. You can enter the HTML color or hex code, or you can choose " +"visually by clicking the \"Select a Color\" button to pick from a color " +"wheel." +msgstr "" + +#: inc/theme-options.php:114 +msgid "" +"Default Layout: You can choose if you want your site’" +"s default layout to have a sidebar on the left, the right, or not at all." +msgstr "" + +#: inc/theme-options.php:116 +msgid "" +"Remember to click \"Save Changes\" to save any changes you have made to the " +"theme options." +msgstr "" + +#: inc/theme-options.php:118 +msgid "For more information:" +msgstr "" + +#: inc/theme-options.php:119 +msgid "" +"Documentation on Theme Options" +msgstr "" + +#: inc/theme-options.php:120 +msgid "" +"Support Forums" +msgstr "" + +#: inc/theme-options.php:127 +msgid "Overview" +msgstr "" + +#: inc/theme-options.php:149 +msgid "Light" +msgstr "" + +#: inc/theme-options.php:155 +msgid "Dark" +msgstr "" + +#: inc/theme-options.php:173 +msgid "Content on left" +msgstr "" + +#: inc/theme-options.php:178 +msgid "Content on right" +msgstr "" + +#: inc/theme-options.php:183 +msgid "One-column, no sidebar" +msgstr "" + +#: inc/theme-options.php:273 +msgid "Select a Color" +msgstr "" + +#: inc/theme-options.php:276 +msgid "Default color: %s" +msgstr "" + +#: inc/theme-options.php:312 +msgid "%s Theme Options" +msgstr "" + +#: inc/theme-options.php:498 +msgid "Layout" +msgstr "" + +#: inc/widgets.php:19 +msgid "" +"Use this widget to list your recent Aside, Status, Quote, and Link posts" +msgstr "" + +#: inc/widgets.php:20 +msgid "Twenty Eleven Ephemera" +msgstr "" + +#: inc/widgets.php:52 +msgid "Ephemera" +msgstr "" + +#: inc/widgets.php:91 inc/widgets.php:107 +msgid "0 comments →" +msgstr "" + +#: inc/widgets.php:91 inc/widgets.php:107 +msgid "1 comment →" +msgstr "" + +#: inc/widgets.php:91 inc/widgets.php:107 +msgid "% comments →" +msgstr "" + +#: inc/widgets.php:105 +msgid "Link to %s" +msgstr "" + +#: inc/widgets.php:157 +msgid "Title:" +msgstr "" + +#: inc/widgets.php:160 +msgid "Number of posts to show:" +msgstr "" + +#: search.php:18 +msgid "Search Results for: %s" +msgstr "" + +#: search.php:46 +msgid "" +"Sorry, but nothing matched your search criteria. Please try again with some " +"different keywords." +msgstr "" + +#: searchform.php:11 searchform.php:12 searchform.php:13 +msgid "Search" +msgstr "" + +#: showcase.php:77 +msgid "Featured Post" +msgstr "" + +#: showcase.php:150 +msgid "Featuring: %s" +msgstr "" + +#: showcase.php:160 +msgid "Recent Posts" +msgstr "" + +#: sidebar.php:19 +msgid "Archives" +msgstr "" + +#: sidebar.php:26 +msgid "Meta" +msgstr "" + +#: single.php:19 +msgid " Previous" +msgstr "" + +#: single.php:20 +msgid "Next " +msgstr "" + +#: tag.php:19 +msgid "Tag Archives: %s" +msgstr "" + +#. Theme Name of the plugin/theme +msgid "Twenty Eleven" +msgstr "" + +#. Theme URI of the plugin/theme +msgid "http://wordpress.org/extend/themes/twentyeleven" +msgstr "" + +#. Description of the plugin/theme +msgid "" +"The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. " +"Make it yours with a custom menu, header image, and background -- then go " +"further with available theme options for light or dark color scheme, custom " +"link colors, and three layout choices. Twenty Eleven comes equipped with a " +"Showcase page template that transforms your front page into a showcase to " +"show off your best content, widget support galore (sidebar, three footer " +"areas, and a Showcase page widget area), and a custom \"Ephemera\" widget to " +"display your Aside, Link, Quote, or Status posts. Included are styles for " +"print and for the admin editor, support for featured images (as custom " +"header images on posts and pages and as large images on featured \"sticky\" " +"posts), and special styles for six different post formats." +msgstr "" + +#. Author of the plugin/theme +msgid "the WordPress team" +msgstr "" + +#. Template Name of the plugin/theme +msgid "Showcase Template" +msgstr "" + +#. Template Name of the plugin/theme +msgid "Sidebar Template" +msgstr "" diff --git a/wp-themes/twentyeleven/license.txt b/wp-themes/twentyeleven/license.txt new file mode 100644 index 0000000..5fbe4a7 --- /dev/null +++ b/wp-themes/twentyeleven/license.txt @@ -0,0 +1,281 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110, USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + diff --git a/wp-themes/twentyeleven/page.php b/wp-themes/twentyeleven/page.php new file mode 100644 index 0000000..5dda4d1 --- /dev/null +++ b/wp-themes/twentyeleven/page.php @@ -0,0 +1,31 @@ + + +
    +
    + + + + + + + + + +
    +
    + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/readme.txt b/wp-themes/twentyeleven/readme.txt new file mode 100644 index 0000000..e803014 --- /dev/null +++ b/wp-themes/twentyeleven/readme.txt @@ -0,0 +1,5 @@ += TWENTY ELEVEN = + +* by the WordPress team, http://wordpress.org/ + +== ABOUT TWENTY ELEVEN == \ No newline at end of file diff --git a/wp-themes/twentyeleven/rtl.css b/wp-themes/twentyeleven/rtl.css new file mode 100644 index 0000000..19ac828 --- /dev/null +++ b/wp-themes/twentyeleven/rtl.css @@ -0,0 +1,583 @@ +/* +Theme Name: Twenty Eleven + +Adding support for language written in a Right To Left (RTL) direction is easy - +it's just a matter of overwriting all the horizontal positioning attributes +of your CSS stylesheet in a separate stylesheet file named rtl.css. + +http://codex.wordpress.org/Right_to_Left_Language_Support + +*/ + +/* =Reset reset +----------------------------------------------- */ + +caption, th, td { + text-align: right; +} + +/* =Structure +----------------------------------------------- */ + +body { + direction:rtl; + unicode-bidi:embed; +} + +/* Showcase */ +.page-template-showcase-php section.recent-posts { + float: left; + margin: 0 31% 0 0; +} +.page-template-showcase-php #main .widget-area { + float: right; + margin: 0 0 0 -22.15%; +} + +/* One column */ + +.one-column article.feature-image.small .entry-summary a { + left: auto; + right: -9%; +} + +/* Simplify the pullquotes and pull styles */ +.one-column.singular .entry-meta .edit-link a { + right: 0px; + left: auto; +} +/* Make sure we have room for our comment avatars */ +.one-column .commentlist > li.comment { + margin-left: 0; + margin-right: 102px; +} +/* Make sure the logo and search form don't collide */ +.one-column #branding #searchform { + right: auto; + left: 40px; +} +/* Talking avatars take up too much room at this size */ +.one-column .commentlist > li.comment { + margin-right: 0; +} +.one-column .commentlist > li.comment .comment-meta, +.one-column .commentlist > li.comment .comment-content { + margin-right: 0; + margin-left: 85px; +} +.one-column .commentlist .avatar { + right: auto; + left: 1.625em; +} +.one-column .commentlist .children .avatar { + left: auto; + right: 2.2em; +} + +/* =Global +----------------------------------------------- */ + +/* Text elements */ +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 2.5em 1.625em 0; +} +.ltr ul, .ltr ol { + margin: 0 0 1.625em 2.5em; +} +blockquote { + font-family: Arial, sans-serif; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} + +/* Forms */ +textarea { + padding-left: 0; + padding-right: 3px; +} +input#s { + background-position: 97% 6px; + padding: 4px 28px 4px 10px; +} + +/* Assistive text */ +#access a.assistive-text:active, +#access a.assistive-text:focus { + left: auto; + right: 7.6%; +} + +/* =Header +----------------------------------------------- */ + +#site-title { + margin-right: 0; + margin-left: 270px; +} + +#site-description { + margin: 0 0 3.65625em 270px; +} + +/* =Menu +-------------------------------------------------------------- */ + +#access { + float: right; +} +#access ul { + margin: 0 -0.8125em 0 0; + padding-right: 0; +} +#access li { + float: right; +} +#access ul ul { + float: right; + left: auto; + right: 0; +} +#access ul ul ul { + left: auto; + right: 100%; +} + +/* Search Form */ +#branding #searchform { + right: auto; + left: 7.6%; + text-align: left; +} +#branding #s { + float: left; +} +#branding .only-search + #access div { + padding-right: 0; + padding-left: 205px; +} + + +/* =Content +----------------------------------------------- */ +.entry-title, +.entry-header .entry-meta { + padding-right: 0; + padding-left: 76px; +} +.entry-content td, +.comment-content td { + padding: 6px 0 6px 10px; +} +.page-link span { + margin-right: 0; + margin-left: 6px; +} +.entry-meta .edit-link a { + float: left; +} +/* Images */ + +.wp-caption .wp-caption-text, +.gallery-caption { + font-family: Arial, sans-serif; +} +.wp-caption .wp-caption-text { + padding: 10px 40px 5px 0px; +} +.wp-caption .wp-caption-text:before { + margin-right: 0; + margin-left: 5px; + left: auto; + right: 10px; +} +#content .gallery-columns-4 .gallery-item { + padding-right:0; + padding-left:2%; +} + +/* Author Info */ +.singular #author-info { + margin: 2.2em -35.4% 0 -35.6%; +} +#author-avatar { + float: right; + margin-right: 0; + margin-left: -78px; +} +#author-description { + float: right; + margin-left: 0; + margin-right: 108px; +} +/* Comments link */ +.entry-header .comments-link a { + background-image: url(images/comment-bubble-rtl.png); + right: auto; + left: 0; +} + +/* + Post Formats Headings +*/ +.singular .entry-title, +.singular .entry-header .entry-meta { + padding-left: 0; +} +.singular .entry-header .entry-meta { + left: auto; + right: 0; +} +.singular .entry-meta .edit-link a { + left: auto; + right: 50px; +} + + +/* =Gallery +----------------------------------------------- */ + +.format-gallery .gallery-thumb { + float: right; + margin: .375em 0 0 1.625em; +} + + +/* =Status +----------------------------------------------- */ + +.format-status img.avatar { + float: right; + margin: 4px 0 2px 10px; +} + + +/* =Image +----------------------------------------------- */ + +.indexed.format-image div.entry-meta { + float: right; +} +/* =error404 +---------------------- +------------------------- */ +.error404 #main .widget { + float: right; + margin-right: auto; + margin-left: 3.7%; +} +.error404 #main .widget_archive { + margin-left: 0; +} +.error404 #main .widget_tag_cloud { + margin-left: 0; +} + +/* =Showcase +----------------------------------------------- */ + +article.intro .edit-link a { + right: auto; + left: 20px; +} + +/* Featured post */ +section.featured-post { + float: right; +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + float: left; + margin: 0 0 1.625em -8.9%; + right: auto; + left: -15px; +} +article.feature-image.small { + float: right; +} +article.feature-image.small .entry-summary p a { + left:auto; + right: -23.8%; + padding: 9px 85px 9px 26px; +} + +/* Large featured post */ +section.feature-image.large .hentry { + left:auto; + right: 9%; + margin: 1.625em 0 0 9%; +} +/* Featured Slider */ +.featured-posts .showcase-heading { + padding-left: 0; + padding-right: 8.9%; +} +.featured-posts section.featured-post { + left: auto; + right: 0; +} +#content .feature-slider { + right: auto; + left: 8.9%; +} +.feature-slider li { + float: right; +} +/* Recent Posts */ +section.recent-posts .other-recent-posts a[rel="bookmark"] { + float: right; +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + padding: 0.3125em 1em 0.3125em 0; + right: auto; + left: 0; + text-align: left; +} + +/* =Attachments +----------------------------------------------- */ + +/* =Navigation +-------------------------------------------------------------- */ + +.nav-previous { + float: right; +} +.nav-next { + float: left; + text-align: left; +} + +/* Singular navigation */ +#nav-single { + float: left; + text-align: left; +} +#nav-single .nav-next { + padding-left: 0; + padding-right: .5em; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget ul ul { + margin-left: 0; + margin-right: 1.5em; +} + +/* Twitter */ +.widget_twitter .timesince { + margin-right: 0; + margin-left: -10px; + text-align: left; +} + +/* =Comments +----------------------------------------------- */ + +.commentlist .children li.comment { + border-left: none; + border-right: 1px solid #ddd; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.commentlist .children li.comment .comment-meta { + margin-left: 0; + margin-right: 50px; +} +.commentlist .avatar { + left: auto; + right: -102px; +} +.commentlist > li:before { + content: url(images/comment-arrow-rtl.png); + left:auto; + right: -21px; +} +.commentlist > li.pingback:before { + content: ''; +} +.commentlist .children .avatar { + left: auto; + right: 2.2em; +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor:before { + content: url(images/comment-arrow-bypostauthor-rtl.png); +} + +/* sidebar-page.php comments */ +/* Make sure we have room for our comment avatars */ +.page-template-sidebar-page-php .commentlist > li.comment, +.page-template-sidebar-page-php.commentlist .pingback { + margin-left: 0; + margin-right: 102px; +} + +/* Comment Form */ +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + left: auto; + right: 4px; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + -webkit-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); + -moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); + box-shadow: -1px 2px 2px rgba(204,204,204,0.8); +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + left: auto; + right: 75%; +} +#respond .form-submit { + float: left; +} +#respond input#submit { + left: auto; + right: 30px; + padding: 5px 22px 5px 42px; +} +#respond #cancel-comment-reply-link { + margin-left: 0; + margin-right: 10px; +} +#cancel-comment-reply-link { + right: auto; + left: 1.625em; +} + +/* =Footer +----------------------------------------------- */ + +/* Two Footer Widget Areas */ +#supplementary.two .widget-area { + float: right; + margin-right: 0; + margin-left: 3.7%; +} +#supplementary.two .widget-area + .widget-area { + margin-left: 0; +} + +/* Three Footer Widget Areas */ +#supplementary.three .widget-area { + float: right; + margin-right: 0; + margin-left: 3.7%; +} +#supplementary.three .widget-area + .widget-area + .widget-area { + margin-left: 0; +} + +/* Site Generator Line */ +#site-generator .sep { + background-position: right center; +} + + +/* =Responsive Structure +----------------------------------------------- */ + +@media (max-width: 800px) { + /* Simplify the showcase template when small feature */ + section.featured-post .attachment-small-feature, + .one-column section.featured-post .attachment-small-feature { + float: right; + } + article.feature-image.small { + float: left; + } + article.feature-image.small .entry-summary p a { + right: 0; + } + .singular .entry-meta .edit-link a { + left: auto; + right: 0px; + } + /* Make sure we have room for our comment avatars */ + .commentlist > li.comment, + .commentlist .pingback { + margin-left: 0; + margin-right: 102px; + } + /* No need to float footer widgets at this size */ + #colophon #supplementary .widget-area { + margin-left: 0; + } + /* No need to float 404 widgets at this size */ + .error404 #main .widget { + margin-left: 0; + } +} +@media (max-width: 650px) { + /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ + #site-title, + #site-description { + margin-left: 0; + } + /* Talking avatars take up too much room at this size */ + .commentlist > li.comment, + .commentlist > li.pingback { + margin-right: 0 !important; + } + .commentlist .children .avatar { + left: auto; + right: 2.2em; + } + /* Use the available space in the smaller comment form */ + #respond .comment-form-author .required, + #respond .comment-form-email .required { + left: auto; + right: 95%; + } + #content .gallery-columns-3 .gallery-item { + padding-right: 0; + padding-left:2%; + } +} +@media (max-width: 450px) { + #content .gallery-columns-2 .gallery-item { + padding-right:0; + padding-left:4%; + } +} + +/* =Print +----------------------------------------------- */ + +@media print { + #primary { + float: right; + } + /* Comments */ + .commentlist .avatar { + left: auto; + right: 2.2em; + } + .commentlist li.comment .comment-meta { + margin-left: 0; + margin-right: 50px; + } +} + +/* =IE7 +----------------------------------------------- */ + +#ie7 section.recent-posts { + margin-right: 0; + margin-left: 7.6%; +} diff --git a/wp-themes/twentyeleven/screenshot.png b/wp-themes/twentyeleven/screenshot.png new file mode 100644 index 0000000..8f120d8 Binary files /dev/null and b/wp-themes/twentyeleven/screenshot.png differ diff --git a/wp-themes/twentyeleven/search.php b/wp-themes/twentyeleven/search.php new file mode 100644 index 0000000..bf45c2f --- /dev/null +++ b/wp-themes/twentyeleven/search.php @@ -0,0 +1,57 @@ + + +
    +
    + + + + + + + + + + + + + + + + + + +
    +
    +

    +
    + +
    +

    + +
    +
    + + + +
    +
    + + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/searchform.php b/wp-themes/twentyeleven/searchform.php new file mode 100644 index 0000000..b83ec1e --- /dev/null +++ b/wp-themes/twentyeleven/searchform.php @@ -0,0 +1,14 @@ + +
    + + + +
    diff --git a/wp-themes/twentyeleven/showcase.php b/wp-themes/twentyeleven/showcase.php new file mode 100644 index 0000000..9bc57fc --- /dev/null +++ b/wp-themes/twentyeleven/showcase.php @@ -0,0 +1,227 @@ + + +
    +
    + + + + + + + + $sticky, + 'post_status' => 'publish', + 'posts_per_page' => 10, + 'no_found_rows' => true, + ); + + // The Featured Posts query. + $featured = new WP_Query( $featured_args ); + + // Proceed only if published posts exist + if ( $featured->have_posts() ) : + + /** + * We will need to count featured posts starting from zero + * to create the slider navigation. + */ + $counter_slider = 0; + + // Compatibility with versions of WordPress prior to 3.4. + if ( function_exists( 'get_custom_header' ) ) + $header_image_width = get_theme_support( 'custom-header', 'width' ); + else + $header_image_width = HEADER_IMAGE_WIDTH; + ?> + + + + + +
    +

    + + 'DESC', + 'post__not_in' => get_option( 'sticky_posts' ), + 'tax_query' => array( + array( + 'taxonomy' => 'post_format', + 'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-quote', 'post-format-status' ), + 'field' => 'slug', + 'operator' => 'NOT IN', + ), + ), + 'no_found_rows' => true, + ); + + // Our new query for the Recent Posts section. + $recent = new WP_Query( $recent_args ); + + // The first Recent post is displayed normally + if ( $recent->have_posts() ) : $recent->the_post(); + + // Set $more to 0 in order to only get the first part of the post. + global $more; + $more = 0; + + get_template_part( 'content', get_post_format() ); + + echo '
      '; + + endif; + + // For all other recent posts, just display the title and comment status. + while ( $recent->have_posts() ) : $recent->the_post(); ?> + +
    1. + + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + +
    2. + + + if ( $recent->post_count > 0 ) + echo '
    '; + ?> +
    + + + +
    +
    + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/sidebar-footer.php b/wp-themes/twentyeleven/sidebar-footer.php new file mode 100644 index 0000000..cbcb49b --- /dev/null +++ b/wp-themes/twentyeleven/sidebar-footer.php @@ -0,0 +1,42 @@ + + + +
    > + + + + + + + + + + + +
    \ No newline at end of file diff --git a/wp-themes/twentyeleven/sidebar-page.php b/wp-themes/twentyeleven/sidebar-page.php new file mode 100644 index 0000000..c10d628 --- /dev/null +++ b/wp-themes/twentyeleven/sidebar-page.php @@ -0,0 +1,28 @@ + + +
    +
    + + + + + + + + + +
    +
    + + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/sidebar.php b/wp-themes/twentyeleven/sidebar.php new file mode 100644 index 0000000..0f08571 --- /dev/null +++ b/wp-themes/twentyeleven/sidebar.php @@ -0,0 +1,36 @@ + + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/single.php b/wp-themes/twentyeleven/single.php new file mode 100644 index 0000000..92a533e --- /dev/null +++ b/wp-themes/twentyeleven/single.php @@ -0,0 +1,32 @@ + + +
    +
    + + + + + + + + + + + +
    +
    + + \ No newline at end of file diff --git a/wp-themes/twentyeleven/style.css b/wp-themes/twentyeleven/style.css new file mode 100644 index 0000000..6209180 --- /dev/null +++ b/wp-themes/twentyeleven/style.css @@ -0,0 +1,2719 @@ +/* +Theme Name: Twenty Eleven +Theme URI: http://wordpress.org/extend/themes/twentyeleven +Author: the WordPress team +Author URI: http://wordpress.org/ +Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. +Version: 1.5 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Text Domain: twentyeleven +*/ + +/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html +-------------------------------------------------------------- */ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + border: 0; + font-family: inherit; + font-size: 100%; + font-style: inherit; + font-weight: inherit; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; +} +:focus {/* remember to define focus styles! */ + outline: 0; +} +body { + background: #fff; + line-height: 1; +} +ol, ul { + list-style: none; +} +table {/* tables still need 'cellspacing="0"' in the markup */ + border-collapse: separate; + border-spacing: 0; +} +caption, th, td { + font-weight: normal; + text-align: left; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ""; +} +blockquote, q { + quotes: "" ""; +} +a img { + border: 0; +} +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + + +/* =Structure +----------------------------------------------- */ + +body { + padding: 0 2em; +} +#page { + margin: 2em auto; + max-width: 1000px; +} +#branding hgroup { + margin: 0 7.6%; +} +#access div { + margin: 0 7.6%; +} +#primary { + float: left; + margin: 0 -26.4% 0 0; + width: 100%; +} +#content { + margin: 0 34% 0 7.6%; + width: 58.4%; +} +#secondary { + float: right; + margin-right: 7.6%; + width: 18.8%; +} + +/* Singular */ +.singular #primary { + margin: 0; +} +.singular #content, +.left-sidebar.singular #content { + margin: 0 7.6%; + position: relative; + width: auto; +} +.singular .entry-header, +.singular .entry-content, +.singular footer.entry-meta, +.singular #comments-title { + margin: 0 auto; + width: 68.9%; +} + +/* Attachments */ +.singular .image-attachment .entry-content { + margin: 0 auto; + width: auto; +} +.singular .image-attachment .entry-description { + margin: 0 auto; + width: 68.9%; +} + +/* Showcase */ +.page-template-showcase-php #primary, +.left-sidebar.page-template-showcase-php #primary { + margin: 0; +} +.page-template-showcase-php #content, +.left-sidebar.page-template-showcase-php #content { + margin: 0 7.6%; + width: auto; +} +.page-template-showcase-php section.recent-posts { + float: right; + margin: 0 0 0 31%; + width: 69%; +} +.page-template-showcase-php #main .widget-area { + float: left; + margin: 0 -22.15% 0 0; + width: 22.15%; +} + +/* error404 */ +.error404 #primary { + float: none; + margin: 0; +} +.error404 #primary #content { + margin: 0 7.6%; + width: auto; +} + +/* Alignment */ +.alignleft { + display: inline; + float: left; + margin-right: 1.625em; +} +.alignright { + display: inline; + float: right; + margin-left: 1.625em; +} +.aligncenter { + clear: both; + display: block; + margin-left: auto; + margin-right: auto; +} + +/* Right Content */ +.left-sidebar #primary { + float: right; + margin: 0 0 0 -26.4%; + width: 100%; +} +.left-sidebar #content { + margin: 0 7.6% 0 34%; + width: 58.4%; +} +.left-sidebar #secondary { + float: left; + margin-left: 7.6%; + margin-right: 0; + width: 18.8%; +} + +/* One column */ +.one-column #page { + max-width: 690px; +} +.one-column #content { + margin: 0 7.6%; + width: auto; +} +.one-column #nav-below { + border-bottom: 1px solid #ddd; + margin-bottom: 1.625em; +} +.one-column #secondary { + float: none; + margin: 0 7.6%; + width: auto; +} +/* Simplify the showcase template */ +.one-column .page-template-showcase-php section.recent-posts { + float: none; + margin: 0; + width: 100%; +} +.one-column .page-template-showcase-php #main .widget-area { + float: none; + margin: 0; + width: auto; +} +.one-column .page-template-showcase-php .other-recent-posts { + border-bottom: 1px solid #ddd; +} +/* Simplify the showcase template when small feature */ +.one-column section.featured-post .attachment-small-feature { + border: none; + display: block; + height: auto; + max-width: 60%; + position: static; +} +.one-column article.feature-image.small { + margin: 0 0 1.625em; + padding: 0; +} +.one-column article.feature-image.small .entry-title { + font-size: 20px; + line-height: 1.3em; +} +.one-column article.feature-image.small .entry-summary { + height: 150px; + overflow: hidden; + padding: 0; + text-overflow: ellipsis; +} +.one-column article.feature-image.small .entry-summary a { + left: -9%; +} +/* Remove the margin on singular articles */ +.one-column.singular .entry-header, +.one-column.singular .entry-content, +.one-column.singular footer.entry-meta, +.one-column.singular #comments-title { + width: 100%; +} +/* Simplify the pullquotes and pull styles */ +.one-column.singular blockquote.pull { + margin: 0 0 1.625em; +} +.one-column.singular .pull.alignleft { + margin: 0 1.625em 0 0; +} +.one-column.singular .pull.alignright { + margin: 0 0 0 1.625em; +} +.one-column.singular .entry-meta .edit-link a { + position: absolute; + left: 0; + top: 40px; +} +.one-column.singular #author-info { + margin: 2.2em -8.8% 0; + padding: 20px 8.8%; +} +/* Make sure we have room for our comment avatars */ +.one-column .commentlist > li.comment { + margin-left: 102px; + width: auto; +} +/* Make sure the logo and search form don't collide */ +.one-column #branding #searchform { + right: 40px; + top: 4em; +} +/* Talking avatars take up too much room at this size */ +.one-column .commentlist > li.comment { + margin-left: 0; +} +.one-column .commentlist > li.comment .comment-meta, +.one-column .commentlist > li.comment .comment-content { + margin-right: 85px; +} +.one-column .commentlist .avatar { + background: transparent; + display: block; + padding: 0; + top: 1.625em; + left: auto; + right: 1.625em; +} +.one-column .commentlist .children .avatar { + background: none; + padding: 0; + position: absolute; + top: 2.2em; + left: 2.2em; +} +.one-column #respond { + width: auto; +} + + +/* =Global +----------------------------------------------- */ + +body, input, textarea { + color: #373737; + font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 300; + line-height: 1.625; +} +body { + background: #e2e2e2; +} +#page { + background: #fff; +} + +/* Headings */ +h1,h2,h3,h4,h5,h6 { + clear: both; +} +hr { + background-color: #ccc; + border: 0; + height: 1px; + margin-bottom: 1.625em; +} + +/* Text elements */ +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 0 1.625em 2.5em; +} +ul { + list-style: square; +} +ol { + list-style-type: decimal; +} +ol ol { + list-style: upper-alpha; +} +ol ol ol { + list-style: lower-roman; +} +ol ol ol ol { + list-style: lower-alpha; +} +ul ul, ol ol, ul ol, ol ul { + margin-bottom: 0; +} +dl { + margin: 0 1.625em; +} +dt { + font-weight: bold; +} +dd { + margin-bottom: 1.625em; +} +strong { + font-weight: bold; +} +cite, em, i { + font-style: italic; +} +blockquote { + font-family: Georgia, "Bitstream Charter", serif; + font-style: italic; + font-weight: normal; + margin: 0 3em; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} +blockquote cite { + color: #666; + font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 300; + letter-spacing: 0.05em; + text-transform: uppercase; +} +pre { + background: #f4f4f4; + font: 13px "Courier 10 Pitch", Courier, monospace; + line-height: 1.5; + margin-bottom: 1.625em; + overflow: auto; + padding: 0.75em 1.625em; +} +code, kbd, samp, var { + font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} +abbr, acronym, dfn { + border-bottom: 1px dotted #666; + cursor: help; +} +address { + display: block; + margin: 0 0 1.625em; +} +ins { + background: #fff9c0; + text-decoration: none; +} +sup, +sub { + font-size: 10px; + height: 0; + line-height: 1; + position: relative; + vertical-align: baseline; +} +sup { + bottom: 1ex; +} +sub { + top: .5ex; +} +small { + font-size: smaller; +} + +/* Forms */ +input[type=text], +input[type=password], +input[type=email], +input[type=url], +input[type=number], +textarea { + background: #fafafa; + -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + border: 1px solid #ddd; + color: #888; +} +input[type=text]:focus, +input[type=password]:focus, +input[type=email]:focus, +input[type=url]:focus, +input[type=number]:focus, +textarea:focus { + color: #373737; +} +textarea { + padding-left: 3px; + width: 98%; +} +input[type=text], +input[type=password], +input[type=email], +input[type=url], +input[type=number] { + padding: 3px; +} +input#s { + background: url(images/search.png) no-repeat 5px 6px; + -moz-border-radius: 2px; + border-radius: 2px; + font-size: 14px; + height: 22px; + line-height: 1.2em; + padding: 4px 10px 4px 28px; +} +input#searchsubmit { + display: none; +} + +/* Links */ +a { + color: #1982d1; + text-decoration: none; +} +a:focus, +a:active, +a:hover { + text-decoration: underline; +} + +/* Assistive text */ +.assistive-text { + position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} +#access a.assistive-text:active, +#access a.assistive-text:focus { + background: #eee; + border-bottom: 1px solid #ddd; + color: #1982d1; + clip: auto !important; + font-size: 12px; + position: absolute; + text-decoration: underline; + top: 0; + left: 7.6%; +} + + +/* =Header +----------------------------------------------- */ + +#branding { + border-top: 2px solid #bbb; + padding-bottom: 10px; + position: relative; + z-index: 9999; +} +#site-title { + margin-right: 270px; + padding: 3.65625em 0 0; +} +#site-title a { + color: #111; + font-size: 30px; + font-weight: bold; + line-height: 36px; + text-decoration: none; +} +#site-title a:hover, +#site-title a:focus, +#site-title a:active { + color: #1982d1; +} +#site-description { + color: #7a7a7a; + font-size: 14px; + margin: 0 270px 3.65625em 0; +} +#branding img { + height: auto; + display: block; + width: 100%; +} + + +/* =Menu +-------------------------------------------------------------- */ + +#access { + background: #222; /* Show a solid color for older browsers */ + background: -moz-linear-gradient(#252525, #0a0a0a); + background: -o-linear-gradient(#252525, #0a0a0a); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */ + background: -webkit-linear-gradient(#252525, #0a0a0a); + -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + clear: both; + display: block; + float: left; + margin: 0 auto 6px; + width: 100%; +} +#access ul { + font-size: 13px; + list-style: none; + margin: 0 0 0 -0.8125em; + padding-left: 0; +} +#access li { + float: left; + position: relative; +} +#access a { + color: #eee; + display: block; + line-height: 3.333em; + padding: 0 1.2125em; + text-decoration: none; +} +#access ul ul { + -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + box-shadow: 0 3px 3px rgba(0,0,0,0.2); + display: none; + float: left; + margin: 0; + position: absolute; + top: 3.333em; + left: 0; + width: 188px; + z-index: 99999; +} +#access ul ul ul { + left: 100%; + top: 0; +} +#access ul ul a { + background: #f9f9f9; + border-bottom: 1px dotted #ddd; + color: #444; + font-size: 13px; + font-weight: normal; + height: auto; + line-height: 1.4em; + padding: 10px 10px; + width: 168px; +} +#access li:hover > a, +#access ul ul :hover > a, +#access a:focus { + background: #efefef; +} +#access li:hover > a, +#access a:focus { + background: #f9f9f9; /* Show a solid color for older browsers */ + background: -moz-linear-gradient(#f9f9f9, #e5e5e5); + background: -o-linear-gradient(#f9f9f9, #e5e5e5); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ + background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); + color: #373737; +} +#access ul li:hover > ul { + display: block; +} +#access .current-menu-item > a, +#access .current-menu-ancestor > a, +#access .current_page_item > a, +#access .current_page_ancestor > a { + font-weight: bold; +} + +/* Search Form */ +#branding #searchform { + position: absolute; + top: 3.8em; + right: 7.6%; + text-align: right; +} +#branding #searchform div { + margin: 0; +} +#branding #s { + float: right; + -webkit-transition-duration: 400ms; + -webkit-transition-property: width, background; + -webkit-transition-timing-function: ease; + -moz-transition-duration: 400ms; + -moz-transition-property: width, background; + -moz-transition-timing-function: ease; + -o-transition-duration: 400ms; + -o-transition-property: width, background; + -o-transition-timing-function: ease; + width: 72px; +} +#branding #s:focus { + background-color: #f9f9f9; + width: 196px; +} +#branding #searchsubmit { + display: none; +} +#branding .only-search #searchform { + top: 5px; + z-index: 1; +} +#branding .only-search #s { + background-color: #666; + border-color: #000; + color: #222; +} +#branding .only-search #s, +#branding .only-search #s:focus { + width: 85%; +} +#branding .only-search #s:focus { + background-color: #bbb; +} +#branding .with-image #searchform { + top: auto; + bottom: -27px; + max-width: 195px; +} +#branding .only-search + #access div { + padding-right: 205px; +} + + +/* =Content +----------------------------------------------- */ + +#main { + clear: both; + padding: 1.625em 0 0; +} +.page-title { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + margin: 0 0 2.6em; + text-transform: uppercase; +} +.page-title a { + font-size: 12px; + font-weight: bold; + letter-spacing: 0; + text-transform: none; +} +.hentry, +.no-results { + border-bottom: 1px solid #ddd; + margin: 0 0 1.625em; + padding: 0 0 1.625em; + position: relative; +} +.hentry:last-child, +.no-results { + border-bottom: none; +} +.blog .sticky .entry-header .entry-meta { + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; +} +.entry-title, +.entry-header .entry-meta { + padding-right: 76px; +} +.entry-title { + clear: both; + color: #222; + font-size: 26px; + font-weight: bold; + line-height: 1.5em; + padding-bottom: .3em; + padding-top: 15px; +} +.entry-title, +.entry-title a { + color: #222; + text-decoration: none; +} +.entry-title a:hover, +.entry-title a:focus, +.entry-title a:active { + color: #1982d1; +} +.entry-meta { + color: #666; + clear: both; + font-size: 12px; + line-height: 18px; +} +.entry-meta a { + font-weight: bold; +} +.single-author .entry-meta .by-author { + display: none; +} +.entry-content, +.entry-summary { + padding: 1.625em 0 0; +} +.entry-content h1, +.entry-content h2, +.comment-content h1, +.comment-content h2 { + color: #000; + font-weight: bold; + margin: 0 0 .8125em; +} +.entry-content h3, +.comment-content h3 { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.entry-content table, +.comment-content table { + border-bottom: 1px solid #ddd; + margin: 0 0 1.625em; + width: 100%; +} +.entry-content th, +.comment-content th { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.entry-content td, +.comment-content td { + border-top: 1px solid #ddd; + padding: 6px 10px 6px 0; +} +.entry-content #s { + width: 75%; +} +.comment-content ul, +.comment-content ol { + margin-bottom: 1.625em; +} +.comment-content ul ul, +.comment-content ol ol, +.comment-content ul ol, +.comment-content ol ul { + margin-bottom: 0; +} +dl.gallery-item { + margin: 0; +} +.page-link { + clear: both; + display: block; + margin: 0 0 1.625em; +} +.page-link a { + background: #eee; + color: #373737; + margin: 0; + padding: 2px 3px; + text-decoration: none; +} +.page-link a:hover { + background: #888; + color: #fff; + font-weight: bold; +} +.page-link span { + margin-right: 6px; +} +.entry-meta .edit-link a, +.commentlist .edit-link a { + background: #eee; + -moz-border-radius: 3px; + border-radius: 3px; + color: #666; + float: right; + font-size: 12px; + line-height: 1.5em; + font-weight: 300; + text-decoration: none; + padding: 0 8px; +} +.entry-meta .edit-link a:hover, +.commentlist .edit-link a:hover { + background: #888; + color: #fff; +} +.entry-content .edit-link { + clear: both; + display: block; +} + +/* Images */ +.entry-content img, +.comment-content img, +.widget img { + max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ +} +img[class*="align"], +img[class*="wp-image-"], +img[class*="attachment-"] { + height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ +} +img.size-full, +img.size-large { + max-width: 97.5%; + width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ + height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ +} +.entry-content img.wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} +img.alignleft, +img.alignright, +img.aligncenter { + margin-bottom: 1.625em; +} +p img, +.wp-caption { + margin-top: 0.4em; +} +.wp-caption { + background: #eee; + margin-bottom: 1.625em; + max-width: 96%; + padding: 9px; +} +.wp-caption img { + display: block; + margin: 0 auto; + max-width: 98%; +} +.wp-caption .wp-caption-text, +.gallery-caption { + color: #666; + font-family: Georgia, serif; + font-size: 12px; +} +.wp-caption .wp-caption-text { + margin-bottom: 0.6em; + padding: 10px 0 5px 40px; + position: relative; +} +.wp-caption .wp-caption-text:before { + color: #666; + content: '\2014'; + font-size: 14px; + font-style: normal; + font-weight: bold; + margin-right: 5px; + position: absolute; + left: 10px; + top: 7px; +} +#content .gallery { + margin: 0 auto 1.625em; +} +#content .gallery a img { + border: none; +} +img#wpstats { + display: block; + margin: 0 auto 1.625em; +} +#content .gallery-columns-4 .gallery-item { + width: 23%; + padding-right: 2%; +} +#content .gallery-columns-4 .gallery-item img { + width: 100%; + height: auto; +} + +/* Image borders */ +img[class*="align"], +img[class*="wp-image-"], +#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ + border: 1px solid #ddd; + padding: 6px; +} +.wp-caption img { + border-color: #eee; +} +a:focus img[class*="align"], +a:hover img[class*="align"], +a:active img[class*="align"], +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"], +#content .gallery .gallery-icon a:focus img, +#content .gallery .gallery-icon a:hover img, +#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */ + background: #eee; + border-color: #bbb; +} +.wp-caption a:focus img, +.wp-caption a:active img, +.wp-caption a:hover img {/* ... including captioned images! */ + background: #fff; + border-color: #ddd; +} + +/* Make sure videos and embeds fit their containers */ +embed, +iframe, +object { + max-width: 100%; +} +.entry-content .twitter-tweet-rendered { + max-width: 100% !important; /* Override the Twitter embed fixed width */ +} + +/* Password Protected Posts */ +.post-password-required .entry-header .comments-link { + margin: 1.625em 0 0; +} +.post-password-required input[type=password] { + margin: 0.8125em 0; +} +.post-password-required input[type=password]:focus { + background: #f7f7f7; +} + +/* Author Info */ +#author-info { + font-size: 12px; + overflow: hidden; +} +.singular #author-info { + background: #f9f9f9; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 2.2em -35.6% 0 -35.4%; + padding: 20px 35.4%; +} +.archive #author-info { + border-bottom: 1px solid #ddd; + margin: 0 0 2.2em; + padding: 0 0 2.2em; +} +#author-avatar { + float: left; + margin-right: -78px; +} +#author-avatar img { + background: #fff; + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0 1px 2px #bbb; + -moz-box-shadow: 0 1px 2px #bbb; + box-shadow: 0 1px 2px #bbb; + padding: 3px; +} +#author-description { + float: left; + margin-left: 108px; +} +#author-description h2 { + color: #000; + font-size: 15px; + font-weight: bold; + margin: 5px 0 10px; +} + +/* Comments link */ +.entry-header .comments-link a { + background: #eee url(images/comment-bubble.png) no-repeat; + color: #666; + font-size: 13px; + font-weight: normal; + line-height: 35px; + overflow: hidden; + padding: 0 0 0; + position: absolute; + top: 1.5em; + right: 0; + text-align: center; + text-decoration: none; + width: 43px; + height: 36px; +} +.entry-header .comments-link a:hover, +.entry-header .comments-link a:focus, +.entry-header .comments-link a:active { + background-color: #1982d1; + color: #fff; + color: rgba(255,255,255,0.8); +} +.entry-header .comments-link .leave-reply { + visibility: hidden; +} + +/* +Post Formats Headings +To hide the headings, display: none the ".entry-header .entry-format" selector, +and remove the padding rules below. +*/ +.entry-header .entry-format { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + position: absolute; + text-transform: uppercase; + top: -5px; +} +.entry-header hgroup .entry-title { + padding-top: 15px; +} +article.format-aside .entry-content, +article.format-link .entry-content, +article.format-status .entry-content { + padding: 20px 0 0; +} +article.format-status .entry-content { + min-height: 65px; +} +.recent-posts .entry-header .entry-format { + display: none; +} +.recent-posts .entry-header hgroup .entry-title { + padding-top: 0; +} + +/* Singular content styles for Posts and Pages */ +.singular .hentry { + border-bottom: none; + padding: 4.875em 0 0; + position: relative; +} +.singular.page .hentry { + padding: 3.5em 0 0; +} +.singular .entry-title { + color: #000; + font-size: 36px; + font-weight: bold; + line-height: 48px; +} +.singular .entry-title, +.singular .entry-header .entry-meta { + padding-right: 0; +} +.singular .entry-header .entry-meta { + position: absolute; + top: 0; + left: 0; +} +blockquote.pull { + font-size: 21px; + font-weight: bold; + line-height: 1.6125em; + margin: 0 0 1.625em; + text-align: center; +} +.singular blockquote.pull { + margin: 0 -22.25% 1.625em; +} +.pull.alignleft { + margin: 0 1.625em 0 0; + text-align: right; +} +.singular .pull.alignleft { + margin: 0 1.625em 0 -22.25%; +} +.pull.alignright { + margin: 0 0 0 1.625em; + text-align: left; +} +blockquote.pull.alignleft, +blockquote.pull.alignright { + width: 33%; +} +.singular .pull.alignright { + margin: 0 -22.25% 0 1.625em; +} +.singular blockquote.pull.alignleft, +.singular blockquote.pull.alignright { + width: 33%; +} +.singular .entry-meta .edit-link a { + bottom: auto; + left: 50px; + position: absolute; + right: auto; + top: 80px; +} + + +/* =Aside +----------------------------------------------- */ + +.format-aside .entry-title, +.format-aside .entry-header .comments-link { + display: none; +} +.singular .format-aside .entry-title { + display: block; +} +.format-aside .entry-content { + padding: 0; +} +.singular .format-aside .entry-content { + padding: 1.625em 0 0; +} + + +/* =Link +----------------------------------------------- */ + +.format-link .entry-title, +.format-link .entry-header .comments-link { + display: none; +} +.singular .format-link .entry-title { + display: block; +} +.format-link .entry-content { + padding: 0; +} +.singular .format-link .entry-content { + padding: 1.625em 0 0; +} + + +/* =Gallery +----------------------------------------------- */ + +.format-gallery .gallery-thumb { + float: left; + display: block; + margin: .375em 1.625em 0 0; + max-width: 100%; +} + + +/* =Status +----------------------------------------------- */ + +.format-status .entry-title, +.format-status .entry-header .comments-link { + display: none; +} +.singular .format-status .entry-title { + display: block; +} +.format-status .entry-content { + padding: 0; +} +.singular .format-status .entry-content { + padding: 1.625em 0 0; +} +.format-status img.avatar { + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0 1px 2px #ccc; + -moz-box-shadow: 0 1px 2px #ccc; + box-shadow: 0 1px 2px #ccc; + float: left; + margin: 4px 10px 2px 0; + padding: 0; +} + + +/* =Quote +----------------------------------------------- */ + +.format-quote blockquote { + color: #555; + font-size: 17px; + margin: 0; +} + + +/* =Image +----------------------------------------------- */ + +.indexed.format-image .entry-header { + min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */ +} +.indexed.format-image .entry-content { + padding-top: 0.5em; +} +.indexed.format-image .entry-content p { + margin: 1em 0; +} +.indexed.format-image .entry-content p:first-child, +.indexed.format-image .entry-content p:first-child a, +.indexed.format-image .entry-content p:first-child img { + display: block; + margin: 0; +} +.indexed.format-image .entry-content .wp-caption .wp-caption-text { + margin: 0; + padding-bottom: 1em; +} +.indexed.format-image footer.entry-meta { + background: #ddd; + overflow: hidden; + padding: 4%; + max-width: 96%; +} +.indexed.format-image div.entry-meta { + display: inline-block; + float: left; + width: 35%; +} +.indexed.format-image div.entry-meta + div.entry-meta { + float: none; + width: 65%; +} +.indexed.format-image .entry-meta span.cat-links, +.indexed.format-image .entry-meta span.tag-links, +.indexed.format-image .entry-meta span.comments-link { + display: block; +} +.indexed.format-image footer.entry-meta a { + color: #444; +} +.indexed.format-image footer.entry-meta a:hover { + color: #fff; +} +#content .indexed.format-image img { + border: none; + max-width: 100%; + padding: 0; +} +.indexed.format-image .wp-caption { + background: #111; + margin-bottom: 0; + max-width: 96%; + padding: 2% 2% 0; +} +.indexed.format-image .wp-caption .wp-caption-text { + color: #ddd; +} +.indexed.format-image .wp-caption .wp-caption-text:before { + color: #444; +} +.indexed.format-image a:hover img { + opacity: 0.8; +} + + +/* =error404 +----------------------------------------------- */ + +.error404 #main #searchform { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + overflow: hidden; + padding: 1.625em 8.9%; +} +.error404 #main #s { + width: 95%; +} +.error404 #main .widget { + clear: none; + float: left; + margin-right: 3.7%; + width: 30.85%; +} +.error404 #main .widget_archive { + margin-right: 0; +} +.error404 #main .widget_tag_cloud { + float: none; + margin-right: 0; + width: 100%; +} +.error404 .widgettitle { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} + + +/* =Showcase +----------------------------------------------- */ + +h1.showcase-heading { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} + +/* Intro */ +article.intro { + background: #f9f9f9; + border-bottom: none; + margin: -1.855em -8.9% 1.625em; + padding: 0 8.9%; +} +article.intro .entry-title { + display: none; +} +article.intro .entry-content { + color: #111; + font-size: 16px; + padding: 1.625em 0 0.625em; +} +article.intro .edit-link a { + background: #aaa; + -moz-border-radius: 3px; + border-radius: 3px; + color: #fff; + font-size: 12px; + padding: 0 8px; + position: absolute; + top: 30px; + right: 20px; + text-decoration: none; +} +article.intro .edit-link a:hover, +article.intro .edit-link a:focus, +article.intro .edit-link a:active { + background: #777; +} + +/* Featured post */ +section.featured-post { + float: left; + margin: -1.625em -8.9% 1.625em; + padding: 1.625em 8.9% 0; + position: relative; + width: 100%; +} +section.featured-post .hentry { + border: none; + color: #666; + margin: 0; +} +section.featured-post .entry-meta { + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + float: right; + height: auto; + margin: 0 -8.9% 1.625em 0; + max-width: 59%; + position: relative; + right: -15px; +} +section.featured-post.small { + padding-top: 0; +} +section.featured-post .attachment-small-feature:hover, +section.featured-post .attachment-small-feature:focus, +section.featured-post .attachment-small-feature:active { + opacity: .8; +} +article.feature-image.small { + float: left; + margin: 0 0 1.625em; + width: 45%; +} +article.feature-image.small .entry-title { + line-height: 1.2em; +} +article.feature-image.small .entry-summary { + color: #555; + font-size: 13px; +} +article.feature-image.small .entry-summary p a { + background: #222; + color: #eee; + display: block; + left: -23.8%; + padding: 9px 26px 9px 85px; + position: relative; + text-decoration: none; + top: 20px; + width: 180px; + z-index: 1; +} +article.feature-image.small .entry-summary p a:hover { + background: #1982d1; + color: #eee; + color: rgba(255,255,255,0.8); +} + +/* Large featured post */ +section.feature-image.large { + border: none; + max-height: 288px; + padding: 0; + width: 100%; +} +section.feature-image.large .showcase-heading { + display: none; +} +section.feature-image.large .hentry { + border-bottom: none; + left: 9%; + margin: 1.625em 9% 0 0; + position: absolute; + top: 0; +} +article.feature-image.large .entry-title a { + background: #222; + background: rgba(0,0,0,0.8); + -moz-border-radius: 3px; + border-radius: 3px; + color: #fff; + display: inline-block; + font-weight: 300; + padding: .2em 20px; +} +section.feature-image.large:hover .entry-title a, +section.feature-image.large .entry-title:hover a { + background: #eee; + background: rgba(255,255,255,0.8); + color: #222; +} +article.feature-image.large .entry-summary { + display: none; +} +section.feature-image.large img { + display: block; + height: auto; + max-width: 117.9%; + padding: 0 0 6px; +} + +/* Featured Slider */ +.featured-posts { + border-bottom: 1px solid #ddd; + display: block; + height: 328px; + margin: 1.625em -8.9% 20px; + max-width: 1000px; + padding: 0; + position: relative; + overflow: hidden; +} +.featured-posts .showcase-heading { + padding-left: 8.9%; +} +.featured-posts section.featured-post { + background: #fff; + height: 288px; + left: 0; + margin: 0; + position: absolute; + top: 30px; + width: auto; +} +.featured-posts section.featured-post.large { + max-width: 100%; + overflow: hidden; +} +.featured-posts section.featured-post { + -webkit-transition-duration: 200ms; + -webkit-transition-property: opacity, visibility; + -webkit-transition-timing-function: ease; + -moz-transition-duration: 200ms; + -moz-transition-property: opacity, visibility; + -moz-transition-timing-function: ease; +} +.featured-posts section.featured-post { + opacity: 0; + visibility: hidden; +} +.featured-posts #featured-post-1 { + opacity: 1; + visibility: visible; +} +.featured-post .feature-text:after, +.featured-post .feature-image.small:after { + content: ' '; + background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */ + background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ + background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */ + width: 100%; + height: 45px; + position: absolute; + top: 230px; +} +.featured-post .feature-image.small:after { + top: 253px; +} +#content .feature-slider { + top: 5px; + right: 8.9%; + overflow: visible; + position: absolute; +} +.feature-slider ul { + list-style-type: none; + margin: 0; +} +.feature-slider li { + float: left; + margin: 0 6px; +} +.feature-slider a { + background: #3c3c3c; + background: rgba(60,60,60,0.9); + -moz-border-radius: 12px; + border-radius: 12px; + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + display: block; + width: 14px; + height: 14px; +} +.feature-slider a.active { + background: #1982d1; + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + cursor: default; + opacity: 0.5; +} + +/* Recent Posts */ +section.recent-posts { + padding: 0 0 1.625em; +} +section.recent-posts .hentry { + border: none; + margin: 0; +} +section.recent-posts .other-recent-posts { + border-bottom: 1px solid #ddd; + list-style: none; + margin: 0; +} +section.recent-posts .other-recent-posts li { + padding: 0.3125em 0; + position: relative; +} +section.recent-posts .other-recent-posts .entry-title { + border-top: 1px solid #ddd; + font-size: 17px; +} +section.recent-posts .other-recent-posts a[rel="bookmark"] { + color: #373737; + float: left; + max-width: 84%; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:after { + content: '-'; + color: transparent; + font-size: 11px; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + border-bottom: 2px solid #999; + bottom: -2px; + color: #444; + display: block; + font-size: 10px; + font-weight: 500; + line-height: 2.76333em; + padding: 0.3125em 0 0.3125em 1em; + position: absolute; + right: 0; + text-align: right; + text-transform: uppercase; + z-index: 1; +} +section.recent-posts .other-recent-posts .comments-link > span { + border-color: #bbb; + color: #888; +} +section.recent-posts .other-recent-posts .comments-link a:hover { + color: #1982d1; + border-color: #1982d1; +} +section.recent-posts .other-recent-posts li:after { + clear: both; + content: '.'; + display: block; + height: 0; + visibility: hidden; +} + + +/* =Attachments +----------------------------------------------- */ + +.image-attachment div.attachment { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + overflow: hidden; + padding: 1.625em 1.625em 0; + text-align: center; +} +.image-attachment div.attachment img { + display: block; + height: auto; + margin: 0 auto 1.625em; + max-width: 100%; +} +.image-attachment div.attachment a img { + border-color: #f9f9f9; +} +.image-attachment div.attachment a:focus img, +.image-attachment div.attachment a:hover img, +.image-attachment div.attachment a:active img { + border-color: #ddd; + background: #fff; +} +.image-attachment .entry-caption p { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + margin: 0 0 2.6em; + text-transform: uppercase; +} + + +/* =Navigation +-------------------------------------------------------------- */ + +#content nav { + clear: both; + overflow: hidden; + padding: 0 0 1.625em; +} +#content nav a { + font-size: 12px; + font-weight: bold; + line-height: 2.2em; +} +#nav-above { + padding: 0 0 1.625em; +} +#nav-above { + display: none; +} +.paged #nav-above { + display: block; +} +.nav-previous { + float: left; + width: 50%; +} +.nav-next { + float: right; + text-align: right; + width: 50%; +} +#content nav .meta-nav { + font-weight: normal; +} + +/* Singular navigation */ +#nav-single { + float: right; + position: relative; + top: -0.3em; + text-align: right; + z-index: 1; +} +#nav-single .nav-previous, +#nav-single .nav-next { + width: auto; +} +#nav-single .nav-next { + padding-left: .5em; +} +#nav-single .nav-previous { + padding-right: .5em; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget-area { + font-size: 12px; +} +.widget { + word-wrap: break-word; + -webkit-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; + clear: both; + margin: 0 0 2.2em; +} +.widget-title { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.widget ul { + font-size: 15px; + margin: 0; +} +.widget ul ul { + margin-left: 1.5em; +} +.widget ul li { + color: #777; + font-size: 13px; +} +.widget a { + font-weight: bold; + text-decoration: none; +} +.widget a:hover, +.widget a:focus, +.widget a:active { + text-decoration: underline; +} + +/* Search Widget */ +.widget_search form { + margin: 0 0 1.625em; +} +.widget_search #s { + width: 77%; +} +.widget_search #searchsubmit { + background: #ddd; + border: 1px solid #ccc; + -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + color: #888; + font-size: 13px; + line-height: 25px; + position: relative; + top: -2px; +} +.widget_search #searchsubmit:active { + background: #1982d1; + border-color: #0861a5; + -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + color: #bfddf3; +} + +/* Ephemera Widget */ +section.ephemera ol, +.widget_twentyeleven_ephemera ol { + list-style: square; + margin: 5px 0 0; +} +.widget_twentyeleven_ephemera .widget-entry-title { + font-size: 15px; + font-weight: bold; + padding: 0; +} +.widget_twentyeleven_ephemera .comments-link a, +.widget_twentyeleven_ephemera .comments-link > span { + color: #666; + display: block; + font-size: 10px; + font-weight: 500; + line-height: 2.76333em; + text-transform: uppercase; +} +section.ephemera .entry-title .comments-link a:hover, +.widget_twentyeleven_ephemera .entry-title .comments-link a:hover { +} +section.ephemera .entry-title a span { + color: #29628d; +} + +/* Twitter */ +.widget_twitter li { + list-style-type: none; + margin-bottom: 14px; +} +.widget_twitter .timesince { + display: block; + font-size: 11px; + margin-right: -10px; + text-align: right; +} + +/* Widget Image */ +.widget_image img { + border: 0; + padding: 0; + height: auto; + max-width: 100%; +} + +/* Calendar Widget */ + +.widget_calendar #wp-calendar { + color: #555; + width: 95%; + text-align: center; +} +.widget_calendar #wp-calendar caption, +.widget_calendar #wp-calendar td, +.widget_calendar #wp-calendar th { + text-align: center; +} +.widget_calendar #wp-calendar caption { + font-size: 11px; + font-weight: 500; + padding: 5px 0 3px 0; + text-transform: uppercase; +} +.widget_calendar #wp-calendar th { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + font-weight: bold; +} +.widget_calendar #wp-calendar tfoot td { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + + +/* =Comments +----------------------------------------------- */ + +#comments-title { + color: #666; + font-size: 10px; + font-weight: 500; + line-height: 2.6em; + padding: 0 0 2.6em; + text-transform: uppercase; +} +.nopassword, +.nocomments { + color: #aaa; + font-size: 24px; + font-weight: 100; + margin: 26px 0; + text-align: center; +} +.commentlist { + list-style: none; + margin: 0 auto; + width: 68.9%; +} +.content .commentlist, +.page-template-sidebar-page-php .commentlist { + width: 100%; /* reset the width for the one-column and sidebar page layout */ +} +.commentlist > li.comment { + background: #f6f6f6; + border: 1px solid #ddd; + -moz-border-radius: 3px; + border-radius: 3px; + margin: 0 0 1.625em; + padding: 1.625em; + position: relative; +} +.commentlist .pingback { + margin: 0 0 1.625em; + padding: 0 1.625em; +} +.commentlist .children { + list-style: none; + margin: 0; +} +.commentlist .children li.comment { + background: #fff; + border-left: 1px solid #ddd; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; + margin: 1.625em 0 0; + padding: 1.625em; + position: relative; +} +.commentlist .children li.comment .fn { + display: block; +} +.comment-meta .fn { + font-style: normal; +} +.comment-meta { + color: #666; + font-size: 12px; + line-height: 2.2em; +} +.commentlist .children li.comment .comment-meta { + line-height: 1.625em; + margin-left: 50px; +} +.commentlist .children li.comment .comment-content { + margin: 1.625em 0 0; + word-wrap: break-word; + -webkit-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; +} +.comment-meta a { + font-weight: bold; +} +.comment-meta a:focus, +.comment-meta a:active, +.comment-meta a:hover { +} +.commentlist .avatar { + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0 1px 2px #ccc; + -moz-box-shadow: 0 1px 2px #ccc; + box-shadow: 0 1px 2px #ccc; + left: -102px; + padding: 0; + position: absolute; + top: 0; +} +.commentlist > li:before { + content: url(images/comment-arrow.png); + left: -21px; + position: absolute; +} +.commentlist > li.pingback:before { + content: ''; +} +.commentlist .children .avatar { + background: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + left: 2.2em; + padding: 0; + top: 2.2em; +} +a.comment-reply-link { + background: #eee; + -moz-border-radius: 3px; + border-radius: 3px; + color: #666; + display: inline-block; + font-size: 12px; + padding: 0 8px; + text-decoration: none; +} +a.comment-reply-link:hover, +a.comment-reply-link:focus, +a.comment-reply-link:active { + background: #888; + color: #fff; +} +a.comment-reply-link > span { + display: inline-block; + position: relative; + top: -1px; +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor { + background: #ddd; + border-color: #d3d3d3; +} +.commentlist > li.bypostauthor .comment-meta { + color: #575757; +} +.commentlist > li.bypostauthor .comment-meta a:focus, +.commentlist > li.bypostauthor .comment-meta a:active, +.commentlist > li.bypostauthor .comment-meta a:hover { +} +.commentlist > li.bypostauthor:before { + content: url(images/comment-arrow-bypostauthor.png); +} + +/* Post Author threaded comments */ +.commentlist .children > li.bypostauthor { + background: #ddd; + border-color: #d3d3d3; +} + +/* sidebar-page.php comments */ +/* Make sure we have room for our comment avatars */ +.page-template-sidebar-page-php .commentlist > li.comment, +.page-template-sidebar-page-php.commentlist .pingback { + margin-left: 102px; + width: auto; +} +/* And a full-width comment form */ +.page-template-sidebar-page-php #respond { + width: auto; +} + +/* Comment Form */ +#respond { + background: #ddd; + border: 1px solid #d3d3d3; + -moz-border-radius: 3px; + border-radius: 3px; + margin: 0 auto 1.625em; + padding: 1.625em; + position: relative; + width: 68.9%; +} +#respond input[type="text"], +#respond textarea { + background: #fff; + border: 4px solid #eee; + -moz-border-radius: 5px; + border-radius: 5px; + -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); + -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); + box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); + position: relative; + padding: 10px; + text-indent: 80px; +} +#respond .comment-form-author, +#respond .comment-form-email, +#respond .comment-form-url, +#respond .comment-form-comment { + position: relative; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + background: #eee; + -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); + -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); + box-shadow: 1px 2px 2px rgba(204,204,204,0.8); + color: #555; + display: inline-block; + font-size: 13px; + left: 4px; + min-width: 60px; + padding: 4px 10px; + position: relative; + top: 40px; + z-index: 1; +} +#respond input[type="text"]:focus, +#respond textarea:focus { + text-indent: 0; + z-index: 1; +} +#respond textarea { + resize: vertical; + width: 95%; +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + color: #bd3500; + font-size: 22px; + font-weight: bold; + left: 75%; + position: absolute; + z-index: 1; +} +#respond .comment-notes, +#respond .logged-in-as { + font-size: 13px; +} +#respond p { + margin: 10px 0; +} +#respond .form-submit { + float: right; + margin: -20px 0 10px; +} +#respond input#submit { + background: #222; + border: none; + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + color: #eee; + cursor: pointer; + font-size: 15px; + margin: 20px 0; + padding: 5px 42px 5px 22px; + position: relative; + left: 30px; + text-shadow: 0 -1px 0 rgba(0,0,0,0.3); +} +#respond input#submit:active { + background: #1982d1; + color: #bfddf3; +} +#respond #cancel-comment-reply-link { + color: #666; + margin-left: 10px; + text-decoration: none; +} +#respond .logged-in-as a:hover, +#respond #cancel-comment-reply-link:hover { + text-decoration: underline; +} +.commentlist #respond { + margin: 1.625em 0 0; + width: auto; +} +#reply-title { + color: #373737; + font-size: 24px; + font-weight: bold; + line-height: 30px; +} +#cancel-comment-reply-link { + color: #888; + display: block; + font-size: 10px; + font-weight: normal; + line-height: 2.2em; + letter-spacing: 0.05em; + position: absolute; + right: 1.625em; + text-decoration: none; + text-transform: uppercase; + top: 1.1em; +} +#cancel-comment-reply-link:focus, +#cancel-comment-reply-link:active, +#cancel-comment-reply-link:hover { + color: #ff4b33; +} +#respond label { + line-height: 2.2em; +} +#respond input[type=text] { + display: block; + height: 24px; + width: 75%; +} +#respond p { + font-size: 12px; +} +p.comment-form-comment { + margin: 0; +} +.form-allowed-tags { + display: none; +} + + +/* =Footer +----------------------------------------------- */ + +#colophon { + clear: both; +} +#supplementary { + border-top: 1px solid #ddd; + padding: 1.625em 7.6%; + overflow: hidden; +} + +/* Two Footer Widget Areas */ +#supplementary.two .widget-area { + float: left; + margin-right: 3.7%; + width: 48.1%; +} +#supplementary.two .widget-area + .widget-area { + margin-right: 0; +} + +/* Three Footer Widget Areas */ +#supplementary.three .widget-area { + float: left; + margin-right: 3.7%; + width: 30.85%; +} +#supplementary.three .widget-area + .widget-area + .widget-area { + margin-right: 0; +} + +/* Site Generator Line */ +#site-generator { + background: #f9f9f9; + border-top: 1px solid #ddd; + color: #666; + font-size: 12px; + line-height: 2.2em; + padding: 2.2em 0.5em; + text-align: center; +} +#site-generator a { + color: #555; + font-weight: bold; +} + + +/* =Responsive Structure +----------------------------------------------- */ + +@media (max-width: 800px) { + /* Simplify the basic layout */ + #main #content { + margin: 0 7.6%; + width: auto; + } + #nav-below { + border-bottom: 1px solid #ddd; + margin-bottom: 1.625em; + } + #main #secondary { + float: none; + margin: 0 7.6%; + width: auto; + } + /* Simplify the showcase template */ + .page-template-showcase-php .featured-posts { + min-height: 280px; + } + .featured-posts section.featured-post { + height: auto; + } + .page-template-showcase-php section.recent-posts { + float: none; + margin: 0; + width: 100%; + } + .page-template-showcase-php #main .widget-area { + float: none; + margin: 0; + width: auto; + } + .page-template-showcase-php .other-recent-posts { + border-bottom: 1px solid #ddd; + } + /* Simplify the showcase template when small feature */ + section.featured-post .attachment-small-feature, + .one-column section.featured-post .attachment-small-feature { + border: none; + display: block; + float: left; + height: auto; + margin: 0.625em auto 1.025em; + max-width: 30%; + position: static; + } + article.feature-image.small { + float: right; + margin: 0 0 1.625em; + width: 64%; + } + .one-column article.feature-image.small .entry-summary { + height: auto; + } + article.feature-image.small .entry-summary p a { + left: 0; + padding-left: 20px; + padding-right: 20px; + width: auto; + } + /* Remove the margin on singular articles */ + .singular .entry-header, + .singular .entry-content, + .singular footer.entry-meta, + .singular #comments-title { + width: 100%; + } + /* Simplify the pullquotes and pull styles */ + .singular blockquote.pull { + margin: 0 0 1.625em; + } + .singular .pull.alignleft { + margin: 0 1.625em 0 0; + } + .singular .pull.alignright { + margin: 0 0 0 1.625em; + } + .singular .entry-meta .edit-link a { + left: 0; + position: absolute; + top: 40px; + } + .singular #author-info { + margin: 2.2em -8.8% 0; + padding: 20px 8.8%; + } + /* Make sure we have room for our comment avatars */ + .commentlist { + width: 100%; + } + .commentlist > li.comment, + .commentlist .pingback { + margin-left: 102px; + width: auto; + } + /* And a full-width comment form */ + #respond { + width: auto; + } + /* No need to float footer widgets at this size */ + #colophon #supplementary .widget-area { + float: none; + margin-right: 0; + width: auto; + } + /* No need to float 404 widgets at this size */ + .error404 #main .widget { + float: none; + margin-right: 0; + width: auto; + } + +} +@media (max-width: 650px) { + /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ + body, input, textarea { + font-size: 13px; + } + #site-title a { + font-size: 24px; + } + #site-description { + font-size: 12px; + } + #access ul { + font-size: 12px; + } + article.intro .entry-content { + font-size: 12px; + } + .entry-title { + font-size: 21px; + } + .featured-post .entry-title { + font-size: 14px; + } + .singular .entry-title { + font-size: 28px; + } + .entry-meta { + font-size: 12px; + } + blockquote { + margin: 0; + } + blockquote.pull { + font-size: 17px; + } + /* Reposition the site title and description slightly */ + #site-title { + padding: 5.30625em 0 0; + } + #site-title, + #site-description { + margin-right: 0; + } + /* Make sure the logo and search form don't collide */ + #branding #searchform { + top: 1.625em !important; + } + /* Floated content doesn't work well at this size */ + .alignleft, + .alignright { + display: block; + float: none; + margin-left: 0; + margin-right: 0; + } + /* Make sure the post-post navigation doesn't collide with anything */ + #nav-single { + display: block; + position: static; + } + .singular .hentry { + padding: 1.625em 0 0; + } + .singular.page .hentry { + padding: 1.625em 0 0; + } + /* Talking avatars take up too much room at this size */ + .commentlist > li.comment, + .commentlist > li.pingback { + margin-left: 0 !important; + } + .commentlist .avatar { + background: transparent; + display: block; + padding: 0; + position: static; + } + .commentlist .children .avatar { + background: none; + left: 2.2em; + padding: 0; + position: absolute; + top: 2.2em; + } + /* Use the available space in the smaller comment form */ + #respond input[type="text"] { + width: 95%; + } + #respond .comment-form-author .required, + #respond .comment-form-email .required { + left: 95%; + } + #content .gallery-columns-3 .gallery-item { + width: 31%; + padding-right: 2%; + } + #content .gallery-columns-3 .gallery-item img { + width: 100%; + height: auto; + } + +} +@media (max-width: 450px) { + #content .gallery-columns-2 .gallery-item { + width: 45%; + padding-right: 4%; + } + #content .gallery-columns-2 .gallery-item img { + width: 100%; + height: auto; + } + +} +@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + body { + padding: 0; + } + #page { + margin-top: 0; + } + #branding { + border-top: none; + } + +} + + +/* =Print +----------------------------------------------- */ + +@media print { + body { + background: none !important; + font-size: 10pt; + } + footer.entry-meta a[rel=bookmark]:link:after, + footer.entry-meta a[rel=bookmark]:visited:after { + content: " [" attr(href) "] "; /* Show URLs */ + } + #page { + clear: both !important; + display: block !important; + float: none !important; + max-width: 100%; + position: relative !important; + } + #branding { + border-top: none !important; + padding: 0; + } + #branding hgroup { + margin: 0; + } + #site-title a { + font-size: 21pt; + } + #site-description { + font-size: 10pt; + } + #branding #searchform { + display: none; + } + #branding img { + display: none; + } + #access { + display: none; + } + #main { + border-top: none; + box-shadow: none; + } + #primary { + float: left; + margin: 0; + width: 100%; + } + #content { + margin: 0; + width: auto; + } + .singular #content { + margin: 0; + width: 100%; + } + .singular .entry-header .entry-meta { + position: static; + } + .entry-meta .edit-link a { + display: none; + } + #content nav { + display: none; + } + .singular .entry-header, + .singular .entry-content, + .singular footer.entry-meta, + .singular #comments-title { + margin: 0; + width: 100%; + } + .singular .hentry { + padding: 0; + } + .entry-title, + .singular .entry-title { + font-size: 21pt; + } + .entry-meta { + font-size: 10pt; + } + .entry-header .comments-link { + display: none; + } + .page-link { + display: none; + } + .singular #author-info { + background: none; + border-bottom: none; + border-top: none; + margin: 2.2em 0 0; + padding: 0; + } + #respond { + display: none; + } + .widget-area { + display: none; + } + #colophon { + display: none; + } + + /* Comments */ + .commentlist > li.comment { + background: none; + border: 1px solid #ddd; + -moz-border-radius: 3px 3px 3px 3px; + border-radius: 3px 3px 3px 3px; + margin: 0 auto 1.625em; + padding: 1.625em; + position: relative; + width: auto; + } + .commentlist .avatar { + height: 39px; + left: 2.2em; + top: 2.2em; + width: 39px; + } + .commentlist li.comment .comment-meta { + line-height: 1.625em; + margin-left: 50px; + } + .commentlist li.comment .fn { + display: block; + } + .commentlist li.comment .comment-content { + margin: 1.625em 0 0; + } + .commentlist .comment-edit-link { + display: none; + } + .commentlist > li::before, + .commentlist > li.bypostauthor::before { + content: ''; + } + .commentlist .reply { + display: none; + } + + /* Post author highlighting */ + .commentlist > li.bypostauthor { + color: #444; + } + .commentlist > li.bypostauthor .comment-meta { + color: #666; + } + .commentlist > li.bypostauthor:before { + content: none; + } + + /* Post Author threaded comments */ + .commentlist .children > li.bypostauthor { + background: #fff; + border-color: #ddd; + } + .commentlist .children > li.bypostauthor > article, + .commentlist .children > li.bypostauthor > article .comment-meta { + color: #666; + } + +} + + +/* =IE7 +----------------------------------------------- */ + +#ie7 article.intro { + margin-left: -7.6%; + margin-right: -7.6%; + padding-left: -7.6%; + padding-right: -7.6%; + max-width: 1000px; +} +#ie7 section.featured-post { + margin-left: -7.6%; + margin-right: -7.6%; + max-width: 850px; +} +#ie7 section.recent-posts { + margin-right: 7.6%; +} + +/* =IE8 +----------------------------------------------- */ + +#ie8 section.feature-image.large img { + width: 100%; +} \ No newline at end of file diff --git a/wp-themes/twentyeleven/tag.php b/wp-themes/twentyeleven/tag.php new file mode 100644 index 0000000..8180a8c --- /dev/null +++ b/wp-themes/twentyeleven/tag.php @@ -0,0 +1,65 @@ + + +
    +
    + + + +
    ' ); + ?> + + + + + + + + + + + + + + + +
    +
    +

    +
    + +
    +

    + +
    +
    + + + +
    + + + +