2015-01-03 22:23:27 +00:00
|
|
|
@import "compass/css3";
|
|
|
|
@import "compass/css3/border-radius";
|
2015-01-05 04:43:45 +00:00
|
|
|
@import "compass/css3/box-shadow";
|
|
|
|
@import "compass/typography/links/link-colors";
|
|
|
|
@import "compass/typography/links/unstyled-link";
|
|
|
|
@import "compass/typography/links/hover-link";
|
2015-01-03 22:23:27 +00:00
|
|
|
@import "compass/typography/vertical_rhythm";
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
$break-point: 45em;
|
|
|
|
$bg-color: #EEEEEE;
|
|
|
|
$main-color: #2196F3;
|
|
|
|
$acc-color: #C51162;
|
2015-01-03 22:23:27 +00:00
|
|
|
|
2015-02-06 15:50:53 +00:00
|
|
|
$base-font-size: 16px;
|
|
|
|
$base-line-height: 24px;
|
2015-02-06 16:10:24 +00:00
|
|
|
$rhythm-unit: "em";
|
|
|
|
$min-line-padding: 1px;
|
2015-01-03 22:23:27 +00:00
|
|
|
@include establish-baseline;
|
|
|
|
|
2015-01-06 05:36:11 +00:00
|
|
|
$text-pad: rhythm(0.5);
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
@mixin flexed {
|
2015-01-03 22:23:27 +00:00
|
|
|
@include display-flex;
|
|
|
|
@include flex-wrap(nowrap);
|
|
|
|
@include align-items(center);
|
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
background: $bg-color;
|
|
|
|
a {
|
|
|
|
@include hover-link;
|
|
|
|
@include link-colors($acc-color);
|
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
// Default table style sets the wrong font weight
|
|
|
|
// if we set this in body.
|
|
|
|
* {
|
2015-02-05 16:53:02 +00:00
|
|
|
@include adjust-font-size-to(1em);
|
2015-01-05 04:43:45 +00:00
|
|
|
font-family: 'roboto', sans-serif;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
@include flexed;
|
|
|
|
@include flex-direction(column);
|
|
|
|
@include justify-content(flex-start);
|
|
|
|
|
|
|
|
h1 {
|
2015-02-06 16:10:24 +00:00
|
|
|
@include adjust-font-size-to(3em, 1);
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2015-02-06 16:10:24 +00:00
|
|
|
@include adjust-font-size-to(2em, 1);
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2015-02-06 16:10:24 +00:00
|
|
|
@include adjust-font-size-to(1.5em, 1);
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
@include adjust-font-size-to(1em);
|
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
.container > * {
|
|
|
|
width: $break-point;
|
2015-01-06 05:36:11 +00:00
|
|
|
margin: $text-pad;
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-02-06 15:50:53 +00:00
|
|
|
@media all and (max-width: $break-point) {
|
2015-01-05 04:43:45 +00:00
|
|
|
.container > * {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
// Top banner.
|
2015-01-03 22:23:27 +00:00
|
|
|
.header {
|
2015-01-05 04:43:45 +00:00
|
|
|
@include single-box-shadow(0, 10px, 5px, -10px);
|
|
|
|
background: $main-color;
|
2015-01-26 14:42:15 +00:00
|
|
|
padding: $text-pad;
|
2015-01-03 22:23:27 +00:00
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
h1 {
|
2015-02-06 16:10:24 +00:00
|
|
|
@include adjust-font-size-to(5em,1);
|
2015-01-05 04:43:45 +00:00
|
|
|
color: white;
|
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
// The top box. About, picture, and contact.
|
2015-01-03 22:23:27 +00:00
|
|
|
.topbox {
|
2015-01-05 04:43:45 +00:00
|
|
|
@include flexed;
|
|
|
|
@include flex-direction(row);
|
2015-01-03 22:23:27 +00:00
|
|
|
@include justify-content(space-around);
|
2015-01-05 04:43:45 +00:00
|
|
|
background: white;
|
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
.topbar > * {
|
|
|
|
max-width: 100%;
|
|
|
|
h1 h2 {
|
|
|
|
color: $main-color;
|
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
// Bar containing picture and contact info.
|
|
|
|
.bio-bar {
|
|
|
|
@include flexed;
|
|
|
|
@include flex-direction(column);
|
|
|
|
@include justify-content(space-around);
|
2015-10-26 14:53:02 +00:00
|
|
|
// @include flex(1 1);
|
2015-01-05 04:43:45 +00:00
|
|
|
@include order(2);
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
@media all and (max-width: $break-point) {
|
2015-01-03 22:23:27 +00:00
|
|
|
.topbox {
|
2015-01-05 04:43:45 +00:00
|
|
|
@include flex-direction(column);
|
|
|
|
@include align-items(stretch);
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
.bio-bar {
|
|
|
|
@include flex-direction(row);
|
|
|
|
@include order(1);
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.picture {
|
2015-10-26 14:53:02 +00:00
|
|
|
// @include flex(1 1);
|
2015-01-06 05:36:11 +00:00
|
|
|
padding: $text-pad;
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.contact {
|
2015-10-26 14:53:02 +00:00
|
|
|
// @include flex(1 1);
|
2015-01-06 05:36:11 +00:00
|
|
|
padding: $text-pad;
|
2015-01-03 22:23:27 +00:00
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
h3 {
|
|
|
|
color: $main-color;
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
// About cell ~ 2x sidebar in normal mode
|
|
|
|
.about {
|
2015-10-26 14:53:02 +00:00
|
|
|
// @include flex(2 1);
|
2015-01-06 05:36:11 +00:00
|
|
|
padding: $text-pad;
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (max-width: $break-point) {
|
|
|
|
.about {
|
2015-01-03 22:23:27 +00:00
|
|
|
@include order(2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-05 04:43:45 +00:00
|
|
|
// Two section headers, different bg colors.
|
|
|
|
#mini-header {
|
|
|
|
background: $main-color;
|
|
|
|
color: white;
|
2015-02-06 16:10:24 +00:00
|
|
|
@include adjust-font-size-to(3em,1);
|
2015-01-06 05:36:11 +00:00
|
|
|
padding: $text-pad;
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#mini-header-alt {
|
|
|
|
background: $acc-color;
|
|
|
|
color: white;
|
2015-02-06 16:10:24 +00:00
|
|
|
@include adjust-font-size-to(3em,1);
|
2015-01-06 05:36:11 +00:00
|
|
|
padding: $text-pad;
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Main unit for sections.
|
2015-01-03 22:23:27 +00:00
|
|
|
#card {
|
2015-01-06 05:36:11 +00:00
|
|
|
padding: $text-pad;
|
2015-01-05 04:43:45 +00:00
|
|
|
@include single-box-shadow(0, 11px, 5px, -10px);
|
|
|
|
background: white;
|
|
|
|
h1 {
|
|
|
|
background: $main-color;
|
|
|
|
color: white;
|
|
|
|
};
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
background: white;
|
|
|
|
color: $main-color;
|
|
|
|
};
|
|
|
|
|
|
|
|
b, strong {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
font-weight: 500;
|
|
|
|
};
|
|
|
|
|
|
|
|
em {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: italic;
|
|
|
|
};
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: 'Inconsolata', monospace;
|
|
|
|
font-weight: 500;
|
2015-01-06 05:36:11 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#drafts, #conference-publications {
|
|
|
|
padding: $text-pad;
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#bibcell {
|
|
|
|
vertical-align: top;
|
2015-01-06 05:36:11 +00:00
|
|
|
padding: $text-pad;
|
2015-01-05 04:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Latex parsed as {H} turns into spans, make these bold.
|
|
|
|
#titlecell span {
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer * {
|
|
|
|
text-align: center;
|
|
|
|
background: $main-color;
|
|
|
|
margin: 0;
|
|
|
|
a {
|
|
|
|
// Turn off colors. Using both colors together looks bad.
|
|
|
|
@include unstyled-link;
|
|
|
|
@include hover-link;
|
|
|
|
}
|
2015-01-03 22:23:27 +00:00
|
|
|
}
|