FUCKING BIG UPDATE: server, parallax, apis, new data models, style, layout, other

This commit is contained in:
tmshv committed 2016-03-03 01:34:45 +03:00
1 parent e0f54171a9
commit 359cc430f5
78 files changed
+1063 -445

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@
display: flex;
flex-wrap: wrap;
position: relative;
align-items:flex-end;
justify-content: center;
align-items:flex-start;
}
&__title{
+48
View File
@@ -0,0 +1,48 @@
@import "../variables";
.album {
margin-bottom: $double-margin;
&__head {
margin-bottom: 1.25em;
h3 {
font-size: $big-font-size;
text-align: center;
}
.date {
text-align: center;
color: #aaa;
}
a {
color: $dark-color;
border-bottom: none;
}
}
&__body{
img {
max-width: 100%;
max-height: 40em;
display: block;
margin: 1.25em auto $small-margin;
}
p{
margin-bottom: 1.25em;
}
}
}
@media (max-width: $mobile-width) {
.album {
&__body {
img {
max-height: 20em;
}
}
}
}
+1 -1
View File
@@ -23,6 +23,6 @@
@media (max-width: $mobile-width) {
.document {
margin: 0 0 $single-margin;
margin: 0 $single-margin/2 $single-margin;
}
}
@@ -0,0 +1,13 @@
@import "../variables";
.documents-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: baseline;
}
@media (max-width: $mobile-width) {
.documents-container {
}
}
+22 -4
View File
@@ -4,10 +4,10 @@
margin-bottom: $double-margin;
&__head {
margin-bottom: $small-margin;
margin-bottom: 1.25em;
h3 {
font-size: 1.75em;
font-size: $big-font-size;
text-align: center;
}
@@ -25,9 +25,27 @@
&__body{
img {
max-width: 100%;
max-height: 100%;
//max-height: 100%;
max-height: 40em;
display: block;
margin: 0 auto $small-margin;
margin: 1.25em auto $small-margin;
}
p {
margin-bottom: 1.25em;
}
}
}
@media (max-width: $mobile-width) {
.event-post {
&__body {
img {
max-height: 20em;
}
}
}
}
+21 -6
View File
@@ -4,20 +4,35 @@ $img-max-width: 500px;
$double-margin-half: $double-margin / 2;
$percentage: 25%;
gallery-item {
width: $percentage;
padding: 0 $double-margin-half;
.gallery-item {
box-sizing: padding-box;
padding: 0;
margin-bottom: $single-margin;
width: 13em;
height: 15em;
margin: 0 $single-margin $double-margin;
img{
h3 {
text-align: center;
}
a {
color: $dark-color;
border-bottom: none;
&:hover {
border-bottom: none;
color: $blue-color;
}
}
img {
width: 100%;
}
}
@media screen and (max-width: $mobile-width) {
.gallery-item {
margin: 0 0 1em;
margin: 0 0 $double-margin;
}
}
+15 -9
View File
@@ -9,7 +9,7 @@
position: fixed;
top: 0;
white-space: nowrap;
background-color: $darker-color;
background-color: rgba(255, 255, 255, 0.95);
font-size: 1.1em;
color: $menu-inactive-item-color;
@@ -29,13 +29,15 @@
a {
text-decoration: none;
color: $light-color;
border-bottom: 1px solid darken($light-color, 50%);
color: $dark-color;
//border-bottom: 1px solid darken($light-color, 50%);
border-bottom: 1px solid lighten($dark-color, 60%);
&:hover {
color: $lighter-color;
border-bottom: 1px solid darken($lighter-color, 50%);
}
//&:hover {
// color: $dark-color;
//
// border-bottom: 1px solid darken($lighter-color, 50%);
//}
}
.selected {
@@ -43,7 +45,7 @@
border-top: $menu-colored-mark-thickness solid $light-color;
a:link, a:visited {
color: $lighter-color;
color: $dark-color;
text-decoration: none;
border-bottom: none;
}
@@ -74,8 +76,12 @@
}
}
@media (min-width: $mobile-width) {
@media (max-width: $mobile-width) {
header{
overflow: hidden;
}
.main-menu{
background-color: white;
}
}
+12 -4
View File
@@ -19,20 +19,28 @@
.navigation__right {
color: $light-color;
margin-right: 3em;
z-index:1000;
}
@media (max-width: $mobile-width) {
.navigation {
overflow: hidden;
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
z-index: 100;
position: relative;
top: 0;
display: block;
//display: flex;
//justify-content: flex-start;
//align-items: center;
}
.navigation__right {
//display: none;
margin-right: 0;
//margin-right: 0;
}
}
+14
View File
@@ -8,4 +8,18 @@
&.ng-enter {
animation: slideInRight $short-duration both ease-in;
}
}
.page-collective {
&__collective-image {
min-height: 40em;
}
}
@media (max-width: $mobile-width) {
.page-collective {
&__collective-image {
display: none;
}
}
}
+28 -1
View File
@@ -9,4 +9,31 @@
&.ng-enter {
animation: scaleUp $short-duration both ease-in;
}
}
}
.hudozka-title {
padding: $double-margin 0;
text-align: center;
p {
color: $light-color;
margin-bottom: $single-margin;
}
h1 {
margin-top: $single-margin;
font-size: 1.5em;
}
}
@media (min-width: $mobile-width) {
.hudozka-title {
text-align: center;
h1 {
font-size: 1em;
}
}
}
+19
View File
@@ -0,0 +1,19 @@
@import "../variables";
.parallax {
height: 1000px;
position: relative;
overflow: hidden;
&__layer {
position: absolute;
}
&__end {
position: absolute;
width: 100%;
background-color: white;
bottom: 0;
}
}
+18 -9
View File
@@ -27,25 +27,34 @@ $info-width: 100% - $picture-width;
box-sizing: border-box;
h3 {
font-size: $big-font-size;
font-weight: 200;
strong {
font-weight: 600;
}
}
.info {
margin-bottom: $single-margin;
}
a {
color: $dark-color;
.biography {
margin-top: $single-margin;
p{
margin-bottom: $single-margin;
&:hover{
border-bottom-color: lighten($dark-color, 40%);
}
}
}
}
&__position {
font-size: $bigger-font-size;
}
&__biography {
margin-top: $double-margin;
p {
margin-bottom: $single-margin;
}
}
}
@media (max-width: $mobile-width) {