-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.scss
93 lines (71 loc) · 3.84 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@charset "UTF-8";
/* Typeface source: https://rsms.me/inter/ */
@font-face {
font-family: 'Inter';
font-weight: 100 900;
font-display: swap;
font-style: normal;
font-named-instance: 'Regular';
src: url("./Inter-roman.var.woff2?v=3.18") format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { background: black url("background.jpg") center center no-repeat; background-size: cover; color: white; font-family: 'Inter', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5em; }
@supports (font-variation-settings: normal) {
html { font-family: 'Inter var', Helvetica, Arial, sans-serif; }
}
body { display: block; min-height: 100vh; margin: 0; text-rendering: optimizeSpeed;
@media (min-width: 500px) { display: grid; place-items: center; }
}
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }
strong { font-weight: 900; }
.Container { background: rgba(79, 109, 245, 0.8); padding: 1rem; font-size: clamp(1rem, 2vw, 2rem); line-height: 1.5em;
@media (min-width: 300px) { margin: 2vh; padding: 2rem; border-radius: 2rem; }
@media (min-width: 500px) { margin: 7vw; padding: 3rem; }
}
header { display: block; }
.Avatar { display: block; width: 112px; margin: 0 1em 1em 0;
@media (min-width: 380px) { float: left; }
@media (min-width: 930px) { width: clamp(130px, 14vw, 12rem); }
}
.Avatar img { display: block; width: 100%; height: auto; border-radius: 50%; }
.TitlulPaginii { display: block; margin: 0; font-size: clamp(2rem, 6vw, 4rem); line-height: 1em; }
.SubtitlulPaginii { display: block; margin: 0; font-size: clamp(1rem, 2vw, 2rem); font-weight: 400; line-height: 1em; }
.DescrierePrincipala { display: block; margin: 0.5em 0 1.5em;
@media (min-width: 500px) { margin-bottom: 0.5em; }
}
main { clear: both; }
.ListaLinkuri { display: block; margin: 0; padding: 0; border-top: 1px solid #fff;
@media (min-width: 1800px) { display: grid; grid-template-columns: 1fr 1fr; }
}
.ListaItem { display: block; margin: 0; padding: 0; border-bottom: 1px solid #fff; }
.ListaLink { display: block; padding: 0.5em; color: #fff; text-decoration: none;
&:hover { background: white; color: black; }
}
.ListaTitlu, .ListaText { display: block; margin: 0; padding: 0; font-size: 1em; line-height: 1.5em; font-weight: 900; }
.ListaText { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
html:focus-within { scroll-behavior: auto; }
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
* { background-image: none; background: white; color: black; }
@page { margin: 2cm; }
@page :first { margin-top: 3cm; }
@page :left { margin-right: 3cm; }
@page :right { margin-left: 3cm; }
html { background: white; font-size: 12pt; line-height: 1.5em; }
a:link, a:visited { color: #00f; background: transparent; font-weight: bold; }
a:not([href^="http"]):after { content: " (" attr(href) ")"; font-size: 0.9em; }
a[href^="/"]:after { content: " (https://viorelmocanu.github.io/LinkInBio" attr(href) ") "; }
/*a:not(:local-link):after { content: " (" attr(href) ")»"; }*/
a:after > img { content: ""; }
body::after { content: "Copyright © Viorel Mocanu, toate drepturile rezervate."; display: block; text-align: center; }
.Container { background: transparent; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { page-break-after: avoid; page-break-inside: avoid }
h1 + h2 { page-break-before: avoid; }
table, pre, img, svg, blockquote, a { break-inside: avoid; }
ul, ol, dl { page-break-before: avoid; }
.TitlulPaginii { padding-top: 0.5em; }
.ListaText { display: inline; color: #00f; white-space: normal; text-decoration: underline; }
}