Wednesday, 1 July 2015
Fifa 15
/***
* ╔═╗╔═╗╔╗╔╔═╗╦═╗╔═╗╦
* ║ ╦║╣ ║║║║╣ ╠╦╝╠═╣║
* ╚═╝╚═╝╝╚╝╚═╝╩╚═╩ ╩╩═╝
*/
* {
box-sizing: border-box;
}
html {
font-size: 16px;
}
body {
font-family: 'Source Sans Pro', sans-serif;
font-weight: 300;
background: #fffffd;
word-wrap: break-word;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, a {
margin: 0;
max-width: 100%;
}
a {
color: #9bce0c;
text-decoration: none;
font-weight: bold;
display: inline-block;
position: relative;
max-width: 100%;
}
a:after {
content: '';
display: block;
margin: auto;
height: 2px;
width: 0px;
background: transparent;
-webkit-transition: width .25s ease, background-color .25s ease;
-moz-transition: width .25s ease, background-color .25s ease;
-o-transition: width .25s ease, background-color .25s ease;
transition: width .25s ease, background-color .25s ease;
}
a:hover:after,
a:focus:after,
a:active:after {
width: 100%;
background: #9bce0c;
}
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.clearfix {
display: block;
}
.content {
width: 90%;
clear: both;
padding: 19px 0 17px;
margin: 20px auto 0;
}
/***
* ╦ ╦╔═╗╔═╗╔╦╗╔═╗╦═╗
* ╠═╣║╣ ╠═╣ ║║║╣ ╠╦╝
* ╩ ╩╚═╝╩ ╩═╩╝╚═╝╩╚═
*/
.header {
position: relative;
}
.header__container {
z-index: 10;
position: relative;
margin: 0 auto;
}
.header__headings {
display: inline-block;
vertical-align: top;
width: 100%;
text-align: center;
margin: 5% 0 3%;
}
.header__speaker {
max-width: 250px;
text-align: center;
margin: 20px auto;
}
.header__speaker img {
width: 100%;
}
.header__speaker--name {
text-align: center;
margin: -5px 0 0;
font-weight: bold;
padding: 12px 9px 11px 9px;
letter-spacing: 0.5px;
background: #feffff;
}
.header__heading--1 {
color: #9ace0e;
font-size: 1.375rem;
}
.header__heading--2 {
margin: 5px 20px 0 0;
font-weight: 300;
color: #fffffe;
font-size: 4rem;
}
.header__overlay {
background-color: #343434;
opacity: 0.8;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.header__background {
position: absolute;
z-index: -100;
width: 1px;
height: 1px;
}
.header .content {
text-align: center;
}
/***
* ╔╦╗╔═╗╦╔╗╔ ╔═╗╔═╗╔╗╔╔╦╗╔═╗╔╗╔╔╦╗
* ║║║╠═╣║║║║ ║ ║ ║║║║ ║ ║╣ ║║║ ║
* ╩ ╩╩ ╩╩╝╚╝ ╚═╝╚═╝╝╚╝ ╩ ╚═╝╝╚╝ ╩
*/
.section__headline--1 {
font-size: 1.53rem;
letter-spacing: 1px;
margin: 0 0 11px;
color: #000001;
width: 100%;
display: inline-block;
text-align: center;
}
.section__headline--2 {
font-size: 1.55rem;
color: #9acd0c;
width: 100%;
display: inline-block;
text-align: center;
}
.section__headline--3 {
font-size: 1.28rem;
color: #100001;
margin: 14px 0 0;
width: 100%;
display: inline-block;
text-align: center;
}
.section__caldates--container {
/*margin: 20px auto;*/
text-align: center;
max-width: 450px;
width: 100%;
display: inline-block;
}
.section__dates--calendar {
text-align: center;
padding: 32px 2.4% 0 0;
max-width: 250px;
min-width: 150px;
vertical-align: top;
width: 100%;
margin: 0 auto;
-webkit-transition: all 0.25s;
-moz-transition: all 0.25s;
-o-transition: all 0.25s;
transition: all 0.25s;
}
.section__dates--calendar--month {
background: #99cd0c;
padding: 12px 3% 7px;
color: #fffeff;
font-weight: bold;
font-size: 1.4rem;
border: 1px solid #c2c2c2;
border-bottom: 1px solid #99cd0c;
}
.section__dates--calendar--day {
font-size: 4.2rem;
border: 1px solid #c2c2c2;
font-weight: bold;
padding: 7px 3% 15px;
background: #fcfcfc;
}
.section__dates--dates {
width: 100%;
padding: 40px 2% 0 0;
margin: 0 auto 40px;
max-width: 260px;
}
.section__dates--date {
font-size: 1.38rem;
width: 100%;
text-align: center;
}
.section__dates--time {
line-height: 1.6;
font-size: 1.1rem;
margin: 10px 0 0 0;
padding: 0 0 0 20px;
text-align: left;
}
.section__side__container {
display: inline;
}
.section__side {
width: 250px;
vertical-align: top;
margin: 0 auto;
}
.SVG--greenFill {
fill: #9ACE0C;
}
.SVG--greyFill {
fill: #E6E6E6;
}
.section__summary {
text-align: center;
font-size: 1.4rem;
line-height: 1.3;
display: inline-block;
padding: 0;
}
.ctaButton {
background-color: #99ce0c;
border: 3px solid #99ce0c;
border-radius: 4px;
color: #fefeff;
font-weight: 700;
margin: 21px 0 10px 0;
padding: 15px 5% 16px;
text-align: center;
font-size: 26px;
line-height: 1.3;
cursor: pointer;
-webkit-transition: all 0.25s ease;
-moz-transition: all 0.25s ease;
-o-transition: all 0.25s ease;
transition: all 0.25s ease;
display: inline-block;
text-decoration: none;
}
.ctaButton:hover,
.ctaButton:focus,
.ctaButton:active {
background-color: transparent;
color: #99ce0c;
}
a.ctaButton:after {
height: 0px;
}
/***
* ╔═╗╔═╗╔═╗╔╦╗╔═╗╦═╗
* ╠╣ ║ ║║ ║ ║ ║╣ ╠╦╝
* ╚ ╚═╝╚═╝ ╩ ╚═╝╩╚═
*/
.footer {
text-align: center;
background: #f0f0f0;
padding: 30px 0;
margin: 50px 0 0 0;
font-size: 1.1rem;
}
.footer__content {
display: inline-block;
max-width: 90%;
}
.footer__content--copyright {
display: inline-block;
width: 100%;
}
.section__main {
text-align: center;
margin: 0 0 35px;
}
/* ╔╦╗╔═╗╔╦╗╦╔═╗ ╔═╗ ╦ ╦╔═╗╦═╗╦╔═╗╔═╗ */
/* ║║║║╣ ║║║╠═╣ ║═╬╗║ ║║╣ ╠╦╝║║╣ ╚═╗ */
/* ╩ ╩╚═╝═╩╝╩╩ ╩ ╚═╝╚╚═╝╚═╝╩╚═╩╚═╝╚═╝ */
@media (min-width: 36.25rem) { /*580*/
.section__dates--calendar {
display: inline-block;
max-width: 150px;
transition: 0s;
}
.section__dates--date {
text-align: left;
}
.section__dates--dates {
display: inline-block;
}
.section__summary {
padding: 0 30px;
}
}
@media (min-width: 43.125rem) { /*690*/
.header__speaker {
width: 25%;
margin: 0 auto;
display: inline-block;
}
.header__headings {
text-align: left;
width: 75%;
float: left;
}
.section__dates--calendar {
display: inline-block;
}
.footer__content {
padding: 0 59px 0;
}
.section__side {
display: inline-block;
vertical-align: top;
width: auto;
max-width: 269px;
}
}
@media (min-width: 55rem) { /*880*/
.section__caldates--container {
margin: 0;
display: inline-block;
}
}
@media (min-width: 55rem) { /*880*/
.content {
max-width: 850px;
}
.header__speaker {
width: 180px;
}
.section__side {
max-width: 274px;
}
.footer__content {
width: 850px;
}
}
@media (min-width: 59.6875rem) { /*955*/
.section__caldates--container {
text-align: left;
}
.section__side {
max-width: 350px;
}
.section__headline--1,
.section__headline--2,
.section__headline--3 {
text-align: left;
}
}
Subscribe to:
Posts (Atom)