Skip to content

Commit 81d7222

Browse files
Fix :Add a link to the github project:change5
1 parent 88dc9b4 commit 81d7222

File tree

1 file changed

+29
-45
lines changed

1 file changed

+29
-45
lines changed

css/style.css

Lines changed: 29 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ body {
124124

125125
div.buttons {
126126
display: flex;
127-
gap: 12px;
127+
gap: 0.5rem;
128+
flex-wrap: wrap;
128129
}
129130

130131
button.action {
@@ -140,6 +141,22 @@ body {
140141
flex: 1;
141142
}
142143

144+
#github{
145+
position: static;
146+
order: 3;
147+
flex-basis: 100%;
148+
display: flex;
149+
justify-content: center;
150+
align-items: center;
151+
margin-top: 1rem;
152+
}
153+
154+
#github a {
155+
display: inline-flex;
156+
align-items: center;
157+
gap: 3rem;
158+
}
159+
143160
}
144161

145162
#settingsModal::backdrop {
@@ -184,53 +201,20 @@ body {
184201

185202

186203
#github {
187-
position: fixed;
188-
bottom: 12px;
189-
right: 12px;
190-
z-index: 60;
191-
pointer-events: auto;
192-
}
193-
194-
195-
#github a {
196-
display: inline-flex;
197-
align-items: center;
198-
gap: 10px;
199-
color: white;
200-
text-decoration: none;
201-
}
202-
203-
#github p { margin: 0; }
204-
205-
#github img {
206-
width: 50px;
207-
height: 50px;
208-
display: inline-block;
209-
border-radius: 6px;
210-
}
211-
212-
213-
#settingsModal .buttons {
214-
display: flex;
215-
gap: 12px;
216-
flex-wrap: wrap;
217-
}
204+
a {
205+
display: inline-flex;
206+
align-items: center;
207+
color: white;
208+
text-decoration: none;
209+
}
218210

219-
#settingsModal .buttons #github {
220-
position: static;
221-
order: 3;
222-
flex-basis: 100%;
223-
display: flex;
224-
justify-content: center;
225-
align-items: center;
226-
margin-top: 12px;
211+
img {
212+
width: 5rem;
213+
height: 5rem;
214+
display: inline-block;
215+
}
227216
}
228217

229-
#settingsModal .buttons #github a {
230-
display: inline-flex;
231-
align-items: center;
232-
gap: 10px;
233-
}
234218

235219

236220

0 commit comments

Comments
 (0)