Compare commits

..

No commits in common. "31dee4654f6b0577345a6d0a4bbbf1b795d5b7bc" and "de5a0ba39fb9da7eec81f1f59d07af67ec4a9233" have entirely different histories.

2 changed files with 33 additions and 78 deletions

View File

@ -3,21 +3,21 @@
font-family: roboto; font-family: roboto;
src: url(/fonts/Roboto-Regular.ttf) src: url(/fonts/Roboto-Regular.ttf)
} }
@font-face { @font-face {
font-family: overpass; font-family: overpass;
src: url(/fonts/Overpass-Regular.ttf) src: url(/fonts/Overpass-Regular.ttf)
} }
/* Consistent background and text color */ /* Element styling */
html { html {
background-color: #212121; background-color: #212121;
color: #ffffff; color: #ffffff;
font-family: Overpass; font-family: Overpass;
} }
/* Keep the paddings consistent */ footer {
body { width: 100%;
padding: 5px;
} }
h1, h2, h3 { h1, h2, h3 {
@ -29,38 +29,55 @@ a {
color: white; color: white;
} }
/* General fixes */ .page-title {
color: #9b59b6;
}
ul {
margin-top: 2px;
}
/* Layouting */
* { * {
/* To fix sizing issues */ /* To fix sizing issues */
box-sizing: border-box; box-sizing: border-box;
} }
/* Horizontal flow using flexbox */ .container {
.horizontal {
display: flex; display: flex;
justify-content: center;
width: 100%;
}
.horizontal {
flex-direction: row; flex-direction: row;
} }
/* Horizontally centered using flexbox */
.horizontal-center { .horizontal-center {
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 100%;
} }
/* Vertical flow using flexbox */
.vertical { .vertical {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
/*width: 100% !important;*/ width: 100% !important;
} }
/* Vertically center using flexbox */ .subbar-link {
.vertical-center { padding: 5px;
display: flex; }
flex-direction: column;
justify-content: center;
height: 100%; .title-sub {
margin-top: 0px;
margin-bottom: 10px;
color: white;
}
.title-sub-subbar {
margin-top: -20px;
} }
/* Text styling */ /* Text styling */
@ -69,7 +86,6 @@ a {
padding: 4px; padding: 4px;
} }
/* Show a white border at the left side to indicate a quote */
.quote { .quote {
border-left: 2px; border-left: 2px;
border-left-style: solid; border-left-style: solid;
@ -77,7 +93,6 @@ a {
padding-left: 4px; padding-left: 4px;
} }
/* Useful for warning the user of something */
.warning { .warning {
border-left: 2px; border-left: 2px;
border-left-style: solid; border-left-style: solid;
@ -86,63 +101,3 @@ a {
color: #f1c40f; color: #f1c40f;
} }
/* Useful for the footer shown at the bottom of the page */
.footer {
width: 100%;
margin-top: 30px;
}
/* Used a big <img /> showing my avatar */
.avatar {
width: 200px;
height: 200px;
border-radius: 10px;
margin-right: 30px;
}
/* Keep entire site at a reasonable width on wide displays
* but let it stretch all the way on small displays (See media query).
*/
.header {
width: 42%;
}
/* Display the links below the header in a row instead of below each other. */
#header-links ul {
list-style: none;
padding-left: 0px;
margin-bottom: 0px;
margin-top: 0px;
}
#header-links li {
display: inline;
font-size: large;
margin-left: 20px;
}
#header-links li:first-child {
margin-left: 0px;
}
/* Title font for the page */
.name-title {
font-size: xxx-large;
}
/* Small screen adjustments */
@media screen and (max-width: 720px) {
.header {
width: 100%;
}
.name-title {
font-size: x-large;
}
.avatar {
width: 100px;
height: 100px;
margin-right: 10px;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB