Moved theme files
This commit is contained in:
parent
a6d48e6155
commit
bdd6c251fc
20 changed files with 14 additions and 6 deletions
10
source/themes/opdavies/oliverdavies/Gemfile
Normal file
10
source/themes/opdavies/oliverdavies/Gemfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
group :development do
|
||||
|
||||
gem "sass"
|
||||
gem "sass-globbing"
|
||||
gem "bootstrap-sass"
|
||||
gem "compass"
|
||||
|
||||
end
|
41
source/themes/opdavies/oliverdavies/Gemfile.lock
Normal file
41
source/themes/opdavies/oliverdavies/Gemfile.lock
Normal file
|
@ -0,0 +1,41 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
autoprefixer-rails (5.1.8)
|
||||
execjs
|
||||
json
|
||||
bootstrap-sass (3.3.4.1)
|
||||
autoprefixer-rails (>= 5.0.0.1)
|
||||
sass (>= 3.2.19)
|
||||
chunky_png (1.3.4)
|
||||
compass (1.0.3)
|
||||
chunky_png (~> 1.2)
|
||||
compass-core (~> 1.0.2)
|
||||
compass-import-once (~> 1.0.5)
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9)
|
||||
sass (>= 3.3.13, < 3.5)
|
||||
compass-core (1.0.3)
|
||||
multi_json (~> 1.0)
|
||||
sass (>= 3.3.0, < 3.5)
|
||||
compass-import-once (1.0.5)
|
||||
sass (>= 3.2, < 3.5)
|
||||
execjs (2.4.0)
|
||||
ffi (1.9.8)
|
||||
json (1.8.2)
|
||||
multi_json (1.11.0)
|
||||
rb-fsevent (0.9.4)
|
||||
rb-inotify (0.9.5)
|
||||
ffi (>= 0.5.0)
|
||||
sass (3.4.13)
|
||||
sass-globbing (1.1.1)
|
||||
sass (>= 3.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
bootstrap-sass
|
||||
compass
|
||||
sass
|
||||
sass-globbing
|
|
@ -17,8 +17,7 @@
|
|||
<meta lang="en-GB" charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="author" href="{{ site.url }}/humans.txt" />
|
||||
<link rel="stylesheet" href="{{ site.url }}/assets/css/styles.css">
|
||||
<link rel="stylesheet" href="{{ site.url }}/{{ theme_path('css/styles.css') }}">
|
||||
<link rel="stylesheet" href="{{ site.url }}/components/highlightjs/styles/{{ site.hightlightjs_style }}.css">
|
||||
|
||||
{% for size in site.apple_touch_icon_sizes %}
|
||||
|
|
34
source/themes/opdavies/oliverdavies/config.rb
Normal file
34
source/themes/opdavies/oliverdavies/config.rb
Normal file
|
@ -0,0 +1,34 @@
|
|||
##
|
||||
## This file is only needed for Compass/Sass integration. If you are not using
|
||||
## Compass, you may safely ignore or delete this file.
|
||||
##
|
||||
## If you'd like to learn more about Sass and Compass, see the sass/README.txt
|
||||
## file for more information.
|
||||
##
|
||||
|
||||
# Location of the theme's resources.
|
||||
sass_dir = "sass"
|
||||
css_dir = "css"
|
||||
images_dir = "images"
|
||||
generated_images_dir = images_dir + "/generated"
|
||||
javascripts_dir = "js"
|
||||
|
||||
# Require any additional compass plugins installed on your system.
|
||||
require 'sass-globbing'
|
||||
require 'bootstrap-sass'
|
||||
|
||||
##
|
||||
## You probably don't need to edit anything below this.
|
||||
##
|
||||
|
||||
# You can select your preferred output style here (:expanded, :nested, :compact
|
||||
# or :compressed).
|
||||
output_style = :compressed
|
||||
|
||||
# To enable relative paths to assets via compass helper functions. Since Drupal
|
||||
# themes can be installed in multiple locations, we don't need to worry about
|
||||
# the absolute path to the theme from the server omega.
|
||||
relative_assets = true
|
||||
|
||||
# Conditionally enable line comments when in development mode.
|
||||
line_comments = false
|
7
source/themes/opdavies/oliverdavies/sass/base/_base.scss
Normal file
7
source/themes/opdavies/oliverdavies/sass/base/_base.scss
Normal file
|
@ -0,0 +1,7 @@
|
|||
body {
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
main img {
|
||||
@extend .img-responsive;
|
||||
}
|
11
source/themes/opdavies/oliverdavies/sass/base/_lists.scss
Normal file
11
source/themes/opdavies/oliverdavies/sass/base/_lists.scss
Normal file
|
@ -0,0 +1,11 @@
|
|||
dt {
|
||||
margin-top: .5em;
|
||||
|
||||
&:after {
|
||||
content: ':';
|
||||
}
|
||||
}
|
||||
|
||||
dd {
|
||||
padding-left: 2em;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
table {
|
||||
width: 100%;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
.about-author {
|
||||
@include clearfix;
|
||||
|
||||
img {
|
||||
float: left;
|
||||
margin: 0 1em 1em 0;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
.copyright {
|
||||
border-top: 1px solid #CCC;
|
||||
margin-top: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
.latest-posts {
|
||||
li.active a {
|
||||
color: $dark-gray;
|
||||
font-weight: $semibold;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
@each $page in services, testimonials, talks, blog, contact {
|
||||
.page--#{$page} .nav__#{$page} {
|
||||
@extend .active;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
.block--drupalcon_la {
|
||||
img {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
.meetups {
|
||||
@include clearfix;
|
||||
|
||||
ul {
|
||||
@include inline-block-list;
|
||||
}
|
||||
|
||||
li {
|
||||
padding: 5px 0;
|
||||
margin: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
img {
|
||||
max-height: 45px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
.page--blog__list {
|
||||
ul.posts {
|
||||
list-style: none;
|
||||
margin-bottom: 2em;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.post {
|
||||
@include clearfix;
|
||||
border-bottom: 1px solid #CCC;
|
||||
margin-bottom: 1em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
.page--testimonials .testimonial {
|
||||
@include clearfix;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.testimonial__image {
|
||||
float: right;
|
||||
margin: 0 0 10px 10px;
|
||||
max-height: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
}
|
6
source/themes/opdavies/oliverdavies/sass/styles.scss
Normal file
6
source/themes/opdavies/oliverdavies/sass/styles.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
@import 'compass';
|
||||
@import 'bootstrap';
|
||||
|
||||
@import "variables/**/*";
|
||||
@import "base/**/*";
|
||||
@import "components/**/*";
|
|
@ -0,0 +1 @@
|
|||
$dark-gray: #333;
|
|
@ -0,0 +1,2 @@
|
|||
// Font weights.
|
||||
$semibold: 500;
|
Loading…
Add table
Add a link
Reference in a new issue