Initial website commit
This commit is contained in:
207
main.css
Normal file
207
main.css
Normal file
@@ -0,0 +1,207 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
background: #fff;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
padding: 18px 24px;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
}
|
||||
|
||||
.brand-block {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.brand-subtitle {
|
||||
font-size: 0.72rem;
|
||||
color: #6b7280;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.site-nav > a,
|
||||
.nav-trigger {
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
color: #1f2937;
|
||||
}
|
||||
|
||||
.nav-group {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-trigger {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font-family: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-trigger::after {
|
||||
content: "v";
|
||||
margin-left: 6px;
|
||||
color: #6b7280;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.nav-panel {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: calc(100% + 10px);
|
||||
left: 0;
|
||||
min-width: 220px;
|
||||
padding: 12px;
|
||||
background: #fff;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.nav-group:hover > .nav-panel,
|
||||
.nav-group:focus-within > .nav-panel {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-panel a {
|
||||
padding: 8px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.nav-panel a:hover {
|
||||
background: #f3f4f6;
|
||||
}
|
||||
|
||||
.contact-page {
|
||||
padding: 32px 24px 48px;
|
||||
}
|
||||
|
||||
.contact-card,
|
||||
.content-card {
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
padding: 28px;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 18px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.content-page {
|
||||
padding: 32px 24px 48px;
|
||||
}
|
||||
|
||||
.content-card h1 {
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.content-card p {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.content-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding-left: 20px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.section-label {
|
||||
margin: 0 0 8px;
|
||||
font-size: 0.72rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.12em;
|
||||
color: #6b7280;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.contact-form label {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.contact-form input,
|
||||
.contact-form textarea {
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 12px;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.contact-form button {
|
||||
width: fit-content;
|
||||
padding: 12px 16px;
|
||||
border: 0;
|
||||
border-radius: 12px;
|
||||
background: #111827;
|
||||
color: #fff;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.contact-form button:hover {
|
||||
background: #0f172a;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.site-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.nav-panel {
|
||||
position: static;
|
||||
min-width: 0;
|
||||
box-shadow: none;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user