Skip to content

Commit acb993e

Browse files
Merge pull request #30 from Pawankalyan2023/main
Fix : Adding Github link and Icon
2 parents cab6d74 + 4bc200e commit acb993e

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

css/style.css

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ body {
7575
animation: pulse 1.2s infinite alternate;
7676
transition: opacity 0.6s ease;
7777
user-select: none;
78-
7978
}
8079

8180
#settingsForm {
@@ -124,7 +123,8 @@ body {
124123

125124
div.buttons {
126125
display: flex;
127-
gap: 12px;
126+
gap: 0.5rem;
127+
flex-wrap: wrap;
128128
}
129129

130130
button.action {
@@ -140,6 +140,29 @@ body {
140140
flex: 1;
141141
}
142142

143+
#github{
144+
position: static;
145+
order: 3;
146+
flex-basis: 100%;
147+
display: flex;
148+
justify-content: center;
149+
align-items: center;
150+
margin-top: 1rem;
151+
152+
a {
153+
display: inline-flex;
154+
align-items: center;
155+
color: white;
156+
text-decoration: none;
157+
gap: 3rem;
158+
}
159+
160+
img {
161+
width: 5rem;
162+
height: 5rem;
163+
display: inline-block;
164+
}
165+
}
143166
}
144167

145168
#settingsModal::backdrop {
@@ -155,7 +178,6 @@ body {
155178
}
156179

157180

158-
159181
/* Animation de pulsation */
160182
@keyframes pulse {
161183
0% {transform: translate(-50%, -50%) scale(1);}

img/github-mark-white.svg

Lines changed: 1 addition & 0 deletions
Loading

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,15 @@ <h3>Settings</h3>
6868
<div class="buttons">
6969
<button id="resetBtn" class="action">Restore defaults</button>
7070
<button id="submitBtn" class="action">Apply</button>
71+
<div id = 'github'>
72+
<a href="https://github.com/zenika-open-source/clepsydre" title="contribute to the project on Github">
73+
Contribute on Github <img src="img/github-mark-white.svg" alt="Github logo" />
74+
</a>
7175
</div>
72-
76+
</div>
77+
7378
</dialog>
79+
7480

7581
<div id="startMessage"><button id="startAnimation" class="btn">START</button></div>
7682
<div id="timer">00:00</div>

0 commit comments

Comments
 (0)