Этот коммит содержится в:
2017-01-26 05:21:02 +03:00
родитель a52e24ae45
Коммит b6f7196aa5
21 изменённых файлов: 681 добавлений и 12 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@@ -195,10 +195,12 @@ template {
[hidden] {
display: none;
}
/** sprite */
/** ptest css */
body {
font-family: Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
font-size: 16px;
min-width: 320px;
}
a {
color: #0063ff;
@@ -214,6 +216,20 @@ a:visited:hover {
color: #ff475d;
border-bottom-color: rgba(255,71,93,0.24);
}
a.to-front {
border-bottom: 0 none;
display: block;
margin-top: -5px;
margin-bottom: 2em;
line-height: 1;
}
a.to-front:visited {
color: #0063ff;
}
a.to-front:hover,
a.to-front:visited:hover {
color: #ff475d;
}
.page__container {
max-width: 800px;
margin: 0 auto;
@@ -251,6 +267,82 @@ a:visited:hover {
.content {
padding-bottom: 76px;
}
.content p {
margin: 26px 0;
line-height: 24px;
}
.sort {
display: table-row;
}
.sort__cell {
display: table-cell;
}
.sort__cell+.sort__cell {
padding-left: 9px;
}
.sort__cell>a {
border-bottom: 0 none;
line-height: 1;
}
.sort__cell>a:visited {
color: #0063ff;
}
.sort__cell>a:hover,
.sort__cell>a:visited:hover {
color: #ff475d;
}
article+article {
margin-top: 64px;
}
.pager {
margin-top: 50px;
font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
line-height: 40px;
font-size: 20px;
}
.pager__page {
display: inline-block;
}
.pager__page--current {
cursor: default;
}
.pager__page>a {
border-bottom: none;
color: #000;
padding: 8px 12px;
-webkit-border-radius: 35px;
-moz-border-radius: 35px;
-o-border-radius: 35px;
-ms-border-radius: 35px;
-khtml-border-radius: 35px;
border-radius: 35px;
}
.pager__page>a:hover {
color: #000;
background-color: rgba(255,71,93,0.24);
}
.pager__page>span {
background-color: rgba(222,173,111,0.5);
padding: 8px 12px;
-webkit-border-radius: 35px;
-moz-border-radius: 35px;
-o-border-radius: 35px;
-ms-border-radius: 35px;
-khtml-border-radius: 35px;
border-radius: 35px;
}
.pager__page--string:first-child {
margin-right: 10px;
}
.pager__page--string:last-child {
margin-left: 9px;
}
.pager__page--string>a {
padding: 8px 0;
}
.pager__page--string>a:hover {
background-color: transparent;
}
.footer {
border-top: 1px solid #dead6f;
padding-top: 24px;
@@ -298,3 +390,118 @@ form {
.form-element__textarea:focus {
border-bottom: 2px solid rgba(255,71,93,0.24);
}
.i-user {
background-image: url("/image/sprite.png");
background-size: 56px 56px;
background-position: -2px -2px;
width: 24px;
height: 24px;
margin-bottom: -6px;
display: inline-block;
margin-right: 5px;
margin-left: 1em;
}
.i-homepage {
background-image: url("/image/sprite.png");
background-size: 56px 56px;
background-position: -30px -30px;
width: 24px;
height: 24px;
margin-bottom: -6px;
display: inline-block;
margin-right: 5px;
}
.i-date {
background-image: url("/image/sprite.png");
background-size: 56px 56px;
background-position: -30px -2px;
width: 24px;
height: 24px;
margin-bottom: -6px;
display: inline-block;
margin-right: 5px;
}
.i-email {
background-image: url("/image/sprite.png");
background-size: 56px 56px;
background-position: -2px -30px;
width: 24px;
height: 24px;
margin-bottom: -6px;
display: inline-block;
margin-right: 5px;
}
@media only screen and (max-width: 829px) {
.page__container {
max-width: auto;
width: 100%;
}
.header {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
margin-top: 0;
}
.content {
width: 90%;
margin: auto;
}
.footer {
padding-left: 5%;
}
}
@media only screen and (max-width: 500px) {
.header {
padding: 20px;
margin-bottom: 36px;
}
.header__title {
font-size: 32px;
}
.page-title {
font-size: 1.35em;
}
article header h2+span {
display: block;
}
.i-user {
margin-left: 0;
}
}
@media only screen and (max-width: 424px) {
.sort {
margin-left: -9px;
}
.sort__cell:first-child {
display: none;
}
.sort__cell:nth-child(2) {
padding-left: 0;
}
}
@media only screen and (max-width: 559px) {
.pager {
font-size: 16px;
line-height: 36px;
}
.pager__page>a {
padding: 5px 8px;
}
.pager__page>span {
padding: 5px 8px;
}
.pager__page--string:first-child {
margin-right: 0;
}
.pager__page--string:last-child {
margin-left: 0;
}
.pager__page--string>a {
padding: 8px 0;
}
}
@media only screen and (max-width: 374px) {
form {
width: 100%;
}
}