Website_jan.su/_source/scss/styles.scss

91 lines
1.6 KiB
SCSS
Raw Normal View History

2020-05-28 12:34:36 +02:00
$color_primary: #4BB5A9;
$color_secondary: #D6E8E6;
$svg_color: #111;
2020-05-27 23:05:39 +02:00
2020-05-27 20:51:32 +02:00
body {
2020-05-28 12:34:36 +02:00
background-color: $color_secondary;
color: $svg_color;
2020-05-28 00:44:47 +02:00
display: flex;
flex-direction: column;
2020-05-28 13:00:11 +02:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2020-05-28 12:34:36 +02:00
font-size: 1rem;
line-height: 1.5;
2020-05-27 20:51:32 +02:00
}
2020-05-27 23:05:39 +02:00
2020-05-28 00:44:47 +02:00
header {
2020-05-28 12:34:36 +02:00
display: flex;
flex-direction: column;
2020-05-28 00:44:47 +02:00
h1 {
margin: 0.25em;
2020-05-28 12:34:36 +02:00
text-align: center;
}
.photo {
align-self: center;
margin: 1em 0 0 0;
width: 200px;
img {
border-radius: 50%;
}
2020-05-28 00:44:47 +02:00
}
}
2020-05-27 23:05:39 +02:00
.list_links {
2020-05-28 12:34:36 +02:00
align-items: center;
display: flex;
flex-direction: column;
2020-05-27 23:05:39 +02:00
list-style: none;
2020-05-28 12:34:36 +02:00
margin: 0 1.25em;
2020-05-27 23:05:39 +02:00
padding: 0;
li {
2020-05-28 12:34:36 +02:00
max-width: 400px;
2020-05-28 00:44:47 +02:00
width: 100%;
2020-05-27 23:05:39 +02:00
}
a {
2020-05-28 12:34:36 +02:00
background-color: $color_primary;
color: $svg_color;
2020-05-27 23:05:39 +02:00
display: block;
2020-05-28 12:34:36 +02:00
font-weight: 700;
margin: 0.3em 0;
2020-05-28 13:12:59 +02:00
padding: 0.5em 0 0.7em 0.6em;
2020-05-27 23:05:39 +02:00
text-decoration: none;
2020-05-28 12:34:36 +02:00
&:visited {
color: $svg_color;
}
&:hover, &:active, &:focus {
background-color: darken($color_primary, 5%);
}
2020-05-27 23:05:39 +02:00
}
}
.link-icon {
display: inline-block;
2020-05-28 12:34:36 +02:00
height: 24px;
2020-05-28 00:44:47 +02:00
margin-right: 0.75em;
2020-05-27 23:05:39 +02:00
width: 24px;
svg {
height: 24px;
2020-05-28 12:34:36 +02:00
fill: $svg_color;
2020-05-27 23:05:39 +02:00
width: 24px;
}
}
footer {
2020-05-28 12:34:36 +02:00
font-size: 0.75rem;
margin: 0 0 0 0.75em;
2020-05-27 23:05:39 +02:00
a {
2020-05-28 12:34:36 +02:00
color: $svg_color;
&:visited {
color: $svg_color;
}
2020-05-27 23:05:39 +02:00
}
}