Move content to docs folder and fix docker-compose(#367)

This commit is contained in:
Dmitri Karpovich
2023-08-05 23:03:48 +02:00
committed by GitHub
parent 54d715c5c3
commit c4ef65983e
1428 changed files with 17 additions and 10 deletions

287
docs/_sass/_base.scss Normal file
View File

@ -0,0 +1,287 @@
/* ======= Base ======= */
body {
font-family: "Roboto", sans-serif;
color: $text-color-secondary;
background: $smoky-white;
font-size: 14px;
padding: 30px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 700;
}
a {
color: darken($theme-color, 15%);
&:hover {
text-decoration: underline;
color: darken($theme-color, 30%);
}
&:focus {
text-decoration: none;
}
}
p {
line-height: 1.5;
}
.wrapper {
display: grid;
grid-template-columns: repeat(10, 1fr);
background: $theme-color;
max-width: 1000px;
margin: 0 auto;
position: relative;
@include box-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
}
.sidebar-wrapper {
grid-column: span 3;
order: $sidebar-order;
background: $theme-color;
color: #fff;
a {
color: #fff;
}
.profile-container {
padding: 30px;
//background: darken($theme-color, 10%);
background: rgba(0, 0, 0, 0.2);
text-align: center;
color: #fff;
}
.name {
font-size: 32px;
font-weight: 900;
margin-top: 0;
margin-bottom: 10px;
}
.tagline {
color: rgba(256, 256, 256, 0.6);
font-size: 16px;
font-weight: 400;
margin-top: 0;
margin-bottom: 0;
}
.profile {
margin-bottom: 15px;
}
.avatar {
//used for profile image
max-width: 100px;
margin-bottom: 15px;
border: 0px solid #fff;
border-radius: 100%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.contact-list {
.fas,
.fab,
.far {
margin-right: 5px;
font-size: 18px;
vertical-align: middle;
}
li {
margin-bottom: 15px;
&:last-child {
margin-bottom: 0;
}
}
}
.container-block {
padding: 30px;
}
.container-block-title {
text-transform: uppercase;
font-size: 16px;
font-weight: 700;
margin-top: 0;
margin-bottom: 15px;
}
.degree {
font-size: 14px;
margin-top: 0;
margin-bottom: 5px;
}
.education-container {
.item {
margin-bottom: 15px;
&:last-child {
margin-bottom: 0;
}
}
.meta {
color: rgba(256, 256, 256, 0.6);
font-weight: 500;
margin-bottom: 0px;
margin-top: 0;
}
.time {
color: rgba(256, 256, 256, 0.6);
font-weight: 500;
margin-bottom: 0px;
}
}
.languages-container {
.lang-desc {
color: rgba(256, 256, 256, 0.6);
}
}
.languages-list {
margin-bottom: 0;
li {
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
}
.interests-list {
margin-bottom: 0;
li {
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
}
}
.main-wrapper {
grid-column: span 7;
order: $resume-order;
background: #fff;
padding: 60px;
.section-title {
text-transform: uppercase;
font-size: 20px;
font-weight: 500;
color: darken($theme-color, 15%);
position: relative;
margin-top: 0;
margin-bottom: 20px;
}
.section {
margin-bottom: 60px;
}
.experiences-section,
.educations-section {
.item {
margin-bottom: 30px;
}
}
.upper-row,
.second-upper-row {
position: relative;
overflow: hidden;
margin-bottom: 2px;
display: flex;
}
.job-title,
.degree,
.cert-title{
color: $text-color;
font-size: 16px;
margin-top: 0;
margin-bottom: 0;
font-weight: 500;
flex: 75%;
}
.time,
.cert-url {
position: absolute;
right: 0;
top: 0;
color: $text-grey;
flex: 25%;
}
.company,
.university,
.cert-org {
margin-bottom: 10px;
color: $text-grey;
}
.project-title {
font-size: 16px;
font-weight: 400;
margin-top: 0;
margin-bottom: 5px;
color: darken($theme-color, 15%);
}
.projects-section {
.intro {
margin-bottom: 30px;
}
.item {
margin-bottom: 15px;
}
}
.publication-title {
font-size: 16px;
font-weight: 400;
color: $text-color;
margin-bottom: 1px;
}
.publication-authors {
font-style: italic;
color: $text-grey;
margin-bottom: 1px;
}
.publications-section {
.intro {
margin-bottom: 30px;
}
.item {
margin-bottom: 15px;
}
}
}
.skillset {
.item {
margin-bottom: 15px;
overflow: hidden;
}
.level-title {
font-size: 14px;
margin-top: 0;
margin-bottom: 12px;
}
.level-bar {
height: 12px;
background: $smoky-white;
}
.level-bar-inner {
height: 12px;
background: lighten($theme-color, 15%);
}
}
.footer {
padding-top: 30px;
.copyright {
line-height: 1.6;
color: $text-color-secondary;
font-size: 13px;
}
.fa-heart {
color: $heart;
}
}

13
docs/_sass/_default.scss Normal file
View File

@ -0,0 +1,13 @@
/*
* Template Name: Orbit - Responsive Resume/CV Template for Developers
* Version: 1.0
* Author: Xiaoying Riley
* Twitter: @3rdwave_themes
* License: Creative Commons Attribution 3.0 License
* Website: http://themes.3rdwavemedia.com/
*/
@import "mixins";
@import "base";
@import "responsive";
@import "print";

186
docs/_sass/_mixins.scss Normal file
View File

@ -0,0 +1,186 @@
@mixin text-shadow($string: 0 1px 3px rgba(0, 0, 0, 0.25)){
text-shadow: $string;
}
@mixin box-shadow($string){
-webkit-box-shadow: $string;
-moz-box-shadow: $string;
box-shadow: $string;
}
@mixin drop-shadow($x: 0, $y: 1px, $blur: 2px, $spread: 0, $alpha: 0.25){
-webkit-box-shadow: $x $y $blur $spread rgba(0, 0, 0, $alpha);
-moz-box-shadow: $x $y $blur $spread rgba(0, 0, 0, $alpha);
box-shadow: $x $y $blur $spread rgba(0, 0, 0, $alpha);
}
@mixin inner-shadow($x: 0, $y: 1px, $blur: 2px, $spread: 0, $alpha: 0.25){
-webkit-box-shadow: inset $x $y $blur $spread rgba(0, 0, 0, $alpha);
-moz-box-shadow: inset $x $y $blur $spread rgba(0, 0, 0, $alpha);
box-shadow: inset $x $y $blur $spread rgba(0, 0, 0, $alpha);
}
@mixin box-sizing($type: border-box){
-webkit-box-sizing: $type;
-moz-box-sizing: $type;
box-sizing: $type;
}
@mixin border-radius($radius: 5px){
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
-o-border-radius: $radius;
border-radius: $radius;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
@mixin border-radiuses($topright: 0, $bottomright: 0, $bottomleft: 0, $topleft: 0){
-webkit-border-top-right-radius: $topright;
-webkit-border-bottom-right-radius: $bottomright;
-webkit-border-bottom-left-radius: $bottomleft;
-webkit-border-top-left-radius: $topleft;
-moz-border-radius-topright: $topright;
-moz-border-radius-bottomright: $bottomright;
-moz-border-radius-bottomleft: $bottomleft;
-moz-border-radius-topleft: $topleft;
border-top-right-radius: $topright;
border-bottom-right-radius: $bottomright;
border-bottom-left-radius: $bottomleft;
border-top-left-radius: $topleft;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
@mixin opacity($opacity: 0.5){
-webkit-opacity: $opacity;
-moz-opacity: $opacity;
opacity: $opacity;
}
@mixin gradient($startColor: #eee, $endColor: white){
background-color: $startColor;
background: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor));
background: -webkit-linear-gradient(top, $startColor, $endColor);
background: -moz-linear-gradient(top, $startColor, $endColor);
background: -ms-linear-gradient(top, $startColor, $endColor);
background: -o-linear-gradient(top, $startColor, $endColor);
}
@mixin horizontal-gradient($startColor: #eee, $endColor: white){
background-color: $startColor;
background-image: -webkit-gradient(linear, left top, right top, from($startColor), to($endColor));
background-image: -webkit-linear-gradient(left, $startColor, $endColor);
background-image: -moz-linear-gradient(left, $startColor, $endColor);
background-image: -ms-linear-gradient(left, $startColor, $endColor);
background-image: -o-linear-gradient(left, $startColor, $endColor);
}
@mixin animation($name, $duration: 300ms, $delay: 0, $ease: ease){
-webkit-animation: $name $duration $delay $ease;
-moz-animation: $name $duration $delay $ease;
-ms-animation: $name $duration $delay $ease;
}
@mixin transition($transition){
-webkit-transition: $transition;
-moz-transition: $transition;
-ms-transition: $transition;
-o-transition: $transition;
}
@mixin transform($string){
-webkit-transform: $string;
-moz-transform: $string;
-ms-transform: $string;
-o-transform: $string;
}
@mixin scale($factor){
-webkit-transform: scale($factor);
-moz-transform: scale($factor);
-ms-transform: scale($factor);
-o-transform: scale($factor);
}
@mixin rotate($deg){
-webkit-transform: rotate($deg);
-moz-transform: rotate($deg);
-ms-transform: rotate($deg);
-o-transform: rotate($deg);
}
@mixin skew($deg, $deg2){
-webkit-transform: skew($deg, $deg2);
-moz-transform: skew($deg, $deg2);
-ms-transform: skew($deg, $deg2);
-o-transform: skew($deg, $deg2);
}
@mixin translate($x, $y:0){
-webkit-transform: translate($x, $y);
-moz-transform: translate($x, $y);
-ms-transform: translate($x, $y);
-o-transform: translate($x, $y);
}
@mixin translate3d($x, $y: 0, $z: 0){
-webkit-transform: translate3d($x, $y, $z);
-moz-transform: translate3d($x, $y, $z);
-ms-transform: translate3d($x, $y, $z);
-o-transform: translate3d($x, $y, $z);
}
@mixin perspective($value: 1000){
-webkit-perspective: $value;
-moz-perspective: $value;
-ms-perspective: $value;
perspective: $value;
}
@mixin transform-origin($x:center, $y:center){
-webkit-transform-origin: $x $y;
-moz-transform-origin: $x $y;
-ms-transform-origin: $x $y;
-o-transform-origin: $x $y;
}
@mixin reset-box-sizing($size:content-box){
&,
*,
*:before,
*:after {
@include box-sizing($size);
}
}
@mixin truncate($max-width: 250px){
max-width: $max-width;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@mixin background-size($string: contain){
-webkit-background-size: $string;
-moz-background-size: $string;
-o-background-size: $string;
background-size: $string;
}
// retina.less
// A helper mixin for applying high-resolution background images (http://www.retinajs.com)
$highdpi: #{"(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)"};
@mixin background-image-retina($file, $type, $width, $height) {
background-image: url($file + '.' + $type);
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx){
& {
background-image: url($file + '@2x.' + $type);
-webkit-background-size: $width $height;
-moz-background-size: $width $height;
-o-background-size: $width $height;
background-size: $width $height;
}
}
}

45
docs/_sass/_print.scss Normal file
View File

@ -0,0 +1,45 @@
@media print
{
@page {
size: A4;
}
body {
font-size: 12pt;
}
img.avatar {
filter: grayscale(1);
-webkit-filter: greyscale(1);
}
.main-wrapper .time {
float: right;
color: black !important;
-webkit-print-color-adjust: exact;
}
.sidebar-wrapper {
position: static;
float: right;
width: 40%;
-webkit-print-color-adjust: exact;
}
.remove-container.container-block {
display: none;
}
footer {
display: none;
}
.skillset .level-bar-inner {
background-color: black !important;
-webkit-print-color-adjust: exact;
}
.fa-inverse,
.fa-inverse:after,
.fa-inverse:before {
color: #ffffff !important;
}
}

View File

@ -0,0 +1,58 @@
/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
body {
padding: 0;
}
.sidebar-wrapper {
position: static;
width: inherit;
}
.wrapper {
display: block;
}
.main-wrapper {
padding: 30px;
}
.main-wrapper .time {
position: static;
display: block;
margin-top: 5px;
}
.main-wrapper .upper-row {
margin-bottom: 0;
}
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
.skillset .level-title {
display: inline-block;
float: left;
width: 30%;
margin-bottom: 0;
}
.skillset .level-bar {
display: inline-block;
width: 70%;
float: left;
position: relative;
top: 1px;
}
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
/* Ex-Large devices (large desktops, 1200px and up) */
@media (min-width: 1400px) {
}

View File

@ -0,0 +1,10 @@
/* Berry variables */
$theme-color: #A15277;
$text-color: #3F4650;
$text-color-secondary: #545E6C;
$text-grey: #97AAC3;
$divider: #e8e8e8;
$lighter-grey: #ccc;
$darker-grey: #666;
$smoky-white: #f5f5f5;
$heart: #fb866a;

View File

@ -0,0 +1,10 @@
/* Blue variables */
$theme-color: #42A8C0;
$text-color: #3F4650;
$text-color-secondary: #545E6C;
$text-grey: #97AAC3;
$divider: #e8e8e8;
$lighter-grey: #ccc;
$darker-grey: #666;
$smoky-white: #f5f5f5;
$heart: #fb866a;

View File

@ -0,0 +1,10 @@
/* styles-6 variables */
$theme-color: #4B6A78;
$text-color: #3F4650;
$text-color-secondary: #545E6C;
$text-grey: #97AAC3;
$divider: #e8e8e8;
$lighter-grey: #ccc;
$darker-grey: #666;
$smoky-white: #f5f5f5;
$heart: #fb866a;

View File

@ -0,0 +1,10 @@
/* Green variables */
$theme-color: #5BB66F;
$text-color: #3F4650;
$text-color-secondary: #545E6C;
$text-grey: #97AAC3;
$divider: #e8e8e8;
$lighter-grey: #ccc;
$darker-grey: #666;
$smoky-white: #f5f5f5;
$heart: #fb866a;

View File

@ -0,0 +1,10 @@
/* Orange variables */
$theme-color: #FDA246;
$text-color: #3F4650;
$text-color-secondary: #545E6C;
$text-grey: #97AAC3;
$divider: #e8e8e8;
$lighter-grey: #ccc;
$darker-grey: #666;
$smoky-white: #f5f5f5;
$heart: #fb866a;

View File

@ -0,0 +1,10 @@
/* Turquoise variables */
$theme-color: #4CAC9D;
$text-color: #3F4650;
$text-color-secondary: #545E6C;
$text-grey: #97AAC3;
$divider: #e8e8e8;
$lighter-grey: #ccc;
$darker-grey: #666;
$smoky-white: #f5f5f5;
$heart: #fb866a;