-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhitepaper.css
156 lines (138 loc) · 3.87 KB
/
whitepaper.css
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
/* Main styles for fixed layout */
body.fixed-layout {
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
overflow: hidden; /* Prevent horizontal scrolling */
}
/* Add this to blur background when modal is open */
body.modal-open {
overflow: hidden; /* Prevent scrolling */
}
/* Make the container flex to occupy space between fixed header and footer */
.container {
display: flex;
flex-direction: column;
flex-grow: 1;
overflow: hidden;
position: relative;
}
/* Ensure content area is scrollable within its container */
.content {
overflow-y: auto;
flex-grow: 1;
padding: 20px;
box-sizing: border-box;
}
/* Ensure no horizontal scrolling */
html, body {
overflow-x: hidden;
}
#header {
display: flex;
text-align: center;
justify-content: center; /* Centers the content horizontally */
align-items: center; /* Centers the content vertically if needed */
max-width: 50%;
margin: 0 auto; /* Centers the flex container in the middle of the parent element */
color: #c5ba9e;
max-width: 70%;
font-size: 1.5em;
margin-top: 3%;
text-align: center;
padding-bottom: 20px;
font-family: "Roboto Mono", monospace;
}
/* Style for the image container */
.image-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
margin: 20px;
padding-top: 10px;
padding-bottom: 100px;
align-items: start;
position: relative; /* Ensure container remains positioned */
z-index: 1; /* Ensure this layer is below expanded translator info */
}
.image-wrapper {
display: flex;
flex-direction: column;
align-items: center;
width: 150px;
cursor: pointer;
text-align: center;
position: relative;
z-index: 10; /* Default positioning */
}
.image-box {
width: 100%;
height: 90px;
overflow: hidden;
position: relative;
}
.image-box img {
width: 70%;
height: auto;
object-fit: cover;
opacity: 0.8;
transition: opacity 0.3s ease;
}
.image-box:hover img {
opacity: 1;
}
/* Language text styling */
.lang-name {
text-align: center;
font-family: "Roboto Mono", monospace;
width: 75%;
height: auto;
font-size: 0.6em;
position: relative;
word-break:keep-all;
color: white;
background: #313131e6;
padding: 0px 5px 0px 5px;
z-index: 10; /* Normal stacking order */
box-sizing: border-box; /* Ensure padding and border are included in width */
}
.translator-info {
display: none;
font-size: 1em;
color: #c5ba9e;
position: absolute; /* Position absolute to expand over lower items */
top: 100%; /* Start right below the lang-name */
left: 0;
width: 100%; /* Make it the same width as lang-name */
background: #272727fa;
padding: 5px; /* Same padding as lang-name */
z-index: 100; /* Ensure it is above other items */
pointer-events: auto; /* Allows interaction with the expanded info */
box-sizing: border-box; /* Ensure padding and border are included in width */
}
/* Reset styles for links inside translator-info */
.translator-info a {
color: inherit; /* Inherit the color from the parent */
text-decoration: none; /* Remove underline */
font-size: inherit; /* Inherit font size */
font-weight: normal; /* Reset to normal weight */
background: none; /* Remove any background */
padding: 0; /* Remove any padding */
margin: 0; /* Remove any margin */
cursor: default; /* Change cursor to default */
}
.translator-info a:hover {
color: #f2a900;
}
/* Style for the upload image to make it circular */
.custom-size-image {
width: 100%; /* Ensure it fits within its container */
height: auto; /* Maintain aspect ratio */
border-radius: 50%; /* Make the image circular */
object-fit: cover; /* Ensure the image covers the circle area */
}
#instructions-modal li {
color: #c5ba9e;
}