Theme intrgration initiated by Onassis theme of Blacktie.co
Banner Component designed
This commit is contained in:
parent
6712f582c3
commit
2c4101ab45
6 changed files with 95 additions and 3 deletions
|
|
@ -9,4 +9,5 @@
|
||||||
*= require osem-rating
|
*= require osem-rating
|
||||||
*= require osem-schedule
|
*= require osem-schedule
|
||||||
*= require osem-schedule-print
|
*= require osem-schedule-print
|
||||||
|
*= require font-awesome
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,6 @@ body {
|
||||||
|
|
||||||
.banner-text{
|
.banner-text{
|
||||||
padding-top: 10%;
|
padding-top: 10%;
|
||||||
color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pad{
|
.pad{
|
||||||
|
|
|
||||||
91
app/assets/stylesheets/splash.css.scss
Normal file
91
app/assets/stylesheets/splash.css.scss
Normal file
|
|
@ -0,0 +1,91 @@
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic);
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Raleway:400,300,700);
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Coustard:400,900);
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
font-family: 'Lato';
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #555;
|
||||||
|
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
/*-webkit-overflow-scrolling: touch;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Titles */
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-family: "Raleway";
|
||||||
|
font-weight: 300;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paragraph & Typographic */
|
||||||
|
p {
|
||||||
|
line-height: 28px;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centered {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Links */
|
||||||
|
a {
|
||||||
|
color: #f85c37;
|
||||||
|
word-wrap: break-word;
|
||||||
|
|
||||||
|
-webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
-moz-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
-ms-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
-o-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover,
|
||||||
|
a:focus {
|
||||||
|
color: #7b7b7b;
|
||||||
|
text-decoration: none;
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:before,
|
||||||
|
a:after {
|
||||||
|
-webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
-moz-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
-ms-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
-o-transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
transition: color 0.1s ease-in, background 0.1s ease-in;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
display: block;
|
||||||
|
height: 1px;
|
||||||
|
border: 0;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
margin: 1em 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
/* ==========================================================================
|
||||||
|
Wrap Sections
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
#splash-banner{
|
||||||
|
h1, h3{
|
||||||
|
color:#3399CC;
|
||||||
|
}
|
||||||
|
h3{
|
||||||
|
font-family: 'Coustard', serif;
|
||||||
|
font-weight: 600;
|
||||||
|
text-shadow: 0.2em 0.2em 0 #4A4F6A;
|
||||||
|
}
|
||||||
|
h1{
|
||||||
|
font-size: 200px;
|
||||||
|
font-weight: 700;
|
||||||
|
text-shadow:0.04em 0.04em 0 black;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
color: #fff;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
%a.smoothscroll{ href: '#registration' } Registration
|
%a.smoothscroll{ href: '#registration' } Registration
|
||||||
%div.container.text-center
|
%div.container.text-center
|
||||||
%div.row
|
%div.row
|
||||||
%h2 Registration
|
%h1 Registration
|
||||||
- if !@conference.registration_description.blank?
|
- if !@conference.registration_description.blank?
|
||||||
%p
|
%p
|
||||||
= @conference.registration_description
|
= @conference.registration_description
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
%div.container.text-center.banner-text
|
%div.container.text-center.banner-text
|
||||||
.row
|
.row
|
||||||
%h1
|
%h1
|
||||||
= @conference.title
|
= @conference.short_title
|
||||||
- if @conference.start_date && @conference.end_date
|
- if @conference.start_date && @conference.end_date
|
||||||
.row
|
.row
|
||||||
%h3
|
%h3
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
%meta{:content => "", :name => "description"}
|
%meta{:content => "", :name => "description"}
|
||||||
%meta{:content => "", :name => "author"}
|
%meta{:content => "", :name => "author"}
|
||||||
= stylesheet_link_tag "application", :media => "all"
|
= stylesheet_link_tag "application", :media => "all"
|
||||||
|
= stylesheet_link_tag "splash" if content_for :splash
|
||||||
= javascript_include_tag "application"
|
= javascript_include_tag "application"
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
:javascript
|
:javascript
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue