Skip to content

Commit e8d888d

Browse files
authored
Update styles.css για να είναι καλύτερο
1 parent 57fada6 commit e8d888d

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

styles.css

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
body {
1111
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
1212
background: var(--bg-gradient);
13+
background-attachment: fixed;
14+
background-size: cover;
1315
color: var(--text);
1416
line-height: 1.8;
1517
display: flex;
@@ -21,6 +23,7 @@ body {
2123
text-align: center;
2224
font-size: 1.2rem;
2325
}
26+
2427
img {
2528
display: block;
2629
margin: 0 auto;
@@ -51,6 +54,19 @@ img {
5154
border-radius: 3px;
5255
}
5356

57+
h3 {
58+
position: absolute;
59+
bottom: 0;
60+
left: 50%;
61+
transform: translateX(-50%);
62+
text-align: center;
63+
color: black;
64+
font-size: 1rem;
65+
padding: 0.5rem;
66+
background: rgba(255, 255, 255, 0.8);
67+
border-radius: 5px;
68+
}
69+
5470
a {
5571
text-decoration: none;
5672
background: none;
@@ -88,4 +104,15 @@ footer {
88104
.page-title {
89105
font-size: 2rem;
90106
}
91-
}
107+
}
108+
109+
@media (max-width: 768px) {
110+
h3 {
111+
font-size: 0.9rem;
112+
padding: 0.3rem;
113+
}
114+
115+
body {
116+
background-attachment: scroll;
117+
}
118+
}

0 commit comments

Comments
 (0)