diff --git a/css/main.css b/css/main.css
index 0b52e83..7a10e05 100644
--- a/css/main.css
+++ b/css/main.css
@@ -15,7 +15,7 @@ body {
}
body {
- --accent-color: rgb(231, 44, 55);
+ --accent-color: rgb(219, 32, 45);
--secondary-color: #ffac2e;
--text-color: 34, 34, 34;
--foreground-color: 252, 253, 255;
@@ -109,12 +109,29 @@ button {
width: min(100%, 56rem);
margin: 0 auto;
}
+#home header {
+ display: grid;
+ width: 100%;
+ background: linear-gradient(#e32e4a, #bd142e);
+ padding-bottom: 3rem;
+ margin-bottom: -2rem;
+}
+#home .rm-logo {
+ margin-top: 10vmax;
+ height: 2rem;
+ justify-self: center;
+ background-color: rgba(0, 0, 0, 0.2);
+ height: 4rem;
+ width: 4rem;
+ padding: 1rem;
+ border-radius: 5rem;
+ fill: rgba(var(--foreground-color), 1);
+}
#home h1 {
padding: 1rem;
- padding-top: 10vmax;
- font-size: max(1.8rem, 4vw);
+ font-size: max(1.8rem, 3vw);
text-align: center;
- color: var(--accent-color);
+ color: rgba(var(--foreground-color), 1);
}
@-webkit-keyframes gradient {
0% {
@@ -132,12 +149,6 @@ button {
background-position: 100% 50%;
}
}
-#home header {
- width: 100%;
- background-color: rgba(var(--text-color), 0.06);
- padding-bottom: 3rem;
- margin-bottom: -2rem;
-}
#cert_sec {
padding: 1.5rem;
@@ -153,15 +164,14 @@ button {
--border-radius: 0.5rem;
border-radius: 0.5rem;
--padding: 1rem 1.2rem;
- background-color: rgba(var(--foreground-color), 1);
+ --background: rgba(var(--foreground-color), 1);
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
border: solid thin rgba(var(--text-color), 0.2);
}
#issued_cert_list {
- display: flex;
- flex-direction: column;
- gap: 0.5rem;
+ display: grid;
+ gap: 1rem;
padding: 1rem;
padding-bottom: 4rem;
margin-top: 1rem;
@@ -194,8 +204,8 @@ button {
.cert-card {
display: grid;
gap: 0.6rem;
- padding: 1rem;
- background-color: rgba(var(--text-color), 0.03);
+ padding: max(1rem, 1.5vw);
+ background-color: rgba(var(--foreground-color), 1);
border-radius: 0.5rem;
}
.cert-card h4 {
diff --git a/css/main.min.css b/css/main.min.css
index 7223d88..48bcb0f 100644
--- a/css/main.min.css
+++ b/css/main.min.css
@@ -1 +1 @@
-*{padding:0;margin:0;box-sizing:border-box;font-family:"Roboto slab",serif}:root{font-size:clamp(1rem,1.2vmax,1.2rem)}html,body{height:100%}body{--accent-color: rgb(231, 44, 55);--secondary-color: #ffac2e;--text-color: 34, 34, 34;--foreground-color: 252, 253, 255;--background-color: 241, 243, 248;--danger-color: rgb(255, 75, 75);--green: rgb(91, 33, 255);--yellow: rgb(220, 165, 0);color:rgba(var(--text-color), 1);background-color:rgba(var(--background-color), 1)}body[data-theme=dark]{--accent-color: #92a2ff;--secondary-color: #d60739;--text-color: 200, 200, 200;--foreground-color: 27, 28, 29;--background-color: 21, 22, 22;--danger-color: rgb(255, 106, 106);--green: #00e676;--yellow: rgb(255, 213, 5)}body[data-theme=dark] ::-webkit-calendar-picker-indicator{filter:invert(1)}button{padding:1rem;font-size:inherit;background-color:var(--accent-color);border:none;border-radius:.3rem;color:#fff;font-weight:500;cursor:pointer}.capitalize{text-transform:capitalize}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-0-5{gap:.5rem}.align-items-center{align-items:center}.space-between{justify-content:space-between}.wrap-around{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.margin-left-auto{margin-left:auto}.observe-empty-state:empty{display:none}.observe-empty-state:not(:empty)~.empty-state{display:none}#loader{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;gap:1rem}#home>*{width:min(100%,56rem);margin:0 auto}#home h1{padding:1rem;padding-top:10vmax;font-size:max(1.8rem,4vw);text-align:center;color:var(--accent-color)}@-webkit-keyframes gradient{0%{background-position:0% 50%}100%{background-position:100% 50%}}@keyframes gradient{0%{background-position:0% 50%}100%{background-position:100% 50%}}#home header{width:100%;background-color:rgba(var(--text-color), 0.06);padding-bottom:3rem;margin-bottom:-2rem}#cert_sec{padding:1.5rem;font-family:"intern"}#search_certificates{position:-webkit-sticky;position:sticky;top:1rem;width:min(24rem,100% - 2rem);margin:0 auto;--border-radius: 0.5rem;border-radius:.5rem;--padding: 1rem 1.2rem;background-color:rgba(var(--foreground-color), 1);box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);border:solid thin rgba(var(--text-color), 0.2)}#issued_cert_list{display:flex;flex-direction:column;gap:.5rem;padding:1rem;padding-bottom:4rem;margin-top:1rem}.button{display:flex;align-items:center;padding:.4rem .8rem;text-decoration:none;border-radius:3rem;margin-left:auto;font-weight:500;color:var(--accent-color);gap:.3rem}.button--primary{background-color:var(--accent-color);color:#fff}.button--primary .icon{fill:#fff}.button:disabled{opacity:.5;cursor:not-allowed;filter:saturate(0)}.cert-card{display:grid;gap:.6rem;padding:1rem;background-color:rgba(var(--text-color), 0.03);border-radius:.5rem}.cert-card h4{font-size:1.2rem}.cert-card time{font-size:.9rem;color:rgba(var(--text-color), 0.8)}.cert-card p{font-size:.9rem;color:rgba(var(--text-color), 0.9)}.cert-card .tag{padding:.3rem .5rem;border-radius:.3rem;font-size:.9rem;font-weight:500;color:rgba(var(--text-color), 0.9);background-color:rgba(var(--text-color), 0.06);margin-right:auto}.cert-card .tag::first-letter{text-transform:uppercase}@media(max-width: 768px){.cert-card{margin:0 -1rem;gap:1rem}}.hidden{display:none !important}
\ No newline at end of file
+*{padding:0;margin:0;box-sizing:border-box;font-family:"Roboto slab",serif}:root{font-size:clamp(1rem,1.2vmax,1.2rem)}html,body{height:100%}body{--accent-color: rgb(219, 32, 45);--secondary-color: #ffac2e;--text-color: 34, 34, 34;--foreground-color: 252, 253, 255;--background-color: 241, 243, 248;--danger-color: rgb(255, 75, 75);--green: rgb(91, 33, 255);--yellow: rgb(220, 165, 0);color:rgba(var(--text-color), 1);background-color:rgba(var(--background-color), 1)}body[data-theme=dark]{--accent-color: #92a2ff;--secondary-color: #d60739;--text-color: 200, 200, 200;--foreground-color: 27, 28, 29;--background-color: 21, 22, 22;--danger-color: rgb(255, 106, 106);--green: #00e676;--yellow: rgb(255, 213, 5)}body[data-theme=dark] ::-webkit-calendar-picker-indicator{filter:invert(1)}button{padding:1rem;font-size:inherit;background-color:var(--accent-color);border:none;border-radius:.3rem;color:#fff;font-weight:500;cursor:pointer}.capitalize{text-transform:capitalize}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-0-5{gap:.5rem}.align-items-center{align-items:center}.space-between{justify-content:space-between}.wrap-around{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.margin-left-auto{margin-left:auto}.observe-empty-state:empty{display:none}.observe-empty-state:not(:empty)~.empty-state{display:none}#loader{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;gap:1rem}#home>*{width:min(100%,56rem);margin:0 auto}#home header{display:grid;width:100%;background:linear-gradient(#e32e4a, #bd142e);padding-bottom:3rem;margin-bottom:-2rem}#home .rm-logo{margin-top:10vmax;height:2rem;justify-self:center;background-color:rgba(0,0,0,.2);height:4rem;width:4rem;padding:1rem;border-radius:5rem;fill:rgba(var(--foreground-color), 1)}#home h1{padding:1rem;font-size:max(1.8rem,3vw);text-align:center;color:rgba(var(--foreground-color), 1)}@-webkit-keyframes gradient{0%{background-position:0% 50%}100%{background-position:100% 50%}}@keyframes gradient{0%{background-position:0% 50%}100%{background-position:100% 50%}}#cert_sec{padding:1.5rem;font-family:"intern"}#search_certificates{position:-webkit-sticky;position:sticky;top:1rem;width:min(24rem,100% - 2rem);margin:0 auto;--border-radius: 0.5rem;border-radius:.5rem;--padding: 1rem 1.2rem;--background: rgba(var(--foreground-color), 1);box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);border:solid thin rgba(var(--text-color), 0.2)}#issued_cert_list{display:grid;gap:1rem;padding:1rem;padding-bottom:4rem;margin-top:1rem}.button{display:flex;align-items:center;padding:.4rem .8rem;text-decoration:none;border-radius:3rem;margin-left:auto;font-weight:500;color:var(--accent-color);gap:.3rem}.button--primary{background-color:var(--accent-color);color:#fff}.button--primary .icon{fill:#fff}.button:disabled{opacity:.5;cursor:not-allowed;filter:saturate(0)}.cert-card{display:grid;gap:.6rem;padding:max(1rem,1.5vw);background-color:rgba(var(--foreground-color), 1);border-radius:.5rem}.cert-card h4{font-size:1.2rem}.cert-card time{font-size:.9rem;color:rgba(var(--text-color), 0.8)}.cert-card p{font-size:.9rem;color:rgba(var(--text-color), 0.9)}.cert-card .tag{padding:.3rem .5rem;border-radius:.3rem;font-size:.9rem;font-weight:500;color:rgba(var(--text-color), 0.9);background-color:rgba(var(--text-color), 0.06);margin-right:auto}.cert-card .tag::first-letter{text-transform:uppercase}@media(max-width: 768px){.cert-card{margin:0 -1rem;gap:1rem}}.hidden{display:none !important}
\ No newline at end of file
diff --git a/css/main.scss b/css/main.scss
index e75556b..05a982d 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -15,7 +15,7 @@ body {
}
body {
- --accent-color: rgb(231, 44, 55);
+ --accent-color: rgb(219, 32, 45);
--secondary-color: #ffac2e;
--text-color: 34, 34, 34;
--foreground-color: 252, 253, 255;
@@ -99,12 +99,29 @@ button {
width: min(100%, 56rem);
margin: 0 auto;
}
+ header {
+ display: grid;
+ width: 100%;
+ background: linear-gradient(#e32e4a, #bd142e);
+ padding-bottom: 3rem;
+ margin-bottom: -2rem;
+ }
+ .rm-logo {
+ margin-top: 10vmax;
+ height: 2rem;
+ justify-self: center;
+ background-color: rgba(0 0 0 /0.2);
+ height: 4rem;
+ width: 4rem;
+ padding: 1rem;
+ border-radius: 5rem;
+ fill: rgba(var(--foreground-color), 1);
+ }
h1 {
padding: 1rem;
- padding-top: 10vmax;
- font-size: max(1.8rem, 4vw);
+ font-size: max(1.8rem, 3vw);
text-align: center;
- color: var(--accent-color);
+ color: rgba(var(--foreground-color), 1);
}
@keyframes gradient {
0% {
@@ -114,12 +131,6 @@ button {
background-position: 100% 50%;
}
}
- header {
- width: 100%;
- background-color: rgba(var(--text-color), 0.06);
- padding-bottom: 3rem;
- margin-bottom: -2rem;
- }
}
#cert_sec {
padding: 1.5rem;
@@ -133,14 +144,13 @@ button {
--border-radius: 0.5rem;
border-radius: 0.5rem;
--padding: 1rem 1.2rem;
- background-color: rgba(var(--foreground-color), 1);
+ --background: rgba(var(--foreground-color), 1);
box-shadow: 0 0.5rem 1.5rem rgba(0 0 0 /0.1);
border: solid thin rgba(var(--text-color), 0.2);
}
#issued_cert_list {
- display: flex;
- flex-direction: column;
- gap: 0.5rem;
+ display: grid;
+ gap: 1rem;
padding: 1rem;
padding-bottom: 4rem;
margin-top: 1rem;
@@ -171,8 +181,8 @@ button {
.cert-card {
display: grid;
gap: 0.6rem;
- padding: 1rem;
- background-color: rgba(var(--text-color), 0.03);
+ padding: max(1rem, 1.5vw);
+ background-color: rgba(var(--foreground-color), 1);
border-radius: 0.5rem;
h4 {
font-size: 1.2rem;
diff --git a/index.html b/index.html
index 060db80..99e2576 100644
--- a/index.html
+++ b/index.html
@@ -15,7 +15,7 @@