curriculum.vitae/src/styles/general.scss

226 lines
4.3 KiB
SCSS

$background_color: #242424;
$color: #a6a6a6;
$color_visited: gray;
$color_hover: #dfdfdf;
$color_active: #a6a6a6;
$div_background_color: #1038a7;
$title_font_family: Roboto;
$title_font_size: 21pt;
$regular_font_family: Lato;
$regular_font_size: 12pt;
$regular_image_font_size: 10.5pt;
$foot_font_size: 9.8pt;
body {
background-color: $background_color;
color: $color;
}
@font-face {
font-family: 'Roboto';
src: url("../images/Roboto-Regular.ttf");
}
@font-face {
font-family: 'Lato';
src: url("../images/Lato-Regular.ttf");
}
.global_segment {
margin-left: auto;
margin-right: auto;
width: 21cm;
a:link {
color: $background_color;
}
a:visited {
color: $color_visited;
}
a:hover {
color: $color_hover;
}
a:active {
color: $color_active;
}
ul {
margin-bottom: 0;
list-style-type: none;
}
li {
padding-top: 15px;
}
.title_bar {
margin-top: 20px;
width: 80%;
float: left;
text-align: left;
font-family: $title_font_family;
font-size: 24pt;
}
.language_bar {
margin-top: 20px;
width: 20%;
float: left;
text-align: right;
font-size: 24pt;
}
.segment_general {
float: left;
margin-top: 30px;
width: 100%;
.segment_image {
float: left;
width: 210px;
height:250px;
color: $color;
font-weight: bold;
background-color: $div_background_color;
}
.cover {
object-fit: cover;
object-position: top;
}
.foot_content {
font-size: $foot_font_size;
}
.segment_content_image {
float: right;
padding: 15px;
width: 180px;
height:220px;
color: $color;
font-size: $regular_image_font_size;
font-family: $regular_font_family;
font-weight: bold;
background-color: $div_background_color;
.segment_image_item {
margin-top: 5px;
}
}
}
.segment_title {
float: left;
width: 250px;
padding-top: 12px;
height: 45px;
color: $color;
font-family: $title_font_family;
font-size: $title_font_size;
text-align: center;
background-color: $div_background_color;
}
.segment_content_normal {
float: left;
width: 100%;
font-family: $regular_font_family;
font-size: $regular_font_size;
text-align: justify;
margin-top: 15px;
ul {
margin-top: 0;
margin-bottom: 0;
list-style-type: none;
}
ul li::before {
content: ">> ";
color: $div_background_color;
font-weight: bold;
display: inline-block;
width: 2em;
margin-left: -2em;
}
.segment_content_title {
margin-top: 9px;
margin-bottom: 9px;
}
}
.segment_content_work {
float: left;
width: 100%;
font-family: $regular_font_family;
font-size: $regular_font_size;
text-align: justify;
ul {
margin-top: 0;
margin-bottom: 0;
list-style-type: none;
margin-left: 18px;
padding-bottom: 15px;
}
ul li::before {
content: "+ >";
color: $div_background_color;
background-color: $background_color;
font-weight: bold;
display: inline-block;
width: 2em;
margin-left: -2.875em;
}
.segment_content_title {
margin-top: 9px;
margin-bottom: 9px;
}
}
.segment_title_image {
float: left;
margin-top: 100px;
margin-left: -40px;
}
.subitem {
margin-left: 15px;
}
}
.foot {
float: left;
width: 100%;
height: 30px;
}
.captcha-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 20px 0;
padding: 10px;
.error-message {
color: #ff4444;
margin-top: 10px;
font-size: 14px;
text-align: center;
}
}