Add mobile styles, social icons and README badges
This commit is contained in:
1 parent
be028d6934
commit
a0fd2fa2a1
23 files changed
+235
-184
No files matched your search
@@ -20,13 +20,15 @@
|
||||
|
||||
<span class="clock full">{now ? formatClock(now) : ''}</span>
|
||||
<span class="clock short">{now ? formatClock(now).split(' ').slice(1).join(' ') : ''}</span>
|
||||
<span class="clock time-only">{now ? formatClock(now).split(' ').at(-1) : ''}</span>
|
||||
|
||||
<style>
|
||||
.clock {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.short {
|
||||
.short,
|
||||
.time-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -39,4 +41,14 @@
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.short {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.time-only {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user