mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Some leftovers
Thanks @rschamp again!
This commit is contained in:
parent
804a65e3d0
commit
bf1b3f894d
4 changed files with 271 additions and 268 deletions
|
@ -1,172 +1,174 @@
|
|||
@import "../../../colors";
|
||||
@import "../../../frameless";
|
||||
|
||||
.flex-row {
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
.expect {
|
||||
.flex-row {
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
|
||||
.card {
|
||||
width: $cols4;
|
||||
.card {
|
||||
width: $cols4;
|
||||
|
||||
p {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.profile {
|
||||
img {
|
||||
border-radius: 8em;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
img {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 20px 0;
|
||||
text-align: center;
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.uneven {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.keynote {
|
||||
background-color: $ui-purple;
|
||||
padding: 48px 0 64px 0;
|
||||
width: 100%;
|
||||
|
||||
h2,
|
||||
h3,
|
||||
b,
|
||||
p {
|
||||
color: $ui-white;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.date {
|
||||
b {
|
||||
border-radius: 20px;
|
||||
background-color: $ui-orange;
|
||||
padding: 5px 15px;
|
||||
font-size: .85rem;
|
||||
}
|
||||
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.flex-row {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.card {
|
||||
margin-top: 25px;
|
||||
p {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.schedule {
|
||||
.title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.profile {
|
||||
img {
|
||||
border-radius: 8em;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
img {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 20px 0;
|
||||
text-align: center;
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.uneven {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.keynote {
|
||||
background-color: $ui-purple;
|
||||
padding: 48px 0 64px 0;
|
||||
width: 100%;
|
||||
|
||||
h2,
|
||||
h3,
|
||||
b,
|
||||
p {
|
||||
color: $ui-white;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.callout {
|
||||
display: flex;
|
||||
padding: .85rem;
|
||||
align-items: center;
|
||||
h3 {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
img {
|
||||
margin-right: 30px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.date {
|
||||
b {
|
||||
border-radius: 20px;
|
||||
background-color: $ui-orange;
|
||||
padding: 5px 15px;
|
||||
font-size: .85rem;
|
||||
}
|
||||
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.flex-row {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.card {
|
||||
margin-top: 25px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
width: $cols4;
|
||||
|
||||
th {
|
||||
.schedule {
|
||||
.title {
|
||||
display: flex;
|
||||
border-bottom: thin solid $ui-border;
|
||||
padding: 2.5%;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
|
||||
h3 {
|
||||
h2 {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.callout {
|
||||
display: flex;
|
||||
padding: .85rem;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
margin-right: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
display: flex;
|
||||
border-bottom: thin solid $ui-border;
|
||||
padding: 2.5%;
|
||||
height: 60px;
|
||||
align-items: center;
|
||||
table {
|
||||
width: $cols4;
|
||||
|
||||
b {
|
||||
width: 30%;
|
||||
line-height: 1.7em;
|
||||
th {
|
||||
display: flex;
|
||||
border-bottom: thin solid $ui-border;
|
||||
padding: 2.5%;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
margin-right: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
width: 70%;
|
||||
td {
|
||||
display: flex;
|
||||
border-bottom: thin solid $ui-border;
|
||||
padding: 2.5%;
|
||||
height: 60px;
|
||||
align-items: center;
|
||||
|
||||
b {
|
||||
width: 30%;
|
||||
line-height: 1.7em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.flex-row {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.flex-row {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
table {
|
||||
margin-top: 50px;
|
||||
width: $cols6;
|
||||
text-align: left;
|
||||
table {
|
||||
margin-top: 50px;
|
||||
width: $cols6;
|
||||
text-align: left;
|
||||
|
||||
th {
|
||||
justify-content: center;
|
||||
th {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,57 +6,56 @@
|
|||
min-height: initial;
|
||||
}
|
||||
|
||||
.title-banner {
|
||||
margin-bottom: 0;
|
||||
background-image: url("/images/conference/index/title-banner.jpg");
|
||||
padding: 48px 0;
|
||||
.index {
|
||||
.title-banner {
|
||||
margin-bottom: 0;
|
||||
background-image: url("/images/conference/index/title-banner.jpg");
|
||||
padding: 48px 0;
|
||||
|
||||
h1,
|
||||
h3,
|
||||
h4,
|
||||
p {
|
||||
margin: 0 auto;
|
||||
padding: 5px 0;
|
||||
text-align: center;
|
||||
color: $type-white;
|
||||
}
|
||||
h1,
|
||||
h3,
|
||||
h4,
|
||||
p {
|
||||
margin: 0 auto;
|
||||
padding: 5px 0;
|
||||
text-align: center;
|
||||
color: $type-white;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 3rem;
|
||||
p {
|
||||
margin-top: 3rem;
|
||||
|
||||
a {
|
||||
|
||||
button {
|
||||
background-color: $ui-white;
|
||||
color: $ui-blue;
|
||||
font-size: 1rem;
|
||||
a {
|
||||
|
||||
button {
|
||||
background-color: $ui-white;
|
||||
color: $ui-blue;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $mobile - 1) {
|
||||
h3 {
|
||||
display: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: .25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $mobile - 1) {
|
||||
h3 {
|
||||
display: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: .25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.index {
|
||||
.flex-row {
|
||||
align-items: flex-start;
|
||||
|
||||
|
|
|
@ -1,111 +1,113 @@
|
|||
@import "../../../colors";
|
||||
@import "../../../frameless";
|
||||
|
||||
section {
|
||||
border-bottom: 2px solid $ui-border;
|
||||
.plan {
|
||||
section {
|
||||
border-bottom: 2px solid $ui-border;
|
||||
|
||||
&.last {
|
||||
border-bottom: 0;
|
||||
&.last {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.flex-row {
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
.flex-row {
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
|
||||
&.uneven {
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
&.uneven {
|
||||
img {
|
||||
width: 30%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: $tablet) and (max-width: $desktop - 1) {
|
||||
img {
|
||||
width: 70%;
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
img {
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: $tablet) and (max-width: $desktop - 1) {
|
||||
img {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.lodging {
|
||||
text-align: left;
|
||||
.lodging {
|
||||
text-align: left;
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.uneven {
|
||||
.short {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.transportation {
|
||||
.uneven {
|
||||
.short {
|
||||
display: none;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.flex-row {
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.explore {
|
||||
div {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
max-height: 23rem;
|
||||
flex-flow: column wrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
ul {
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
div {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.faq {
|
||||
dl {
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 8px 0 32px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.short {
|
||||
margin-top: 64px;
|
||||
border: 2px solid $ui-border;
|
||||
border-radius: 4px;
|
||||
background-color: $ui-white;
|
||||
padding: 16px;
|
||||
text-align: center;
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.transportation {
|
||||
.uneven {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
.flex-row {
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.explore {
|
||||
div {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
max-height: 23rem;
|
||||
flex-flow: column wrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
ul {
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $desktop - 1) {
|
||||
div {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.faq {
|
||||
dl {
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 8px 0 32px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.short {
|
||||
margin-top: 64px;
|
||||
border: 2px solid $ui-border;
|
||||
border-radius: 4px;
|
||||
background-color: $ui-white;
|
||||
padding: 16px;
|
||||
text-align: center;
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $tablet - 1) {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ var omit = require('lodash.omit');
|
|||
var React = require('react');
|
||||
var render = require('../../lib/render.jsx');
|
||||
|
||||
var authActions = require('../../redux/auth.js');
|
||||
var authActions = require('../../redux/actions.js');
|
||||
|
||||
var Api = require('../../mixins/api.jsx');
|
||||
|
||||
|
|
Loading…
Reference in a new issue