Skip to content

Commit

Permalink
added simple block on sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast committed Jan 26, 2009
1 parent 2bee3b9 commit c340874
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
12 changes: 9 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ <h2 class="title">Lists</h2>

</div>
<div id="sidebar">
<div class="block">
<h3>Simple Block</h3>
<div class="content">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
</div>
<div class="block">
<h3>Switch Theme</h3>
<ul class="navigation">
Expand All @@ -311,9 +317,9 @@ <h3>Sidebar</h3>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="block">
<div class="notice">
<h4>Notice Title</h4>
<div class="block notice">
<h4>Notice Title</h4>
<div class="content">
<p>Morbi posuere urna vitae nunc. Curabitur ultrices, lorem ac aliquam blandit, lectus eros hendrerit eros, at eleifend libero ipsum hendrerit urna. Suspendisse viverra. Morbi ut magna. Praesent id ipsum. Sed feugiat ipsum ut felis. Fusce vitae nibh sed risus commodo pulvinar. Duis ut dolor. Cras ac erat pulvinar tortor porta sodales. Aenean tempor venenatis dolor.</p>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion stylesheets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body {
}

#container {
min-width: 800px;
min-width: 960px;
}

#header, #wrapper, #footer {
Expand Down Expand Up @@ -62,6 +62,10 @@ body {
padding-bottom: 10px;
}

#sidebar .block .content {
padding: 0 15px;
}

#sidebar ul.navigation li a:link, #sidebar ul.navigation li a:visited {
display: block;
padding: 10px 15px;
Expand Down
10 changes: 9 additions & 1 deletion stylesheets/themes/bec/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ input.checkbox {

#sidebar .notice {
background-color: #ffc;
padding:10px;
padding: 0 10px;
border-bottom:1px solid #ddd;
border-right:1px solid #ddd;
border-top:1px solid #fff;
Expand All @@ -85,9 +85,17 @@ input.checkbox {
}
#sidebar .notice p {
font-size:12px;
}

#sidebar .block {
padding-bottom: 0;
}

#sidebar .block .content {
padding: 0 10px;
}


#sidebar h3 {
background: #c7d8d8;
border-bottom:1px solid #999;
Expand Down

0 comments on commit c340874

Please sign in to comment.