409 lines
8.8 KiB
SCSS
409 lines
8.8 KiB
SCSS
|
|
/*****************************************************************************
|
|
* Header
|
|
*****************************************************************************/
|
|
.site-header {
|
|
border-bottom: 1px solid $grey-color-light;
|
|
background-color: #fff;
|
|
opacity: 0.75;
|
|
position:fixed;
|
|
left:0px;
|
|
top:0px;
|
|
height:56px;
|
|
width:100%;
|
|
z-index: 50;
|
|
}
|
|
|
|
.site-title {
|
|
font-size: 20px;
|
|
line-height: $nav-height;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 0;
|
|
&:hover {
|
|
text-decoration: none;
|
|
color: $theme-color;
|
|
}
|
|
}
|
|
.site-nav {
|
|
float: right;
|
|
line-height: $nav-height;
|
|
.page-link{
|
|
line-height: $base-line-height;
|
|
// Gaps between nav items, but not on the first one
|
|
&:not(:first-child) {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
@include media-query($on-palm) {
|
|
position: fixed;
|
|
top: 0px;
|
|
right: 10px;
|
|
text-align: right;
|
|
&:hover .trigger {
|
|
display: block;
|
|
padding-bottom: 5px;
|
|
}
|
|
.page-link {
|
|
display: line;
|
|
}
|
|
}
|
|
}
|
|
|
|
.header-bar{
|
|
left: 0px;
|
|
top: 0px;
|
|
position: relative;
|
|
font-size: 20px;
|
|
display: block;
|
|
opacity: 0.75;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding-top: 25px;
|
|
line-height: 3em;
|
|
z-index: 25;
|
|
h1{
|
|
color: $theme-color;
|
|
font-size:75px;
|
|
}
|
|
h2{
|
|
font-size:25px;
|
|
}
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Profile
|
|
*****************************************************************************/
|
|
.profile {
|
|
.left { margin-right: 10px };
|
|
.right { margin-left: 10px };
|
|
img {
|
|
box-shadow: 0 0 5px $grey-color;
|
|
width: 100%;
|
|
}
|
|
}
|
|
.address {
|
|
font-family: monospace;
|
|
|
|
p { margin: 0; }
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* News
|
|
*****************************************************************************/
|
|
.news {
|
|
border-top: 1px solid $grey-color-light;
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
|
|
h2 { margin-bottom: 10px; }
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
|
|
.date { width: 20%; }
|
|
.announcement { width: 80%; }
|
|
|
|
tr { text-align: left; }
|
|
td { padding: 5px 0;}
|
|
}
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Social
|
|
*****************************************************************************/
|
|
.social {
|
|
border-top: 1px solid $grey-color-light;
|
|
margin-top: 50px;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Footer
|
|
*****************************************************************************/
|
|
.site-footer {
|
|
border-top: 1px solid $grey-color-dark;
|
|
background-color: $grey-color-dark;
|
|
color: #aaa;
|
|
font-size: 72%;
|
|
padding: 2px;
|
|
position: fixed;
|
|
left: 0px;
|
|
bottom: 0px;
|
|
width: 100%;
|
|
|
|
p { margin-bottom: 0; }
|
|
a { color: #fff; }
|
|
a:hover { color: $theme-color; }
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Pagination
|
|
*****************************************************************************/
|
|
.pagination{
|
|
max-width: -webkit-calc(800px - (#{$horizontal-spacing-unit} * 2));
|
|
text-align: center;
|
|
width: 100%;
|
|
position: fixed;
|
|
bottom: 50px;
|
|
}
|
|
.paginationicon {
|
|
font-size: 50px;
|
|
a {
|
|
color: $theme-color;
|
|
}
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Page content
|
|
*****************************************************************************/
|
|
.page-content {
|
|
padding: 100px 0; /* VERTICAL PADDING FOR TITLE ON EVERY PAGE */
|
|
}
|
|
.page-heading {
|
|
font-size: 20px;
|
|
}
|
|
.post-list {
|
|
margin: 0px 0;
|
|
list-style: none;
|
|
|
|
> li {
|
|
margin-bottom: $vertical-spacing-unit;
|
|
}
|
|
}
|
|
.contacticon {
|
|
display: block;
|
|
font-size: 60px;
|
|
margin: 10px;
|
|
}
|
|
.center{
|
|
text-align: center;
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Posts
|
|
*****************************************************************************/
|
|
.post-header {
|
|
margin-bottom: $vertical-spacing-unit;
|
|
}
|
|
.post-title {
|
|
font-size: 42px;
|
|
letter-spacing: -1px;
|
|
line-height: 1;
|
|
margin-bottom: 10px;
|
|
@include media-query($on-laptop) {
|
|
font-size: 36px;
|
|
}
|
|
}
|
|
.post-content {
|
|
h2 {
|
|
font-size: 42px;
|
|
@include media-query($on-laptop) {
|
|
font-size: 28px;
|
|
}
|
|
}
|
|
h3 {
|
|
font-size: 30px;
|
|
@include media-query($on-laptop) {
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
h4 {
|
|
font-size: 20px;
|
|
@include media-query($on-laptop) {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
}
|
|
.post-meta {
|
|
color: $grey-color;
|
|
font-size: $small-font-size;
|
|
margin-bottom: 0px;
|
|
}
|
|
.post-link {
|
|
display: block;
|
|
font-size: 42px;
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Publications
|
|
*****************************************************************************/
|
|
.publications {
|
|
h2 {
|
|
color: $theme-color;
|
|
font-size: 32px;
|
|
margin: 40px 0;
|
|
text-align: center;
|
|
}
|
|
}
|
|
.year {
|
|
border-bottom: 1px solid $grey-color-light;
|
|
color: $grey-color-light;
|
|
margin: 0 -2.5em 40px -2em;
|
|
padding-bottom: 5px;
|
|
text-align: right;
|
|
}
|
|
.bibliography {
|
|
margin-bottom: 20px;
|
|
margin-top: 20px;
|
|
list-style-type: circle;
|
|
|
|
li {
|
|
margin: 10px 0;
|
|
position: relative;
|
|
|
|
span { display: block; }
|
|
.title { font-weight: bolder; }
|
|
.author {
|
|
a {
|
|
border-bottom: 1px dashed $theme-color;
|
|
&:hover {
|
|
border-bottom-style: solid;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
> em { border-bottom: 1px solid; }
|
|
}
|
|
a.abstract, a.bibtex { cursor: pointer; }
|
|
.hidden {
|
|
font-size: $small-font-size;
|
|
max-height: 0px;
|
|
overflow: hidden;
|
|
text-align: justify;
|
|
-webkit-transition: 0.15s ease;
|
|
-moz-transition: 0.15s ease;
|
|
-ms-transition: 0.15s ease;
|
|
-o-transition: 0.15s ease;
|
|
transition: all 0.15s ease;
|
|
|
|
p {
|
|
line-height: 1.4em;
|
|
margin: 10px;
|
|
}
|
|
pre {
|
|
font-size: 1em;
|
|
line-height: 1.4em;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
.hidden.open {
|
|
max-height: 100em;
|
|
-webkit-transition: 0.15s ease;
|
|
-moz-transition: 0.15s ease;
|
|
-ms-transition: 0.15s ease;
|
|
-o-transition: 0.15s ease;
|
|
transition: all 0.15s ease;
|
|
}
|
|
span.abstract.hidden {
|
|
border: dashed 1px $background-color;
|
|
}
|
|
span.abstract.hidden.open {
|
|
border-color: $grey-color;
|
|
}
|
|
}
|
|
abbr {
|
|
position: absolute;
|
|
left: -7em;
|
|
}
|
|
}
|
|
.star {
|
|
color: $theme-color;
|
|
font-style: normal;
|
|
}
|
|
|
|
/*****************************************************************************
|
|
* Projects
|
|
*****************************************************************************/
|
|
.project {
|
|
box-sizing: border-box;
|
|
float: left;
|
|
height: 250px;
|
|
padding: 10px;
|
|
vertical-align: middle;
|
|
width: 33.33%;
|
|
}
|
|
.thumbnail {
|
|
overflow: hidden;
|
|
height: 230px;
|
|
width: 100%;
|
|
}
|
|
.thumbnail img{
|
|
height: auto;
|
|
position: relative;
|
|
left: -25%;
|
|
top: -5%;
|
|
width: 500px;
|
|
}
|
|
.thumbnail a{
|
|
float: left;
|
|
height: 230px;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.thumbnail a span {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: rgba(0,0,0,0.4);
|
|
color: $grey-color-light;
|
|
padding: 40px;
|
|
text-align: center;
|
|
}
|
|
.thumbnail a:hover span {
|
|
display: block;
|
|
}
|
|
|
|
/** Poem formatting ********************************************/
|
|
.poem-title {
|
|
font-size: 24px;
|
|
letter-spacing: -1px;
|
|
line-height: 1;
|
|
@include media-query($on-laptop) {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
* Portfolio pages **********************************************************
|
|
*/
|
|
.blankbox{
|
|
background: $theme-color;
|
|
}
|
|
.img_row{
|
|
height: $img_height;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
box-sizing:border-box;
|
|
padding: $img_spacing;
|
|
}
|
|
.col{
|
|
width: 100%;
|
|
height: 100%;
|
|
float: left;
|
|
object-fit: cover;
|
|
box-sizing:border-box;
|
|
padding: $img_spacing;
|
|
}
|
|
.right{
|
|
float: right;
|
|
}
|
|
.one {
|
|
width:33.33%;
|
|
}
|
|
.two {
|
|
width: 66.66%;
|
|
}
|
|
.three{
|
|
width: 100%;
|
|
}
|
|
.caption{
|
|
height: 100%;
|
|
color: $caption_color;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
font-size: $caption_font_size;
|
|
}
|