update html
This commit is contained in:
606
index.html
606
index.html
@@ -4,41 +4,28 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>Маша Дергачева</title>
|
<title>Маша Дергачева</title>
|
||||||
<meta
|
<meta name="description" content="Личная страница Маши Дергачевой." />
|
||||||
name="description"
|
|
||||||
content="Личная страница: о себе, проекты, заметки, контакты."
|
|
||||||
/>
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link
|
<link
|
||||||
href="https://fonts.googleapis.com/css2?family=Manrope:wght@300..800&display=swap"
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--bg: 255 255 255;
|
--bg: 252 252 253;
|
||||||
--fg: 19 22 31;
|
--fg: 15 18 25;
|
||||||
--muted: 101 115 126;
|
--muted: 103 106 115;
|
||||||
--accent: 123 97 255;
|
--line: 228 231 235;
|
||||||
--card: 248 249 252;
|
--accent: 39 108 234;
|
||||||
--shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
|
--card: 255 255 255;
|
||||||
}
|
}
|
||||||
:root.dark {
|
:root.dark {
|
||||||
--bg: 9 11 15;
|
--bg: 12 14 18;
|
||||||
--fg: 238 241 246;
|
--fg: 235 238 245;
|
||||||
--muted: 148 161 178;
|
--muted: 160 166 178;
|
||||||
--accent: 134 96 255;
|
--line: 45 49 58;
|
||||||
--card: 16 20 27;
|
--accent: 101 146 255;
|
||||||
--shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
|
--card: 18 21 27;
|
||||||
}
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
:root:not(.light) {
|
|
||||||
--bg: 9 11 15;
|
|
||||||
--fg: 238 241 246;
|
|
||||||
--muted: 148 161 178;
|
|
||||||
--accent: 134 96 255;
|
|
||||||
--card: 16 20 27;
|
|
||||||
--shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -50,7 +37,7 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family:
|
font-family:
|
||||||
Manrope,
|
Inter,
|
||||||
system-ui,
|
system-ui,
|
||||||
-apple-system,
|
-apple-system,
|
||||||
Segoe UI,
|
Segoe UI,
|
||||||
@@ -61,263 +48,154 @@
|
|||||||
sans-serif;
|
sans-serif;
|
||||||
background: rgb(var(--bg));
|
background: rgb(var(--bg));
|
||||||
color: rgb(var(--fg));
|
color: rgb(var(--fg));
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
letter-spacing: 0.1px;
|
letter-spacing: 0.1px;
|
||||||
}
|
}
|
||||||
a {
|
|
||||||
color: rgb(var(--fg));
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.container {
|
.container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 1100px;
|
max-width: 920px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
background: rgba(var(--bg), 0.7);
|
background: rgba(var(--bg), 0.8);
|
||||||
backdrop-filter: saturate(180%) blur(12px);
|
backdrop-filter: blur(8px);
|
||||||
border-bottom: 1px solid rgba(127, 127, 127, 0.08);
|
border-bottom: 1px solid rgba(var(--line), 0.8);
|
||||||
z-index: 50;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
.header-inner {
|
.header-inner {
|
||||||
|
height: 64px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 64px;
|
|
||||||
}
|
}
|
||||||
.logo {
|
.brand {
|
||||||
display: flex;
|
|
||||||
gap: 10px;
|
|
||||||
align-items: center;
|
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-size: 18px;
|
letter-spacing: -0.2px;
|
||||||
}
|
|
||||||
.logo-dot {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: linear-gradient(
|
|
||||||
135deg,
|
|
||||||
rgb(var(--accent)) 0%,
|
|
||||||
rgba(255, 138, 255, 1) 100%
|
|
||||||
);
|
|
||||||
box-shadow: 0 0 24px rgba(134, 96, 255, 0.6);
|
|
||||||
}
|
}
|
||||||
.nav {
|
.nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 18px;
|
gap: 18px;
|
||||||
|
}
|
||||||
|
.nav a {
|
||||||
|
color: rgb(var(--fg));
|
||||||
|
text-decoration: none;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
.theme {
|
.nav a:hover {
|
||||||
display: inline-flex;
|
opacity: 1;
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border: 1px solid rgba(127, 127, 127, 0.18);
|
|
||||||
background: rgba(127, 127, 127, 0.06);
|
|
||||||
cursor: pointer;
|
|
||||||
transition: transform 0.15s ease;
|
|
||||||
}
|
|
||||||
.theme:active {
|
|
||||||
transform: scale(0.96);
|
|
||||||
}
|
}
|
||||||
.hero {
|
.hero {
|
||||||
position: relative;
|
padding: 80px 0 48px;
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.hero-gradient {
|
|
||||||
position: absolute;
|
|
||||||
inset: -30% -30% auto -30%;
|
|
||||||
height: 70vh;
|
|
||||||
filter: blur(60px);
|
|
||||||
background:
|
|
||||||
radial-gradient(
|
|
||||||
800px 400px at 20% 20%,
|
|
||||||
rgba(134, 96, 255, 0.2),
|
|
||||||
transparent
|
|
||||||
),
|
|
||||||
radial-gradient(
|
|
||||||
600px 300px at 80% 10%,
|
|
||||||
rgba(255, 138, 255, 0.18),
|
|
||||||
transparent
|
|
||||||
),
|
|
||||||
radial-gradient(
|
|
||||||
700px 300px at 50% 60%,
|
|
||||||
rgba(96, 200, 255, 0.16),
|
|
||||||
transparent
|
|
||||||
);
|
|
||||||
}
|
|
||||||
.hero-inner {
|
|
||||||
padding: 96px 0 40px;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.kicker {
|
|
||||||
display: inline-flex;
|
|
||||||
gap: 10px;
|
|
||||||
align-items: center;
|
|
||||||
padding: 8px 12px;
|
|
||||||
border-radius: 999px;
|
|
||||||
border: 1px solid rgba(127, 127, 127, 0.18);
|
|
||||||
background: rgba(127, 127, 127, 0.06);
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
.kicker .dot {
|
|
||||||
width: 6px;
|
|
||||||
height: 6px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: rgb(var(--accent));
|
|
||||||
}
|
}
|
||||||
.h1 {
|
.h1 {
|
||||||
font-size: 56px;
|
font-size: 56px;
|
||||||
line-height: 1.05;
|
line-height: 1.03;
|
||||||
margin: 18px 0 14px;
|
margin: 0 0 10px;
|
||||||
font-weight: 800;
|
letter-spacing: -0.6px;
|
||||||
letter-spacing: -0.5px;
|
|
||||||
}
|
}
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 1.6;
|
line-height: 1.7;
|
||||||
color: rgb(var(--muted));
|
color: rgb(var(--muted));
|
||||||
max-width: 680px;
|
max-width: 640px;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.cta {
|
.actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
margin-top: 26px;
|
margin-top: 22px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
justify-content: center;
|
||||||
padding: 14px 18px;
|
padding: 12px 16px;
|
||||||
border-radius: 14px;
|
border-radius: 12px;
|
||||||
font-weight: 800;
|
font-weight: 700;
|
||||||
letter-spacing: 0.3px;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.btn-primary {
|
.btn-solid {
|
||||||
background: linear-gradient(
|
background: rgb(var(--fg));
|
||||||
135deg,
|
|
||||||
rgb(var(--accent)) 0%,
|
|
||||||
rgba(255, 138, 255, 1) 100%
|
|
||||||
);
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
box-shadow: 0 12px 30px rgba(134, 96, 255, 0.35);
|
|
||||||
}
|
}
|
||||||
.btn-ghost {
|
.btn-ghost {
|
||||||
border: 1px solid rgba(127, 127, 127, 0.18);
|
border: 1px solid rgb(var(--line));
|
||||||
background: rgba(127, 127, 127, 0.06);
|
color: rgb(var(--fg));
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
.section {
|
||||||
|
padding: 40px 0;
|
||||||
|
}
|
||||||
|
.section h2 {
|
||||||
|
margin: 0 0 12px;
|
||||||
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 18px;
|
gap: 14px;
|
||||||
}
|
|
||||||
.cards {
|
|
||||||
grid-template-columns: repeat(12, 1fr);
|
|
||||||
}
|
}
|
||||||
.card {
|
.card {
|
||||||
grid-column: span 12;
|
|
||||||
background: rgb(var(--card));
|
background: rgb(var(--card));
|
||||||
border: 1px solid rgba(127, 127, 127, 0.14);
|
border: 1px solid rgb(var(--line));
|
||||||
border-radius: 20px;
|
border-radius: 14px;
|
||||||
box-shadow: var(--shadow);
|
padding: 16px;
|
||||||
padding: 22px;
|
|
||||||
}
|
}
|
||||||
.card h3 {
|
.card h3 {
|
||||||
margin: 0 0 8px;
|
margin: 0 0 6px;
|
||||||
font-size: 18px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
.card p {
|
.card p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: rgb(var(--muted));
|
color: rgb(var(--muted));
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
.section {
|
.list {
|
||||||
padding: 40px 0;
|
display: flex;
|
||||||
}
|
gap: 8px;
|
||||||
.section h2 {
|
flex-wrap: wrap;
|
||||||
margin: 0 0 14px;
|
|
||||||
font-size: 28px;
|
|
||||||
}
|
}
|
||||||
.badge {
|
.badge {
|
||||||
display: inline-flex;
|
padding: 6px 10px;
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
padding: 8px 12px;
|
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
border: 1px solid rgba(127, 127, 127, 0.18);
|
background: rgba(var(--fg), 0.04);
|
||||||
background: rgba(127, 127, 127, 0.06);
|
border: 1px solid rgb(var(--line));
|
||||||
font-weight: 700;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.8px;
|
|
||||||
color: rgb(var(--muted));
|
color: rgb(var(--muted));
|
||||||
}
|
font-weight: 600;
|
||||||
.split {
|
|
||||||
display: grid;
|
|
||||||
gap: 18px;
|
|
||||||
}
|
}
|
||||||
.footer {
|
.footer {
|
||||||
padding: 36px 0;
|
padding: 40px 0;
|
||||||
|
border-top: 1px solid rgb(var(--line));
|
||||||
color: rgb(var(--muted));
|
color: rgb(var(--muted));
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.avatar {
|
.theme {
|
||||||
width: 96px;
|
width: 36px;
|
||||||
height: 96px;
|
height: 36px;
|
||||||
border-radius: 22px;
|
border: 1px solid rgb(var(--line));
|
||||||
object-fit: cover;
|
border-radius: 10px;
|
||||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
|
background: transparent;
|
||||||
border: 3px solid rgba(255, 255, 255, 0.6);
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
}
|
}
|
||||||
.card-link {
|
.icon {
|
||||||
display: flex;
|
width: 18px;
|
||||||
justify-content: space-between;
|
height: 18px;
|
||||||
align-items: center;
|
|
||||||
gap: 14px;
|
|
||||||
}
|
}
|
||||||
.card-link svg {
|
@media (min-width: 680px) {
|
||||||
flex: 0 0 auto;
|
.grid.cols-2 {
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
}
|
}
|
||||||
.input {
|
|
||||||
width: 100%;
|
|
||||||
padding: 14px 16px;
|
|
||||||
border-radius: 14px;
|
|
||||||
border: 1px solid rgba(127, 127, 127, 0.18);
|
|
||||||
background: rgba(127, 127, 127, 0.04);
|
|
||||||
color: rgb(var(--fg));
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
.row {
|
|
||||||
display: flex;
|
|
||||||
gap: 12px;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
@media (min-width: 640px) {
|
|
||||||
.h1 {
|
.h1 {
|
||||||
font-size: 64px;
|
font-size: 64px;
|
||||||
}
|
}
|
||||||
.split {
|
.hero {
|
||||||
grid-template-columns: 1.2fr 0.8fr;
|
padding: 96px 0 56px;
|
||||||
}
|
|
||||||
.card {
|
|
||||||
padding: 24px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media (min-width: 900px) {
|
|
||||||
.card {
|
|
||||||
grid-column: span 6;
|
|
||||||
}
|
|
||||||
.card.span-4 {
|
|
||||||
grid-column: span 4;
|
|
||||||
}
|
|
||||||
.card.span-8 {
|
|
||||||
grid-column: span 8;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -325,212 +203,74 @@
|
|||||||
<body>
|
<body>
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<div class="container header-inner">
|
<div class="container header-inner">
|
||||||
<a class="logo" href="#top"
|
<a class="brand" href="#top">Маша Дергачева</a>
|
||||||
><span class="logo-dot"></span>Маша Дергачева</a
|
|
||||||
>
|
|
||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
<a href="#about">О себе</a>
|
<a href="#about">О себе</a>
|
||||||
<a href="#projects">Проекты</a>
|
<a href="#work">Проекты</a>
|
||||||
<a href="#notes">Заметки</a>
|
<a href="#notes">Заметки</a>
|
||||||
<a href="#contacts">Контакты</a>
|
<a href="#contact">Контакты</a>
|
||||||
<button class="theme" id="theme" aria-label="Переключить тему">
|
|
||||||
<svg
|
|
||||||
id="sun"
|
|
||||||
width="18"
|
|
||||||
height="18"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
>
|
|
||||||
<circle cx="12" cy="12" r="4"></circle>
|
|
||||||
<path
|
|
||||||
d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"
|
|
||||||
></path>
|
|
||||||
</svg>
|
|
||||||
<svg
|
|
||||||
id="moon"
|
|
||||||
width="18"
|
|
||||||
height="18"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
style="display: none"
|
|
||||||
>
|
|
||||||
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<section class="hero" id="top">
|
<main id="top">
|
||||||
<div class="hero-gradient"></div>
|
<section class="hero">
|
||||||
<div class="container hero-inner">
|
<div class="container">
|
||||||
<div class="kicker"><span class="dot"></span> Личная страница</div>
|
|
||||||
<h1 class="h1">Привет, я Маша</h1>
|
<h1 class="h1">Привет, я Маша</h1>
|
||||||
<p class="subtitle">
|
<p class="subtitle">
|
||||||
Здесь будет краткая фраза о себе: что люблю, чем занимаюсь и что ищу.
|
Делаю аккуратные вещи и записываю мысли. Люблю простые интерфейсы,
|
||||||
Например: пишу заметки, делаю маленькие проекты и учусь новому каждый
|
живые тексты и порядок.
|
||||||
день.
|
|
||||||
</p>
|
</p>
|
||||||
<div class="cta">
|
<div class="actions">
|
||||||
<a class="btn btn-primary" href="#projects">Смотреть проекты</a>
|
<a class="btn btn-solid" href="#work">Смотреть проекты</a>
|
||||||
<a class="btn btn-ghost" href="#contacts">Связаться</a>
|
<a class="btn btn-ghost" href="#contact">Написать</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="section" id="about">
|
<section class="section" id="about">
|
||||||
<div class="container split">
|
<div class="container grid cols-2">
|
||||||
<div>
|
<div>
|
||||||
<h2>О себе</h2>
|
<h2>О себе</h2>
|
||||||
<p class="subtitle">
|
<p class="subtitle">
|
||||||
Коротко о том, кто я, откуда и чем интересуюсь. Можно упомянуть
|
Несколько предложений: чем занимаюсь сейчас, что интересно и чему
|
||||||
любимые дисциплины, увлечения и цели на год. Достаточно нескольких
|
учусь. Коротко и по делу.
|
||||||
предложений, без лишней воды.
|
|
||||||
</p>
|
</p>
|
||||||
<div class="row" style="margin-top: 16px">
|
<div class="list" style="margin-top: 12px">
|
||||||
<span class="badge">Учусь и исследую</span>
|
<span class="badge">учёба</span>
|
||||||
<span class="badge">Пишу тексты</span>
|
<span class="badge">тексты</span>
|
||||||
<span class="badge">Делаю проекты</span>
|
<span class="badge">маленькие проекты</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="grid" style="gap: 12px">
|
||||||
style="
|
<div class="card">
|
||||||
display: flex;
|
<h3>Фокус</h3>
|
||||||
justify-content: flex-end;
|
<p>Мини‑исследования, заметки по книгам и интерфейсам.</p>
|
||||||
align-items: flex-start;
|
</div>
|
||||||
"
|
<div class="card">
|
||||||
>
|
<h3>Сейчас</h3>
|
||||||
<img
|
<p>Пишу маленькие штуки, читаю, поддерживаю личный сайт.</p>
|
||||||
class="avatar"
|
</div>
|
||||||
src="https://images.unsplash.com/photo-1544005313-94ddf0286df2?q=80&w=400&auto=format&fit=crop"
|
|
||||||
alt="Аватар"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="section" id="projects">
|
<section class="section" id="work">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Проекты</h2>
|
<h2>Проекты</h2>
|
||||||
<div class="grid cards">
|
<div class="grid cols-2">
|
||||||
<a class="card span-4" href="#">
|
<a class="card" href="#">
|
||||||
<div class="card-link">
|
|
||||||
<div>
|
|
||||||
<h3>Мини‑сайт</h3>
|
<h3>Мини‑сайт</h3>
|
||||||
<p>
|
<p>Лёгкая страница без сборок. Чистая типографика.</p>
|
||||||
Лёгкий лэндинг на чистом HTML/CSS. Анимации, адаптив, тёмная
|
|
||||||
тема.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<svg
|
|
||||||
width="20"
|
|
||||||
height="20"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M7 17L17 7" />
|
|
||||||
<path d="M7 7h10v10" />
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
<a class="card span-4" href="#">
|
<a class="card" href="#">
|
||||||
<div class="card-link">
|
|
||||||
<div>
|
|
||||||
<h3>Заметки</h3>
|
<h3>Заметки</h3>
|
||||||
<p>Подборки мыслей и небольших эссе. Пишу просто и по делу.</p>
|
<p>Подборки мыслей и коротких эссе.</p>
|
||||||
</div>
|
|
||||||
<svg
|
|
||||||
width="20"
|
|
||||||
height="20"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M7 17L17 7" />
|
|
||||||
<path d="M7 7h10v10" />
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
<a class="card span-4" href="#">
|
<a class="card" href="#">
|
||||||
<div class="card-link">
|
<h3>Фото</h3>
|
||||||
<div>
|
<p>Небольшие серии без лишних эффектов.</p>
|
||||||
<h3>Фото‑истории</h3>
|
|
||||||
<p>Маленькие визуальные нарративы из путешествий и будней.</p>
|
|
||||||
</div>
|
|
||||||
<svg
|
|
||||||
width="20"
|
|
||||||
height="20"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M7 17L17 7" />
|
|
||||||
<path d="M7 7h10v10" />
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
<a class="card span-8" href="#">
|
<a class="card" href="#">
|
||||||
<div class="card-link">
|
|
||||||
<div>
|
|
||||||
<h3>Эксперимент</h3>
|
<h3>Эксперимент</h3>
|
||||||
<p>
|
<p>Игрушки и микро‑интеракции.</p>
|
||||||
Интерактивная штука: генеративный фон, мини‑игра или
|
|
||||||
визуализация. Пространство для творчества.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<svg
|
|
||||||
width="20"
|
|
||||||
height="20"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M7 17L17 7" />
|
|
||||||
<path d="M7 7h10v10" />
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
<a class="card span-4" href="#">
|
|
||||||
<div class="card-link">
|
|
||||||
<div>
|
|
||||||
<h3>Список чтения</h3>
|
|
||||||
<p>
|
|
||||||
Книги и статьи, которые мне понравились. Короткие заметки и
|
|
||||||
оценки.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<svg
|
|
||||||
width="20"
|
|
||||||
height="20"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M7 17L17 7" />
|
|
||||||
<path d="M7 7h10v10" />
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -538,96 +278,78 @@
|
|||||||
<section class="section" id="notes">
|
<section class="section" id="notes">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Заметки</h2>
|
<h2>Заметки</h2>
|
||||||
<div class="grid cards">
|
<div class="grid">
|
||||||
<a class="card" href="#">
|
<a class="card" href="#"
|
||||||
<h3>Как начать личный сайт</h3>
|
><h3>Как вести личный сайт</h3>
|
||||||
<p>Мини‑гайд: чем наполнить, как вести и не забросить.</p>
|
<p>Очень краткий чек‑лист без лишнего.</p></a
|
||||||
</a>
|
>
|
||||||
<a class="card" href="#">
|
<a class="card" href="#"
|
||||||
<h3>О внимании</h3>
|
><h3>Минимализм в интерфейсах</h3>
|
||||||
<p>
|
<p>Что убрать, чтобы стало лучше.</p></a
|
||||||
Наблюдения о том, почему важно скучать и как это помогает идеям.
|
>
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="section" id="contacts">
|
<section class="section" id="contact">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Контакты</h2>
|
<h2>Контакты</h2>
|
||||||
<div class="grid" style="gap: 14px; max-width: 720px">
|
<div class="grid" style="gap: 10px; max-width: 620px">
|
||||||
<div class="card">
|
<div
|
||||||
<div class="row">
|
class="card"
|
||||||
|
style="
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
class="input"
|
|
||||||
id="email"
|
id="email"
|
||||||
value="hi@masha-dergacheva.рф"
|
value="hi@masha-dergacheva.рф"
|
||||||
readonly
|
readonly
|
||||||
|
style="
|
||||||
|
flex: 1;
|
||||||
|
border: 1px solid rgb(var(--line));
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 12px 14px;
|
||||||
|
color: rgb(var(--fg));
|
||||||
|
outline: none;
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
<button class="btn btn-ghost" id="copy">Скопировать</button>
|
<button class="btn btn-ghost" id="copy">Скопировать</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="card" style="display: flex; gap: 10px; flex-wrap: wrap">
|
||||||
<div class="card">
|
|
||||||
<div class="row">
|
|
||||||
<a
|
<a
|
||||||
class="btn btn-primary"
|
class="btn btn-solid"
|
||||||
href="https://t.me/username"
|
href="https://t.me/username"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>Телеграм</a
|
>Телеграм</a
|
||||||
>
|
>
|
||||||
<a class="btn btn-ghost" href="mailto:hi@masha-dergacheva.рф"
|
<a class="btn btn-ghost" href="mailto:hi@masha-дергачева.рф"
|
||||||
>Почта</a
|
>Почта</a
|
||||||
>
|
>
|
||||||
<a class="btn btn-ghost" href="#">Instagram*</a>
|
|
||||||
</div>
|
|
||||||
<p class="subtitle" style="margin-top: 10px">
|
|
||||||
*Социальная сеть может быть признана экстремистской на территории
|
|
||||||
некоторых стран.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</main>
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div
|
<div
|
||||||
class="container"
|
class="container"
|
||||||
style="
|
style="
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
gap: 12px;
|
||||||
gap: 10px;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div>© <span id="year"></span> маша-дергачева.рф</div>
|
<span>© <span id="year"></span> маша‑дергачева.рф</span>
|
||||||
<div>Светлая/тёмная тема, адаптив, без сборок</div>
|
<span>Минимализм без сборок</span>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<script>
|
<script>
|
||||||
const root = document.documentElement;
|
|
||||||
const saved = localStorage.getItem("theme");
|
|
||||||
if (saved === "dark") {
|
|
||||||
root.classList.add("dark");
|
|
||||||
} else if (saved === "light") {
|
|
||||||
root.classList.add("light");
|
|
||||||
}
|
|
||||||
const btn = document.getElementById("theme");
|
|
||||||
const sun = document.getElementById("sun");
|
|
||||||
const moon = document.getElementById("moon");
|
|
||||||
function sync() {
|
|
||||||
const dark = root.classList.contains("dark");
|
|
||||||
sun.style.display = dark ? "none" : "block";
|
|
||||||
moon.style.display = dark ? "block" : "none";
|
|
||||||
}
|
|
||||||
btn.addEventListener("click", () => {
|
|
||||||
const preferDark = root.classList.contains("dark");
|
|
||||||
root.classList.toggle("dark", !preferDark);
|
|
||||||
root.classList.toggle("light", preferDark);
|
|
||||||
localStorage.setItem("theme", !preferDark ? "dark" : "light");
|
|
||||||
sync();
|
|
||||||
});
|
|
||||||
sync();
|
|
||||||
document.getElementById("year").textContent = new Date().getFullYear();
|
document.getElementById("year").textContent = new Date().getFullYear();
|
||||||
const copy = document.getElementById("copy");
|
const copy = document.getElementById("copy");
|
||||||
copy.addEventListener("click", async () => {
|
copy.addEventListener("click", async () => {
|
||||||
@@ -635,7 +357,7 @@
|
|||||||
try {
|
try {
|
||||||
await navigator.clipboard.writeText(v);
|
await navigator.clipboard.writeText(v);
|
||||||
copy.textContent = "Скопировано";
|
copy.textContent = "Скопировано";
|
||||||
setTimeout(() => (copy.textContent = "Скопировать"), 1600);
|
setTimeout(() => (copy.textContent = "Скопировать"), 1500);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
copy.textContent = "Ошибка";
|
copy.textContent = "Ошибка";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user