Repository navigation
Expand file tree
/
Copy pathwebsite5icw.css
More file actions
114 lines (99 loc) · 2.36 KB
/
Copy pathwebsite5icw.css
File metadata and controls
114 lines (99 loc) · 2.36 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
/* Set custom font */
@font-face {
font-family: customFont1;
src: url('AudiType-Normal_03.ttf');
}
@font-face {
font-family: customFont1;
font-weight: bold;
src: url('AudiType-Bold_03.ttf');
}
/* Body styling: use flexbox to center content vertically and horizontally */
body {
font-family: customFont1; /* Use custom font */
margin: 0;
padding: 40px 20px 20px 20px;
color: #fff; /*color of text on the site*/
/* Flex container: stack elements vertically */
display: flex;
flex-direction: column;
align-items: center; /* Center horizontally */
min-height: 100vh; /* Full viewport height */
position: relative;
background: #1E1E1E; /*color of background*/
}
/* Header styles */
header {
font-size: large;
font-weight: bold;
margin-bottom: 20px; /* Space below header */
text-align: center;
}
/* Main styles */
main {
font-size: medium;
max-width: 600px; /* Limit max width */
width: 100%;
text-align: center;
}
/* Footer styles */
footer {
font-size: small;
margin-top: 40px; /* Space above footer */
text-align: center;
}
/* Discord embed container fixed top-right */
.discord-embed {
position: fixed;
top: 20px;
right: 20px;
width: 350px;
height: 500px;
box-shadow: 0 0 15px rgba(0,0,0,0.2); /* Soft shadow */
border-radius: 8px;
background: #000;
z-index: 9999; /* On top of other content */
}
/* Make iframe fill embed container */
.discord-embed iframe {
width: 100%;
height: 100%;
border: none;
}
/* Input and button styling for neat form */
input[type="text"] {
width: 80%;
padding: 6px;
margin-bottom: 10px;
font-size: 1rem;
}
button {
margin: 5px;
padding: 8px 12px;
font-size: 1rem;
cursor: pointer;
}
/* Link styles */
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Responsive: On small screens, embed flows into content */
@media (max-width: 800px) {
.discord-embed {
position: static;
width: 100%;
height: 400px;
margin-bottom: 30px;
box-shadow: none;
border-radius: 0;
background: transparent;
z-index: auto;
}
main {
max-width: 100%;
}
}