Website_jan.su/_source/scss/main.scss
2023-05-06 00:38:34 +02:00

109 lines
2.1 KiB
SCSS

:root {
--primary-color: #4BB5A9;
--primary-color__dark: hsl(173, 42%, 45%);
--secondary-color: #caf0ec;
--svg-color: #111111;
--font-system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-sans-serif: system-ui, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
*, *:before, *:after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
html {
box-sizing: border-box;
height: 100%;
text-size-adjust: 100%;
}
body {
background-color: var(--secondary-color);
color: var(--svg-color);
display: flex;
flex-direction: column;
font-family: var(--font-system-ui);
font-size: 1rem;
line-height: 1.5;
}
header {
display: flex;
flex-direction: column;
h1 {
margin: 0.25em;
text-align: center;
}
.photo {
align-self: center;
margin: 1em 0 0 0;
width: 200px;
img {
border-radius: 50%;
}
}
}
.list_links {
align-items: center;
display: flex;
flex-direction: column;
list-style: none;
margin: 0 1.25em;
padding: 0;
li {
max-width: 400px;
width: 100%;
}
a {
background-color: var(--primary-color);
color: var(--svg-color);
display: block;
font-weight: 700;
margin: 0.3em 0;
padding: 0.5em 0 0.7em 0.6em;
text-decoration: none;
&:visited {
color: var(--svg-color);
}
&:hover, &:active, &:focus {
background-color: var(--primary-color__dark);
}
}
}
.link-icon {
display: inline-block;
height: 24px;
margin-right: 0.75em;
width: 24px;
svg {
height: 24px;
fill: var(--svg-color);
width: 24px;
}
}
footer {
font-size: 0.75rem;
margin: 0 0 0 0.75em;
a {
color: var(--svg-color);
&:visited {
color: var(--svg-color);
}
}
}