It's the last time I do such commit, I promise
This commit is contained in:
+107
-47
@@ -1,54 +1,114 @@
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
.navbar {
|
||||
background-color: rgb(34, 34, 33);
|
||||
padding: 10px;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
position: fixed;
|
||||
right: 0%;
|
||||
left: 0%;
|
||||
}
|
||||
.navbar a {
|
||||
color: white;
|
||||
font-size: 26px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.navbar a:hover {
|
||||
color: gray;
|
||||
}
|
||||
.navbar ul {
|
||||
display: inline;
|
||||
list-style: none;
|
||||
}
|
||||
.navbar li {
|
||||
display: inline;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.navbar li a {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
.content {
|
||||
padding-top: 50px;
|
||||
@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");
|
||||
}
|
||||
|
||||
.gallery {
|
||||
margin: 10px 50px;
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
@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");
|
||||
}
|
||||
.gallery img {
|
||||
transition: .25s;
|
||||
object-fit: cover;
|
||||
max-width: 300px;
|
||||
height: 200px;
|
||||
margin: 2px;
|
||||
|
||||
/*Header styles*/
|
||||
.navbar {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto auto;
|
||||
grid-column-gap: 10px;
|
||||
grid-template-rows: auto auto;
|
||||
background-color: #343434;
|
||||
position: sticky;
|
||||
z-index: 10;
|
||||
padding: 10px;
|
||||
font-size: 26px;
|
||||
}
|
||||
.gallery img:hover {
|
||||
filter: brightness(125%);
|
||||
transform: scale(1.25);
|
||||
|
||||
.navbar a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
.header {
|
||||
.navbar a:hover {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.main-menu { margin: 0px; }
|
||||
.main-menu li {
|
||||
display: inline-block;
|
||||
font-size: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.language-switch {
|
||||
grid-column: 3;
|
||||
display: none;
|
||||
user-select: none
|
||||
}
|
||||
.menu-toggle {
|
||||
grid-column: 4;
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
#compact-menu {
|
||||
grid-row: 2;
|
||||
list-style: none;
|
||||
}
|
||||
#compact-menu li {
|
||||
font-size: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/*Footer styles*/
|
||||
footer {
|
||||
padding: 10px;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: 1fr auto auto auto;
|
||||
grid-column-gap: 10px;
|
||||
}
|
||||
footer a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
font-size: 36px;
|
||||
font-weight: bold;
|
||||
}
|
||||
footer a:hover {
|
||||
color: orangered;
|
||||
}
|
||||
|
||||
/*Body styles*/
|
||||
body {
|
||||
margin: 0px;
|
||||
font-family: Consolas, 'Segoe MDL2 Assets';
|
||||
}
|
||||
main {
|
||||
min-height: calc(100vh - 115px); /*Page height minus footer requred space*/
|
||||
}
|
||||
|
||||
header a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
header a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
article, header {
|
||||
margin: 0px 50px;
|
||||
}
|
||||
|
||||
article a:visited, article a:link {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.comment, .comment:visited {
|
||||
color: #57a64a;
|
||||
}
|
||||
|
||||
/*Adaptive code*/
|
||||
@media only screen and (max-width: 1000px) {
|
||||
.main-menu {
|
||||
display: none;
|
||||
}
|
||||
.menu-toggle {
|
||||
display: initial;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user