-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
112 lines (95 loc) · 2.92 KB
/
main.css
File metadata and controls
112 lines (95 loc) · 2.92 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
@font-face {
font-family: 'Windows95Font';
src: url('fonts/W95FA.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
overflow: hidden; /* Prevent scrolling */
}
body {
font-family: Windows95Font, Windows95Font;
background-color: #55ffff; /* Background color */
color: #ffffff;
line-height: 1.5;
display: flex; /* Use flexbox for centering */
flex-direction: column; /* Stack items vertically */
justify-content: flex-start; /* Align items to the start */
align-items: center; /* Center horizontally */
}
main {
margin-top: 50px; /* Adjust margin for spacing */
font-size: 3.5em;
width: 100%; /* Ensure main takes full width */
}
h2 {
font-size: 2em;
margin-top: 20px; /* Space above the heading */
}
section {
text-align: center; /* Center text in section */
margin-bottom: 40px;
}
/* Centered link styles */
.centered-link {
margin-bottom: 20px; /* Spacing below the link */
}
/* Additional styles for the image container */
.image-container {
position: relative; /* Positionierung für die Links */
display: flex; /* Flexbox verwenden, um Bild und Links nebeneinander anzuzeigen */
align-items: flex-end; /* Ausrichtung am unteren Rand */
justify-content: center; /* Zentriert das Bild und die Links */
margin-top: 20px; /* Abstand oben zum Bild */
margin-right: 200px;
}
.cursed-image {
max-width: 60%; /* Bildbreite anpassen, je nach Bedarf */
height: auto; /* Proportionale Höhe */
}
/* Additional link container styles */
.link-container {
position: absolute; /* Absolut positioniert im Verhältnis zum übergeordneten Element */
bottom: -20px; /* Am unteren Rand */
right: 80px; /* Am rechten Rand */
text-align: left; /* Text rechts ausrichten */
margin-right: 80px; /* Abstand vom rechten Rand */
}
.link-container a {
display: block; /* Links untereinander anzeigen */
color: white; /* Linkfarbe */
margin: 0; /* Abstand zwischen den Links auf 0 setzen */
}
.main {
background-color: #55ffff; /* New background color */
color: #f0f0f0; /* General text color */
height: 100%; /* Full height */
}
.main h2 {
color: #ffffff; /* White color for h2 */
}
.main a {
color: #ffffff; /* White color for links */
}
@media (max-width: 600px) {
body {
justify-content: flex-start; /* Align items to the top */
}
main {
font-size: 1.5em; /* Kleinere Schriftgröße für Smartphones */
padding: 10px; /* Weniger Padding auf Smartphones */
}
h2 {
font-size: 1.3em; /* Kleinere Überschrift für Smartphones */
}
.image-container {
margin-right: 20px; /* Weniger Margin auf Smartphones */
}
}