1
0

Cleanup 3

This commit is contained in:
Michael Gordeev
2019-12-16 00:54:24 +03:00
parent e15bbce9ad
commit 0d5109c48c
23 changed files with 302 additions and 265 deletions
@@ -1,37 +0,0 @@
article {
margin: 0px;
}
.block {
position: relative;
margin-bottom: -10px;
z-index: -1;
}
.block .content {
position: absolute;
}
.block .background {
width: 100%;
}
.intro {
color: white;
background-color: #00a7dc;
font-size: 36px;
text-shadow: 2px 2px 1px black;
}
.intro .content {
bottom: 50px;
left: 50px;
max-width: 65%;
}
.sut {
color: white;
background-color: #ff8000;
font-size: 28px;
text-shadow: 2px 2px 1px black;
}
.sut .content {
margin: 50px 50px;
}
@@ -1,33 +1,51 @@
footer {
display: none;
footer
{
display: none;
}
.contact-me {
padding: 30px 50px;
background-color: #1e1e1e;
color: white;
#contact-me
{
padding: 30px 50px;
margin: 0px;
background-color: #1e1e1e;
color: white;
}
var {
color: #569cd6;
font: inherit;
}
#contact-me var
{
color: #569cd6;
font: inherit;
}
.class {
color: #4ec9b0;
}
#contact-me .class
{
color: #4ec9b0;
}
.string, .string:visited {
color: #d69d85;
text-decoration: none;
}
.string:link:hover {
text-decoration: underline;
}
#contact-me .method
{
color: #dcdcaa;
}
.method {
color: #dcdcaa;
}
#contact-me div
{
margin-left: 25px;
}
.t1 { margin-right: 25px; }
.t2 { margin-right: 50px; }
#contact-me span a,
#contact-me span a:visited
{
color: #d69d85;
text-decoration: none;
}
#contact-me span a:before,
#contact-me span a:after
{
content: "\"";
}
#contact-me span a:link:hover
{
text-decoration: underline;
}
+45 -31
View File
@@ -1,35 +1,49 @@
.gallery img {
object-fit: cover;
max-height: 300px;
max-width: 100%;
margin: 2px;
transition: .25s;
}
.gallery img:hover {
filter: brightness(125%);
transform: scale(1.1);
/* Gallery styles */
.gallery img
{
object-fit: cover;
max-height: 300px;
max-width: 100%;
margin: 2px;
transition: .25s;
}
.image-overview-block img {
max-height: 50vh;
max-width: 100%;
float: left;
cursor: zoom-in;
}
.image-overview-block div {
display: inline-block;
margin-left: 20px;
}
.image-overview-block h1 {
margin-bottom: 0px;
.gallery img:hover
{
filter: brightness(125%);
transform: scale(1.1);
}
/* Adaptive code */
@media only screen and (max-width: 600px)
{
.gallery img
{
max-height: none;
}
.gallery img:hover
{
transform: none;
}
}
@media only screen and (max-width: 600px) {
.gallery img {
max-height: none;
}
.gallery img:hover {
filter: brightness(125%);
transform: none;
}
}
/* Image details page styles */
.image-overview-block img
{
max-height: 50vh;
max-width: 100%;
float: left;
cursor: zoom-in;
}
.image-overview-block div
{
display: inline-block;
margin-left: 20px;
}
.image-overview-block h1
{
margin-bottom: 0px;
}
+49 -31
View File
@@ -1,41 +1,59 @@
header {
display: grid;
grid-template-columns: 1fr auto;
grid-template-rows: auto auto;
grid-column-gap: 20px;
margin-bottom: 20px;
/* Header style rules */
header
{
display: grid;
grid-template-columns: 1fr auto;
grid-column-gap: 20px;
margin: 20px 50px;
}
article {
margin: 0px 10px;
h1
{
margin: 0px;
}
.github-stats {
margin-top: 20px;
width: 200px;
height: 110px;
.github-stats
{
width: 200px;
height: 110px;
}
.project-item {
display: grid;
padding: 20px;
padding-top: 0px;
grid-template-rows: auto auto;
grid-row-gap: 20px;
background-color: whitesmoke;
margin-bottom: 10px;
@media only screen and (max-width: 600px)
{
.github-stats
{
grid-row: 2;
}
}
.badge {
height: 25px;
width: 25px;
margin-right: 10px;
display: inline-block;
background-size: contain;
/* Content styles */
article
{
display: grid;
grid-row-gap: 10px;
margin: 0px 10px;
}
@media only screen and (max-width: 600px) {
.github-stats {
grid-row: 2;
}
}
.project-item
{
display: grid;
padding: 20px;
grid-row-gap: 20px;
background-color: whitesmoke;
}
.badge-placeholder
{
display: grid;
grid-column-gap: 10px;
grid-auto-columns: max-content;
grid-auto-flow: column;
}
.badge-placeholder div
{
height: 25px;
width: 25px;
display: inline-block;
background-size: contain;
}
+129 -103
View File
@@ -2,129 +2,155 @@
This file contains main layout styles which applies to every View. In some views this rules are overrided in separate CSS files
*/
/*Declaring fonts*/
@font-face {
font-family: 'Consolas';
src: url("/fonts/consolas.eot");
src: url("/fonts/consolas.eot?#iefix") format("embedded-opentype"), url("/fonts/consolas.otf") format("opentype"), url("/fonts/consolas.svg") format("svg"), url("/fonts/consolas.ttf") format("truetype"), url("/fonts/consolas.woff") format("woff"), url("/fonts/consolas.woff2") format("woff2");
/* Declaring fonts */
@font-face
{
font-family: 'Consolas';
src: url("/fonts/consolas.eot");
src: url("/fonts/consolas.eot?#iefix") format("embedded-opentype"), url("/fonts/consolas.otf") format("opentype"), url("/fonts/consolas.svg") format("svg"), url("/fonts/consolas.ttf") format("truetype"), url("/fonts/consolas.woff") format("woff"), url("/fonts/consolas.woff2") format("woff2");
}
@font-face {
font-family: 'Segoe MDL2 Assets';
src: url("/fonts/segoeMLD2assets.eot");
src: url("/fonts/segoeMLD2assets.eot?#iefix") format("embedded-opentype"), url("/fonts/segoeMLD2assets.otf") format("opentype"), url("/fonts/segoeMLD2assets.svg") format("svg"), url("/fonts/segoeMLD2assets.ttf") format("truetype"), url("/fonts/segoeMLD2assets.woff") format("woff"), url("/fonts/segoeMLD2assets.woff2") format("woff2");
@font-face
{
font-family: 'Segoe MDL2 Assets';
src: url("/fonts/segoeMLD2assets.eot");
src: url("/fonts/segoeMLD2assets.eot?#iefix") format("embedded-opentype"), url("/fonts/segoeMLD2assets.otf") format("opentype"), url("/fonts/segoeMLD2assets.svg") format("svg"), url("/fonts/segoeMLD2assets.ttf") format("truetype"), url("/fonts/segoeMLD2assets.woff") format("woff"), url("/fonts/segoeMLD2assets.woff2") format("woff2");
}
/*Header styles*/
nav {
display: grid;
grid-template-columns: auto 1fr auto;
grid-column-gap: 10px;
grid-template-rows: auto auto;
background-color: #343434;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 10;
padding: 10px;
min-height: 33px;
font-size: 26px;
/* Header styles */
nav
{
display: grid;
grid-template-columns: auto 1fr auto;
grid-column-gap: 10px;
grid-template-rows: auto auto;
background-color: #343434;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 10;
padding: 10px;
min-height: 33px;
font-size: 26px;
}
nav a {
text-decoration: none;
color: white;
}
nav a:hover {
color: gray;
}
nav div {
grid-column: 3;
user-select: none;
cursor: pointer;
}
menu {
margin: 26px auto 26px auto;
grid-row: 2;
list-style: none;
}
menu li {
font-size: 20px;
margin-top: 10px;
nav a
{
text-decoration: none;
color: white;
}
nav a:hover
{
color: gray;
}
nav div
{
grid-column: 3;
user-select: none;
cursor: pointer;
}
menu
{
margin: 26px auto 26px auto;
grid-row: 2;
list-style: none;
}
/*Adaptive code*/
@media only screen and (min-width: 1000px) {
menu {
display: initial !important;
grid-row: 1;
grid-column: 2;
margin: 0px;
}
menu li
{
font-size: 20px;
margin-top: 10px;
}
menu li {
display: inline-block;
margin-right: 10px;
margin-top: 0px;
}
/* Adaptive code */
@media only screen and (min-width: 1000px)
{
menu
{
display: initial !important;
grid-row: 1;
grid-column: 2;
margin: 0px;
}
#menu-toggle {
display: none;
}
menu li
{
display: inline-block;
margin-right: 10px;
margin-top: 0px;
}
#menu-toggle
{
display: none;
}
}
/*Footer styles*/
footer {
padding: 10px;
display: grid;
align-items: center;
grid-template-columns: 1fr auto;
grid-column-gap: 10px;
}
footer a {
text-decoration: none;
color: black;
}
footer a:hover {
color: orangered;
/* Footer styles */
footer
{
padding: 10px;
display: grid;
align-items: center;
grid-template-columns: 1fr auto;
grid-column-gap: 10px;
}
/*Body styles*/
html {
overflow: hidden;
footer a
{
text-decoration: none;
color: black;
}
footer a:hover
{
color: orangered;
}
/* Body styles */
html
{
overflow: hidden;
}
body {
overflow: auto;
margin: 0px;
margin-top: 53px;
font-family: 'Consolas', 'Segoe MDL2 Assets';
/*This stuff is necessary for sticky footer*/
display: grid;
grid-template-rows: 1fr auto;
height: calc(100vh - 53px);
body
{
overflow: auto;
margin: 0px;
margin-top: 53px;
font-family: 'Consolas', 'Segoe MDL2 Assets';
/* This stuff is necessary for sticky footer */
display: grid;
grid-template-rows: 1fr auto;
height: calc(100vh - 53px);
}
header a {
text-decoration: none;
color: black;
}
header a:hover {
text-decoration: underline;
header a
{
text-decoration: none;
color: black;
}
article, header {
margin: 0px 50px;
header a:hover
{
text-decoration: underline;
}
article, header
{
margin: 0px 50px;
}
article a:visited, article a:link {
color: blue;
}
article a:visited, article a:link
{
color: blue;
}
.comment, .comment:visited {
color: #57a64a !important;
}
.comment, .comment:visited
{
color: #57a64a !important;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 897 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 MiB