curriculum.vitae/src/styles/general.scss

160 lines
3.0 KiB
SCSS

body {
background-color: #272727;
color: white;
}
@font-face {
font-family: 'Roboto';
src: url("../images/Roboto-Regular.ttf");
}
@font-face {
font-family: 'Lato';
src: url("../images/Lato-Regular.ttf");
}
$div_background_color: rgba(26, 83, 187, 1);
$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;
.global_segment {
margin-left: auto;
margin-right: auto;
width: 21cm;
a:link {
color: #0d2956;
}
a:visited {
color: white;
}
a:hover {
color: #000000;
}
a:active {
color: #5478b3;
}
ul {
margin-bottom: 0;
list-style-type: none;
}
li {
padding-top: 15px;
}
ul li::before {
content: ">> ";
color: $div_background_color;
font-weight: bold;
display: inline-block;
width: 2em;
margin-left: -2em;
}
.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: white;
font-weight: bold;
background-color: $div_background_color;
}
.cover {
object-fit: cover;
object-position: top;
}
.segment_content {
float: left;
width: 100%;
font-family: $regular_font_family;
font-size: $regular_font_size;
text-align: justify;
}
.foot_content {
font-size: $foot_font_size;
}
.segment_content_image {
float: right;
padding: 15px;
width: 180px;
height:220px;
color: white;
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: white;
font-family: $title_font_family;
font-size: $title_font_size;
text-align: center;
background-color: $div_background_color;
}
.segment_title_image {
float: left;
margin-top: 100px;
margin-left: -40px;
}
}
.subitem {
margin-left: 15px;
}
}
.foot {
float: left;
width: 100%;
height: 30px;
}