Copy over stylesheets from the OpenFest site

This commit is contained in:
Petko Bordjukov 2014-09-02 16:31:20 +03:00
parent b88243bdaa
commit 823dd38775
9 changed files with 1468 additions and 2 deletions

View File

@ -10,7 +10,14 @@
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope. * file per style scope.
* *
*= require_tree . *= require library/styles/reset
*= require library/styles/typography
*= require library/layouts/2c-r-fixed
*= require library/styles/images
*= require library/styles/default
*= require library/styles/plugins
*= require library/styles/openfest
*= require_directory .
*= require_self *= require_self
*/ */

View File

@ -0,0 +1,68 @@
/*
LAYOUT: One-Column (Right) Fixed
DESCRIPTION: Two-column 950px fixed layout with one sidebar right of content
*/
body {
min-width:1000px;
}
#header {
position:relative;
}
#branding {
width:980px;
margin:0 auto;
}
#access {
position:relative;
overflow:hidden;
}
.menu {
width:980px;
margin:0 auto;
}
#main {
width:1000px;
margin:0 auto;
overflow:hidden;
position:relative;
}
#container {
width:620px;
float:left;
}
#content {
margin:0 0 0 10px;
width:640px;
overflow:hidden;
}
.main-aside {
width:300px;
float:right;
position:relative;
right:10px;
}
#primary, #secondary, #ternary {
clear:right;
}
#footer {
clear:both;
}
#subsidiary {
width:940px;
margin:0 auto;
overflow:hidden;
}
#subsidiary .aside {
width:300px;
float:left;
margin:0 20px 0 0;
}
#subsidiary #third {
margin:0;
}
#siteinfo {
clear:both;
width:940px;
margin:0 auto;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,64 @@
/* --------------------------------------------------------------
Default styles for Images
-------------------------------------------------------------- */
.entry-content img {
margin: 0 0 18px 0;
}
.alignleft,
img.alignleft {
float: left;
margin-right:20px;
}
.alignright,
img.alignright {
display: block;
float: right;
margin-left:20px;
}
.aligncenter,
img.aligncenter {
margin-left:auto;
margin-right:auto;
display: block;
clear: both;
}
.wp-caption {
text-align: center;
margin-bottom:18px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
margin: 0;
padding:5px;
}
.gallery img {
margin:0;
}
.wp-smiley { /* Prevent the smileys from breaking line-height */
max-height:12px;
margin:0 !important;
}
/*
Adapt the following for use in your Child Themes when using
different font-sizes and line-heights
.entry-content img,
.wp-caption {
margin-bottom:--px;
}
.wp-smiley {
max-height:--px;
}
All other styles can be overridden--or ignored!--in Child Theme stylesheets
*/

View File

@ -0,0 +1,34 @@
div#index-bottom {
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
#index-bottom ul {
padding: 0 !important;
}
#index-top, #index-top-english {
border: 0 !important;
}
.program table td, .program table th {
padding-left: 13px;
padding-top: -2px;
padding-bottom: -2px;
border-bottom: 1px solid #FFFFFF;
}
.opentech {
background-color: #D1B6E7;
text: #000000;
}
.openbiz {
background-color: #a6e3d0;
text: #000000;
}
.bsdcon {
background-color: #FF6666;
text: #000000;
}
.social {
background-color: #A2D2FF;
text: #000000;
}

View File

@ -0,0 +1,27 @@
/* --------------------------------------------------------------
Default plugin styles for Thematic
-------------------------------------------------------------- */
/* =Ajax Edit Comments
-------------------------------------------------------------- */
.edit-comment {
margin-bottom:18px;
}
/* =PageNavi
-------------------------------------------------------------- */
/* I'm not overriding PageNavi anymore, it's too much of a mess.
/* =WordPress Stats
-------------------------------------------------------------- */
img#wpstats { /* hide WordPress Stats smiley */
width:0px;
height:0px;
overflow:hidden
}

View File

@ -0,0 +1,64 @@
/* --------------------------------------------------------------
Reset default browser CSS.
Based on work by Eric Meyer:
http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
/* v1.0 | 20080212 */
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
background:#fff;
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
a img { border: none; }

View File

@ -0,0 +1,141 @@
/* --------------------------------------------------------------
Set default typography based on Blueprint
http://code.google.com/p/blueprintcss/
-------------------------------------------------------------- */
body, input, textarea {
color:#000;
font: 12px Arial,sans-serif;
line-height:18px;
}
/* Headings
-------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6 {
font-weight:normal;
clear:both;
}
/* Text elements
-------------------------------------------------------------- */
p {
margin-bottom:18px;
}
ul {
margin: 0 0 18px 2.5em;
}
ol {
margin: 0 0 18px 2.5em;
}
ul {
list-style:disc;
}
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.5em;
}
dt {
font-weight:bold;
}
dd {
margin-bottom:18px;
}
strong {
font-weight: bold;
}
cite, em, i {
font-style: italic;
}
blockquote {
margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
font-style:normal;
}
pre {
font:11px Monaco, monospace;
line-height:18px;
margin-bottom:18px;
}
code {
font:11px Monaco, monospace;
}
abbr, acronym {
border-bottom:1px dotted #333;
cursor: help;
}
ins {
text-decoration:none;
}
sup,
sub {
height: 0;
line-height: 1;
vertical-align: baseline;
position: relative;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
/* Pullquotes
-------------------------------------------------------------- */
blockquote.left {
float: left;
margin-left:0;
margin-right:20px;
text-align: right;
width: 33%;
}
blockquote.right {
float: right;
margin-left:20px;
margin-right:0;
text-align: left;
width: 33%;
}
/*
Adapt the following for use in your Child Themes when using
different font-sizes and line-heights
body, input, textarea {
font: --px Arial,sans-serif;
line-height:--px;
}
p, ul, ol, dd, pre {
margin-bottom:--px;
}
pre, code {
font:--px Monaco, monospace;
line-height:--px;
}
All other styles can be overridden--or ignored!--in Child Theme stylesheets
*/

View File

@ -7,7 +7,6 @@ html
= Conference.current.title = Conference.current.title
= yield :title if content_for? :title = yield :title if content_for? :title
= stylesheet_link_tag 'application' = stylesheet_link_tag 'application'
= stylesheet_link_tag 'http://openfest.org/wp-content/themes/thematic-openfest/style.css'
= csrf_meta_tags = csrf_meta_tags
body body
#wrapper.hfeed #wrapper.hfeed