-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (100 loc) · 3.13 KB
/
Copy pathstyle.css
File metadata and controls
115 lines (100 loc) · 3.13 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
/* --- KONTROL PANELİ (DEĞİŞKENLER) --- */
:root {
/* RENKLER */
--arkaplan-rengi: #202020; /* Koyu Gri */
--kutu-arkaplan: #2d2d2d; /* Biraz daha açık gri (Kart rengi) */
--ana-yazi-rengi: #ffffff;
--vurgu-rengi: #f1c40f; /* Yumurta Sarısı */
/* BUTON RENKLERİ */
--btn-sure-renk: #e67e22; /* Turuncu */
--btn-baslat-renk: #27ae60; /* Yeşil */
--btn-golge: rgba(0,0,0,0.5); /* 3D efekti için gölge */
/* BOYUTLAR VE AYARLAR */
--yumurta-boyutu: 180px; /* Yumurtayı buradan büyüt/küçült */
--sayac-font-boyutu: 4rem; /* Saat yazısının büyüklüğü */
--genel-bosluk: 20px; /* Elemanlar arası mesafe */
}
/* --- GENEL AYARLAR --- */
body {
background-color: var(--arkaplan-rengi);
color: var(--ana-yazi-rengi);
font-family: 'Press Start 2P', cursive;
margin: 0;
height: 100vh; /* Tüm ekranı kapla */
display: flex;
justify-content: center; /* Yatayda ortala */
align-items: center; /* Dikeyde ortala */
}
/* --- KART YAPISI (Tüm içeriği tutan kutu) --- */
.container {
background-color: var(--kutu-arkaplan);
padding: 40px;
border-radius: 20px;
border: 4px solid var(--vurgu-rengi); /* Çerçeve */
box-shadow: 10px 10px 0px #000000; /* Retro Gölge Efekti */
display: flex;
flex-direction: column; /* Her şeyi alt alta diz! */
align-items: center; /* İçindekileri ortala */
gap: var(--genel-bosluk); /* Her eleman arasına boşluk koy */
}
/* --- BAŞLIK --- */
.baslik {
font-size: 2rem;
color: var(--vurgu-rengi);
text-shadow: 2px 2px 0px #000;
margin-bottom: 10px;
}
/* --- RESİM AYARLARI --- */
img {
width: var(--yumurta-boyutu);
height: var(--yumurta-boyutu);
image-rendering: pixelated; /* Pikseller net görünsün */
object-fit: contain;
/* Resim değişirken zıplama olmasın diye sabit alan */
border-bottom: 4px solid rgba(255,255,255,0.1);
padding-bottom: 20px;
}
/* --- SAYAÇ --- */
.sayac {
font-size: var(--sayac-font-boyutu);
color: var(--ana-yazi-rengi);
text-shadow: 4px 4px 0px #000;
letter-spacing: 5px; /* Rakamların arasını aç */
}
/* --- BUTONLAR --- */
button {
font-family: 'Press Start 2P', cursive;
border: none;
padding: 15px 20px;
cursor: pointer;
color: white;
font-size: 0.8rem;
position: relative;
top: 0;
transition: top 0.1s; /* Basma efekti için animasyon */
/* Pixel Art Buton Görünümü */
box-shadow: 0px 6px 0px var(--btn-golge);
border-radius: 8px;
}
/* Süre Butonları */
.sure-btn {
background-color: var(--btn-sure-renk);
margin: 0 5px; /* Yan yana butonlar arası boşluk */
}
/* Başlat Butonu (Daha büyük ve farklı renk) */
.baslat-btn {
background-color: var(--btn-baslat-renk);
font-size: 1rem;
padding: 15px 40px;
width: 100%; /* Kendi satırını kaplasın */
}
/* Tıklama Efekti (Buton aşağı çöker) */
button:active {
top: 6px;
box-shadow: 0px 0px 0px var(--btn-golge);
}
/* Buton Gruplama Alanı */
.buton-grubu {
display: flex;
gap: 10px;
}