trelixir.fi/marketing.css

336 lines
5.6 KiB
CSS
Raw Normal View History

2017-08-19 20:39:22 +00:00
* {
2017-08-19 20:53:48 +00:00
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- BASE STYLES --
* Most of these are inherited from Base, but I want to change a few.
*/
2017-08-19 20:39:22 +00:00
body {
2017-08-19 20:53:48 +00:00
line-height: 1.7em;
color: #7f8c8d;
font-size: 13px;
2017-08-19 20:39:22 +00:00
}
h1,
h2,
h3,
h4,
h5,
h6,
label {
2017-08-19 20:53:48 +00:00
color: #34495e;
2017-08-19 20:39:22 +00:00
}
.pure-img-responsive {
2017-08-19 20:53:48 +00:00
max-width: 100%;
height: auto;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- LAYOUT STYLES --
* These are some useful classes which I will need
*/
2017-08-19 20:39:22 +00:00
.l-box {
2017-08-19 20:53:48 +00:00
padding: 1em;
2017-08-19 20:39:22 +00:00
}
.l-box-lrg {
2017-08-19 20:53:48 +00:00
padding: 2em;
border-bottom: 1px solid rgba(0,0,0,0.1);
2017-08-19 20:39:22 +00:00
}
.is-center {
2017-08-19 20:53:48 +00:00
text-align: center;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- PURE FORM STYLES --
* Style the form inputs and labels
*/
2017-08-19 20:39:22 +00:00
.pure-form label {
2017-08-19 20:53:48 +00:00
margin: 1em 0 0;
font-weight: bold;
font-size: 100%;
2017-08-19 20:39:22 +00:00
}
.pure-form input[type] {
2017-08-19 20:53:48 +00:00
border: 2px solid #ddd;
box-shadow: none;
font-size: 100%;
width: 100%;
margin-bottom: 1em;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- PURE BUTTON STYLES --
* I want my pure-button elements to look a little different
*/
2017-08-19 20:39:22 +00:00
.pure-button {
2017-08-19 20:53:48 +00:00
background-color: #6f3ec6;
color: white;
padding: 0.5em 2em;
border-radius: 5px;
2017-08-19 20:39:22 +00:00
}
a.pure-button-primary {
2017-08-19 20:53:48 +00:00
background: white;
color: #1f8dd6;
border-radius: 5px;
font-size: 120%;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- MENU STYLES --
* I want to customize how my .pure-menu looks at the top of the page
*/
2017-08-19 20:39:22 +00:00
.home-menu {
2017-08-19 20:53:48 +00:00
padding: 0.5em;
text-align: center;
box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
2017-08-19 20:39:22 +00:00
}
.home-menu {
2017-08-19 20:53:48 +00:00
background: #000;
opacity: 0.8;
2017-08-19 20:39:22 +00:00
}
.pure-menu.pure-menu-fixed {
2017-08-19 20:53:48 +00:00
/* Fixed menus normally have a border at the bottom. */
border-bottom: none;
/* I need a higher z-index here because of the scroll-over effect. */
z-index: 4;
2017-08-19 20:39:22 +00:00
}
.home-menu .pure-menu-heading {
2017-08-19 20:53:48 +00:00
color: white;
font-weight: 400;
font-size: 120%;
2017-08-19 20:39:22 +00:00
}
.home-menu .pure-menu-selected a {
2017-08-19 20:53:48 +00:00
color: white;
2017-08-19 20:39:22 +00:00
}
.home-menu a, .footer a {
2017-08-19 20:53:48 +00:00
color: #6FBEF3;
2017-08-19 20:39:22 +00:00
}
.home-menu li a:hover,
.home-menu li a:focus {
2017-08-19 20:53:48 +00:00
background: none;
border: none;
color: #AECFE5;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- SPLASH STYLES --
* This is the blue top section that appears on the page.
*/
2017-08-19 20:39:22 +00:00
.splash-container {
2017-08-19 20:53:48 +00:00
background-image: url('bg.jpg');
background-color: #fff;
background-position: left top;
background-size: cover;
background-repeat: no-repeat;
z-index: 1;
overflow: hidden;
/* The following styles are required for the "scroll-over" effect */
width: 100%;
height: 88%;
top: 0;
left: 0;
position: fixed !important;
2017-08-19 20:39:22 +00:00
}
2017-08-21 15:54:20 +00:00
.splash-container.event-splash {
height: 400px;
}
2017-08-19 20:39:22 +00:00
.splash {
2017-08-19 20:53:48 +00:00
/* absolute center .splash within .splash-container */
width: 80%;
height: 50%;
margin: auto;
position: absolute;
top: 100px; left: 0; bottom: 0; right: 0;
text-align: center;
text-transform: uppercase;
2017-08-19 20:39:22 +00:00
}
2017-08-21 15:54:20 +00:00
.splash a {
text-decoration: none;
}
2017-08-19 20:39:22 +00:00
/* This is the main heading that appears on the blue section */
.splash-head {
2017-08-19 20:53:48 +00:00
font-size: 20px;
font-weight: bold;
color: white;
border: 3px solid white;
padding: 1em 1.6em;
font-weight: 100;
border-radius: 5px;
line-height: 1em;
2017-08-19 20:39:22 +00:00
}
/* This is the subheading that appears on the blue section */
.splash-subhead {
2017-08-19 20:53:48 +00:00
color: white;
letter-spacing: 0.05em;
opacity: 1;
text-transform: none;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- CONTENT STYLES --
* This represents the content area (everything below the blue section)
*/
2017-08-19 20:39:22 +00:00
.content-wrapper {
2017-08-19 20:53:48 +00:00
/* These styles are required for the "scroll-over" effect */
position: absolute;
2017-08-21 16:36:41 +00:00
top: 87%;
2017-08-19 20:53:48 +00:00
width: 100%;
min-height: 12%;
z-index: 2;
background: white;
2017-08-19 20:39:22 +00:00
}
2017-08-21 16:36:41 +00:00
.content-wrapper.event-content {
top: 400px;
}
2017-08-19 20:39:22 +00:00
/* We want to give the content area some more padding */
.content {
2017-08-19 20:53:48 +00:00
padding: 1em 1em 3em;
2017-08-19 20:39:22 +00:00
}
/* This is the class used for the main content headers (<h2>) */
.content-head {
2017-08-19 20:53:48 +00:00
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.1em;
margin: 2em 0 1em;
2017-08-19 20:39:22 +00:00
}
/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
2017-08-19 20:53:48 +00:00
color: white;
2017-08-19 20:39:22 +00:00
}
/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
2017-08-19 20:53:48 +00:00
color: #1f8dd6;
}
.content-subhead i {
margin-right: 7px;
2017-08-19 20:39:22 +00:00
}
/* This is the class used for the dark-background areas. */
.ribbon {
2017-08-19 20:53:48 +00:00
background: #2d3e50;
color: #aaa;
2017-08-19 20:39:22 +00:00
}
/* This is the class used for the footer */
.footer {
2017-08-19 20:53:48 +00:00
background: #111;
position: fixed;
bottom: 0;
width: 100%;
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- TABLET (AND UP) MEDIA QUERIES --
* On tablets and other medium-sized devices, we want to customize some
* of the mobile styles.
*/
2017-08-19 20:39:22 +00:00
@media (min-width: 48em) {
2017-08-19 20:53:48 +00:00
/* We increase the body font size */
body {
font-size: 16px;
}
/* We can align the menu header to the left, but float the
menu items to the right. */
.home-menu {
text-align: left;
}
.home-menu ul {
float: right;
}
/* We increase the height of the splash-container */
/* .splash-container {
height: 500px;
}*/
/* We decrease the width of the .splash, since we have more width
to work with */
.splash {
width: 50%;
height: 50%;
}
2017-08-19 20:39:22 +00:00
2017-08-19 20:53:48 +00:00
.splash-head {
font-size: 250%;
}
2017-08-19 20:39:22 +00:00
2017-08-19 20:53:48 +00:00
/* We remove the border-separator assigned to .l-box-lrg */
.l-box-lrg {
border: none;
}
2017-08-19 20:39:22 +00:00
}
/*
2017-08-19 20:53:48 +00:00
* -- DESKTOP (AND UP) MEDIA QUERIES --
* On desktops and other large devices, we want to over-ride some
* of the mobile and tablet styles.
*/
2017-08-19 20:39:22 +00:00
@media (min-width: 78em) {
2017-08-19 20:53:48 +00:00
/* We increase the header font size even more */
.splash-head {
font-size: 300%;
}
2017-08-19 20:39:22 +00:00
}
.signupform {
display: flex;
align-items: center;
}
2017-08-19 20:49:11 +00:00
.sponsorlogos {
text-align: center;
margin-bottom: 40px;
}
.sponsorlogos img.pure-img {
display: inline-block;
}
.contentpadding {
padding: 2em;
}
2017-08-21 15:54:20 +00:00
.talk-title {
font-family: serif;
font-style: italic;
font-size: 150%;
}
.speaker-image {
border-radius: 25%;
max-width: 120px;
}
.speaker-name {
font-weight: bold;
}