This commit is contained in:
tmshv committed 2016-03-07 04:46:42 +03:00
1 parent 261e842802
commit 0485a4acea
122 files changed
+4866 -3842

No files matched your search

@@ -0,0 +1,21 @@
@import "../variables";
.article-page-control{
text-align: center;
a{
color: #aaa;
}
&__top {
//padding: $single-margin 0 0;
//margin: $single-margin 0 0;
padding: 0 0 $single-margin;
margin: 0 0 $single-margin;
}
&__bottom {
padding: 0 0 $single-margin;
margin: 0 0 $single-margin;
}
}
+78
View File
@@ -0,0 +1,78 @@
@import "../variables";
.article {
margin-bottom: $post-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: 100%;
max-height: 40em;
display: block;
margin: 1.25em auto $small-margin;
}
ul{
margin-bottom: 1.25em;
list-style: none;
padding-left: $single-margin;
}
p{
margin-bottom: 1.25em;
}
blockquote {
background-color: hsl(215, 10%, 96%);
padding: 1em 1em .5em;
margin: $single-margin 0;
font-family: $title-font;
font-style: italic;
font-weight: normal;
font-size: 1.25em;
cite {
margin-top: $single-margin;
display: block;
color: #aaa;
font-size: initial;
font-family: $text-font;
text-align: right;
margin-right: $single-margin;
}
}
}
}
@media (max-width: $mobile-width) {
.article {
&__body {
img {
max-height: 20em;
}
}
}
}
-51
View File
@@ -1,51 +0,0 @@
@import "../variables";
.event-post {
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: 100%;
max-height: 40em;
display: block;
margin: 1.25em auto $small-margin;
}
p {
margin-bottom: 1.25em;
}
}
}
@media (max-width: $mobile-width) {
.event-post {
&__body {
img {
max-height: 20em;
}
}
}
}
+1
View File
@@ -11,6 +11,7 @@ $percentage: 25%;
width: 13em;
height: 15em;
margin: 0 $single-margin $double-margin;
overflow: hidden;
h3 {
text-align: center;
+8 -1
View File
@@ -30,7 +30,14 @@
}
.navigation__right {
padding: 0 $single-margin;
display: none;
}
}
@media screen and (min-width: $tablet-min-width) and (max-width: $tablet-max-width) {
@media screen and (orientation: portrait) {
.navigation__right {
display: none;
}
}
}
+1 -1
View File
@@ -12,7 +12,7 @@
.page-collective {
&__collective-image {
min-height: 40em;
//min-height: 40em;
}
}
+3 -1
View File
@@ -1,9 +1,11 @@
@import "../variables";
.parallax {
width: 1280px;
height: 1000px;
position: relative;
margin: 0 auto;
position: relative;
overflow: hidden;
&__layer {
+49
View File
@@ -4,7 +4,11 @@ $current-week-day-color: $blue-color;
$cell-width: 9em;
$cell-tablet-width: 7.5em;
$group-cell-width: 4em;
$group-cell-tablet-width: 3em;
$current-week-day-color: $blue-color;
$row-padding: $single-margin 0;
$current-day-column-border-thickness: 3px;
@@ -96,3 +100,48 @@ $current-day-column-border-thickness: 3px;
// left: 15%;
// background-image: url(lesson-canceled.svg);
//}
@media screen and (min-width: $tablet-min-width) and (max-width: $tablet-max-width) {
.schedule-table {
min-width: 900px;
.lesson {
font-size: .9em;
font-weight: normal;
}
.teacher {
font-size: .9em;
font-weight: normal;
}
&__head{
& > div{
min-width: $cell-tablet-width;
}
& > .group{
min-width: $group-cell-tablet-width;
}
}
//&__body-row{
// justify-content: center;
//}
&__body-group{
min-width: $group-cell-tablet-width;
p.name {
font-size: 1em;
}
}
&__record{
min-width: $cell-tablet-width;
}
}
//@media screen and (orientation: portrait) {
//}
}
+2 -1
View File
@@ -26,9 +26,10 @@ $info-width: 100% - $picture-width;
padding-left: $single-margin;
box-sizing: border-box;
h3 {
h2 {
font-size: $big-font-size;
font-weight: 200;
text-align: left;
strong {
font-weight: 600;
@@ -9,18 +9,26 @@ $image-border-thickness: $half-margin;
}
.timeline-record-instagram__head {
margin-bottom: $single-margin;
margin-bottom: 1.25em;
//margin-bottom: $single-margin;
.date {
text-align: center;
color: #aaa;
}
}
.timeline-record-instagram__body {
img {
max-width: 640px;
width: 100%;
height: auto;
box-sizing: border-box;
border: $image-border-thickness solid white;
box-shadow: $white-shadow;
border-radius: $image-border-radius;
margin-bottom: $single-margin;
margin: 0 auto $single-margin;
display: block;
}
}
@@ -35,8 +43,11 @@ $image-border-thickness: $half-margin;
}
img {
display: inline;
width: $user-size;
height: $user-size;
border-radius: 50%;
border: none;
box-shadow: none;
}
}
@@ -1,31 +0,0 @@
@import "../variables";
.timeline-record-post {
}
.timeline-record-post__head {
margin-bottom: $single-margin;
}
.timeline-record-post__body{
padding-left: $single-margin;
ul{
list-style: none;
padding-left: $single-margin;
}
p, ul{
margin-bottom: $single-margin/2;
}
img {
width: 100%;
height: auto;
box-sizing: border-box;
border: .5em solid white;
box-shadow: 0 .2em 0.35em rgba(0, 0, 0, 0.35);
border-radius: .35em;
margin: 0 0 1em;
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
@import "../variables";
.timeline__record {
margin: 0 0 $double-margin;
margin: 0 0 $post-margin;
.date {
//margin: 0 0 0.45em;
+47 -1
View File
@@ -28,7 +28,7 @@
}
}
@media (max-width: $mobile-width) {
@media screen and (max-width: $mobile-width) {
$content-mobile: 90%;
.content {
@@ -49,3 +49,49 @@
}
}
}
@media screen and (min-width: $tablet-min-width) and (max-width: $tablet-max-width) {
$thin-value: 70%;
$wide-value: 95%;
$semi-wide-value: 80%;
.content {
overflow-x: scroll;
&.content_wide {
width: $wide-value;
}
&.content_semi-wide {
width: $semi-wide-value;
}
&.content_thin {
width: $thin-value;
}
&.content--padding-top--menu {
padding-top: $menu-thickness + $double-margin;
}
}
@media screen and (orientation: portrait) {
$wide-value: 100%;
$thin-value: 80%;
$semi-wide-value: 95%;
.content {
&.content_wide {
width: $wide-value;
}
&.content_semi-wide {
width: $semi-wide-value;
}
&.content_thin {
width: $thin-value;
}
}
}
}
+1
View File
@@ -3,6 +3,7 @@
$uri: '/graphics/rawline.png';
footer {
//width: 100%;
color: $light-color;
padding: 0 $half-margin $half-margin;
position: relative;
+7
View File
@@ -0,0 +1,7 @@
@import "variables";
.main-image{
display: flex;
justify-content: center;
overflow: hidden;
}
+5 -1
View File
@@ -18,7 +18,11 @@ h2{
text-align: center;
margin-bottom: $single-margin;
background-color: hsl(0, 0, 95%);
//background-color: hsl(0, 0, 95%);
}
h1, h2{
font-family: $title-font;
}
h3{
+3 -2
View File
@@ -8,11 +8,11 @@
@import "components/breadcrumbs";
@import "components/timeline";
@import "components/timeline-record";
@import "components/timeline-record-post";
@import "components/timeline-record-instagram";
@import "components/schedule-table";
@import "components/footer-links";
@import "components/event-post";
@import "components/article";
@import "components/article-page-control";
@import "components/album";
@import "components/parallax";
@@ -25,6 +25,7 @@
@import "page";
@import "content";
@import "page-animation";
@import "main-image";
@import "schedule-selector";
@import "schedule-mobile";
+5 -1
View File
@@ -2,6 +2,9 @@
$mobile-width: 31.25em;
$desktop-width: 59.99999em;
$tablet-min-width: 31.25em;
$tablet-max-width: 64em;
$content-full: 100%;
$content-wide: 80%;
$content-semi-wide: 70%;
@@ -12,6 +15,7 @@ $small-margin: .2em;
$half-margin: .5em;
$single-margin: 1.0em;
$double-margin: 3.0em;
$post-margin: 5.0em;
//COLOR
$dark-color: hsl(0, 0%, 20%);
@@ -35,7 +39,7 @@ $schedule-row-color: hsl(210, 55%, 90%);
$white-shadow: 0 .1em 0.3em rgba(0, 0, 0, 0.2);
//FONTS
$title-font: "PT Sans", Arial, sans-serif;
$title-font: "PT Serif", Georgia, serif;
$text-font: "PT Sans", Arial, sans-serif;
$normal-font-size: 1em;