blog theme: import original css, add base page html layout.
This commit is contained in:
parent
5cc8e0aa03
commit
ae1cbfba35
|
@ -18,12 +18,24 @@
|
|||
)));
|
||||
}
|
||||
?>
|
||||
<aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
|
||||
<section><?php if(x($page,'content')) echo $page['content']; ?>
|
||||
<div id="page-footer"></div>
|
||||
</section>
|
||||
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
|
||||
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
||||
|
||||
<div id="main">
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
<?php if(x($page,'content')) echo $page['content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="secondary" class="widget-area" role="complementary">
|
||||
<?php if(x($page,'aside')) echo $page['aside']; ?>
|
||||
<?php if(x($page,'right_aside')) echo $page['right_aside']; ?>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="colophon" role="contentinfo">
|
||||
<div id="site-generator">
|
||||
<a rel="generator" title="Personal Communication Platform" href="http://www.friendica.com/">Proudly powered by Friendica</a>
|
||||
<?php if(x($page,'footer')) echo $page['footer']; ?>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
<aside class="vcard">
|
||||
|
||||
<h2 class="fn label">$profile.name</h2>
|
||||
|
||||
|
||||
|
||||
{{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
|
||||
<div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name"></div>
|
||||
|
||||
|
||||
|
||||
{{ if $location }}
|
||||
<dl class="location"><dt class="location-label">$location</dt>
|
||||
<dd class="adr">
|
||||
{{ if $profile.address }}<div class="street-address">$profile.address</div>{{ endif }}
|
||||
<span class="city-state-zip">
|
||||
<span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
|
||||
<span class="region">$profile.region</span>
|
||||
<span class="postal-code">$profile.postal-code</span>
|
||||
</span>
|
||||
{{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
|
||||
</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
|
||||
|
||||
{{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
|
||||
|
||||
{{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">♥</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }}
|
||||
|
||||
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
|
||||
|
||||
{{ inc diaspora_vcard.tpl }}{{ endinc }}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
{{ if $connect }}
|
||||
<li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
|
||||
{{ endif }}
|
||||
{{ if $wallmessage }}
|
||||
<li><a id="wallmessage-link" href="wallmessage/$profile.nickname">$wallmessage</a></li>
|
||||
{{ endif }}
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
$contact_block
|
||||
|
||||
|
|
@ -1,172 +1,5 @@
|
|||
/* 'inspired' by http://wp-themes.com/twentyeleven/ */
|
||||
@import url('twentyeleven_style.css');
|
||||
|
||||
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 none;
|
||||
font-family: inherit;
|
||||
font-size: 100%;
|
||||
font-style: inherit;
|
||||
font-weight: inherit;
|
||||
margin: 0;
|
||||
outline: 0 none;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
:focus {
|
||||
outline: 0 none;
|
||||
}
|
||||
|
||||
ol, ul {
|
||||
list-style: none outside none;
|
||||
}
|
||||
table {
|
||||
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 none;
|
||||
}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body, input, textarea {
|
||||
color: #373737;
|
||||
font: 300 15px/1.625 "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
}
|
||||
body {
|
||||
padding: 0 2em;
|
||||
line-height: 1;
|
||||
background: none repeat scroll 0 0 #E2E2E2;
|
||||
}
|
||||
#page {
|
||||
margin: 2em auto;
|
||||
max-width: 1000px;
|
||||
background: none repeat scroll 0 0 #FFFFFF;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
clear: both;
|
||||
}
|
||||
hr {
|
||||
background-color: #CCCCCC;
|
||||
border: 0 none;
|
||||
height: 1px;
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
ul, ol {
|
||||
margin: 0 0 1.625em 2.5em;
|
||||
}
|
||||
ul {
|
||||
list-style: square outside none;
|
||||
}
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
ol ol {
|
||||
list-style: upper-alpha outside none;
|
||||
}
|
||||
ol ol ol {
|
||||
list-style: lower-roman outside none;
|
||||
}
|
||||
ol ol ol ol {
|
||||
list-style: lower-alpha outside none;
|
||||
}
|
||||
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: #666666;
|
||||
font: 300 12px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
pre {
|
||||
background: none repeat scroll 0 0 #F4F4F4;
|
||||
font: 13px/1.5 "Courier 10 Pitch",Courier,monospace;
|
||||
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 #666666;
|
||||
cursor: help;
|
||||
}
|
||||
address {
|
||||
display: block;
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
ins {
|
||||
background: none repeat scroll 0 0 #FFF9C0;
|
||||
text-decoration: none;
|
||||
}
|
||||
sup, sub {
|
||||
font-size: 10px;
|
||||
height: 0;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
sub {
|
||||
top: 0.5ex;
|
||||
}
|
||||
input[type="text"], input[type="password"], textarea {
|
||||
background: none repeat scroll 0 0 #FAFAFA;
|
||||
border: 1px solid #DDDDDD;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
|
||||
color: #888888;
|
||||
}
|
||||
input[type="text"]:focus, textarea:focus {
|
||||
color: #373737;
|
||||
}
|
||||
textarea {
|
||||
padding-left: 3px;
|
||||
width: 98%;
|
||||
}
|
||||
input[type="text"] {
|
||||
padding: 3px;
|
||||
}
|
||||
input#search {
|
||||
background: url("images/search.png") no-repeat scroll 5px 6px transparent;
|
||||
border-radius: 2px 2px 2px 2px;
|
||||
|
@ -178,123 +11,7 @@ input#search {
|
|||
input#searchsubmit {
|
||||
display: none;
|
||||
}
|
||||
a {
|
||||
color: #1982D1;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:focus, a:active, a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.assistive-text {
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
position: absolute !important;
|
||||
}
|
||||
|
||||
/* header */
|
||||
#branding hgroup {
|
||||
margin: 0 7.6%;
|
||||
}
|
||||
#branding {
|
||||
border-top: 2px solid #BBBBBB;
|
||||
padding-bottom: 10px;
|
||||
position: relative;
|
||||
z-index: 9999;
|
||||
}
|
||||
#site-title {
|
||||
margin-right: 15%;
|
||||
padding: 3.65625em 0 0;
|
||||
}
|
||||
#site-title a {
|
||||
color: #111111;
|
||||
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 15% 3.65625em 0;
|
||||
}
|
||||
#branding img {
|
||||
height: auto;
|
||||
margin-bottom: -7px;
|
||||
width: 100%;
|
||||
}
|
||||
#access {
|
||||
background: repeat scroll 0 0 #0A0A0A;
|
||||
background: -moz-linear-gradient(#252525, #0A0A0A);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
|
||||
clear: both;
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 0 auto 6px;
|
||||
width: 100%;
|
||||
}
|
||||
#access div {
|
||||
margin: 0 7.6%;
|
||||
}
|
||||
#access ul {
|
||||
font-size: 13px;
|
||||
list-style: none outside none;
|
||||
margin: 0 0 0 -0.8125em;
|
||||
padding-left: 0;
|
||||
}
|
||||
#access li {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
#access a {
|
||||
color: #EEEEEE;
|
||||
display: block;
|
||||
line-height: 3.333em;
|
||||
padding: 0 1.2125em;
|
||||
text-decoration: none;
|
||||
}
|
||||
#access ul ul {
|
||||
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
||||
display: none;
|
||||
float: left;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 3.333em;
|
||||
width: 188px;
|
||||
z-index: 99999;
|
||||
}
|
||||
#access ul ul ul {
|
||||
left: 100%;
|
||||
top: 0;
|
||||
}
|
||||
#access ul ul a {
|
||||
background: none repeat scroll 0 0 #F9F9F9;
|
||||
border-bottom: 1px dotted #DDDDDD;
|
||||
color: #444444;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
height: auto;
|
||||
line-height: 1.4em;
|
||||
padding: 10px;
|
||||
width: 168px;
|
||||
}
|
||||
#access li:hover > a, #access ul ul *:hover > a, #access a:focus {
|
||||
background: none repeat scroll 0 0 #EFEFEF;
|
||||
}
|
||||
#access li:hover > a, #access a:focus {
|
||||
background: none repeat scroll 0 0 #EFEFEF;
|
||||
background: -moz-linear-gradient(#F9F9F9, #E5E5E5);
|
||||
color: #373737;
|
||||
}
|
||||
#access ul li:hover > ul {
|
||||
display: block;
|
||||
}
|
||||
.selected > a, #access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a {
|
||||
font-weight: bold;
|
||||
}
|
||||
#branding #searchform {
|
||||
position: absolute;
|
||||
right: 7.6%;
|
||||
|
@ -318,29 +35,7 @@ a:focus, a:active, a:hover {
|
|||
#branding #searchsubmit {
|
||||
display: none;
|
||||
}
|
||||
#branding .only-search #searchform {
|
||||
top: 5px;
|
||||
z-index: 1;
|
||||
}
|
||||
#branding .only-search #search {
|
||||
background-color: #666666;
|
||||
border-color: #000000;
|
||||
color: #222222;
|
||||
}
|
||||
#branding .only-search #s, #branding .only-search #s:focus {
|
||||
width: 85%;
|
||||
}
|
||||
#branding .only-search #s:focus {
|
||||
background-color: #BBBBBB;
|
||||
}
|
||||
#branding .with-image #searchform {
|
||||
bottom: -27px;
|
||||
max-width: 195px;
|
||||
top: auto;
|
||||
}
|
||||
#branding .only-search + #access div {
|
||||
padding-right: 205px;
|
||||
}
|
||||
|
||||
#branding #site-location {
|
||||
font-size: 0.7em;
|
||||
color: #BBBBBB;
|
||||
|
@ -430,3 +125,32 @@ a:focus, a:active, a:hover {
|
|||
}
|
||||
|
||||
.dropmenu { background: url(images/dropdown.png) center right no-repeat; margin-right: 1em; }
|
||||
|
||||
|
||||
#main { clear: both; padding: 1.625em 0 0; }
|
||||
|
||||
#main #primary { float: left; margin: 0 -26.4% 0 0; width: 100%; }
|
||||
#main #secondary { float: right; margin-right: 7.6%; width: 18.8%; }
|
||||
#main #content { margin: 0 34% 0 7.6%; width: 58.4%; }
|
||||
|
||||
|
||||
#colophon { clear: both; }
|
||||
#site-generator {
|
||||
background: none repeat scroll 0 0 #F9F9F9;
|
||||
border-top: 1px solid #DDDDDD;
|
||||
color: #666666;
|
||||
font-size: 12px;
|
||||
line-height: 2.2em;
|
||||
padding: 2.2em 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
#site-generator a {
|
||||
color: #555555;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
.widget-area {font-size: 12px;}
|
||||
|
||||
/* aside */
|
||||
h2.fn { font-weight: bold; font-size: 1.2em;}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue