-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
163 lines (139 loc) · 2.99 KB
/
style.css
File metadata and controls
163 lines (139 loc) · 2.99 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/*Reset*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/*Sayfa Geneli Ayar*/
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background-color: #020617;
color: #e5e7eb;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/*üst menü*/
nav {
display: flex;
gap: 1rem;
padding: 0.9rem 2rem;
border-bottom: 1px solid #1e293b;
position: sticky;
top: 0;
background-color: rgba(15, 23, 42, 0.9);
backdrop-filter: blur(8px);
z-index: 50;
}
/*Menü Link*/
nav a {
text-decoration: none;
color: #e5e7eb;
font-weight: 500;
padding: 0.4rem 0.8rem;
border-radius: 0.4rem;
transition: background-color 0.15s ease, color 0.15s, trasnform 0.1s ease;
}
nav a.aktiff {
border-bottom: 3px solid #444444;
padding-bottom: 5px;
background-color: #4338ca;
color: #0f172a;
}
nav a:hover {
background-color: #4338ca;
color: #020617;
transform: translateY(-1px);
}
/*Ana İçerik Alanı*/
main#icerik {
flex: 1;
width: 100%;
max-width: 1080px;
margin-inline: auto;
padding: 2rem 1.5rem;
}
/*Başlıklar*/
main#icerik h1,
main#icerik h2 {
font-weight: 700;
color: #e5e7eb;
letter-spacing: 0.02em;
margin-bottom: 1rem;
}
/*Ana başlık*/
main#icerik h1 {
font-size: 2rem;
border-left: 4px solid #4338ca;
padding-left: 0.75rem;
}
/*Alt başlık*/
main#icerik h2 {
font-size: 1.4rem;
}
/* Paragraflar */
main#icerik p {
color: #cbd5e1;
font-size: 1rem;
line-height: 1.6rem;
margin-bottom: 1rem;
}
/* Hamburger Menü*/
.menu-btn {
display: none;
font-size: 28px;
cursor: pointer;
}
@media (max-width: 768px) {
nav a {
display: none;
}
nav.active a {
display: block;
margin: 10px 0;
}
.menu-btn {
display: block;
}
}
/*Footer*/
footer {
text-align: center;
margin-top: 4px;
opacity: 0.6;
}
/*Projeler Kısmı*/
.projeler {
display: flex;
flex-direction: column;
gap: 30px;
}
.proje {
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
padding: 20px;
max-width: 800px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
/*Proje Kısmına Hover*/
.proje {
transition: transform 0.3s, box-shadow 0.3s;
}
.proje:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/*Fotoları Düzenleme*/
.proje img {
transition: transform 0.3s;
width: 100%;
max-height: 220px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 10px;
margin: 15px 0;
filter: brightness(0.9) contrast(1.1);
}
.proje:hover img {
transform: scale(1.05);
}