Design changes

This commit is contained in:
sairaj mote 2023-06-27 20:50:47 +05:30
parent 7d1e60cbfd
commit d84bfaf815
4 changed files with 42 additions and 24 deletions

View File

@ -17,7 +17,7 @@ body {
body {
--accent-color: #3d5afe;
--secondary-color: #ffac2e;
--secondary-color: rgb(26, 45, 63);
--text-color: 36, 36, 36;
--foreground-color: 252, 253, 255;
--background-color: 241, 243, 248;
@ -26,14 +26,15 @@ body {
--yellow: rgb(220, 165, 0);
--inline-padding: max(1rem, 6vw);
background-color: rgba(var(--background-color), 1);
color: rgba(var(--text-color), 1);
}
body[data-theme=dark] {
--accent-color: #6d83ff;
--secondary-color: #d60739;
--text-color: 220, 220, 220;
--foreground-color: 27, 28, 29;
--background-color: 21, 22, 22;
--foreground-color: 33, 54, 75;
--background-color: 17, 30, 43;
--danger-color: rgb(255, 106, 106);
--green: #00e676;
--yellow: rgb(255, 213, 5);
@ -796,27 +797,32 @@ section:nth-of-type(2) {
#team_members {
display: grid;
gap: 1rem;
gap: 3rem 1rem;
margin-top: 3rem;
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
}
.team-member {
display: grid;
grid-template-columns: min(10rem, 50vw) 1fr;
background-color: rgba(var(--foreground-color), 1);
border-radius: 0.5rem;
overflow: hidden;
cursor: pointer;
text-align: center;
justify-content: center;
justify-items: center;
}
.team-member img {
-o-object-fit: cover;
object-fit: cover;
aspect-ratio: 3/3.5;
aspect-ratio: 1/1;
-o-object-position: top;
object-position: top;
width: 100%;
height: auto;
border-radius: 15rem;
}
.team-member .flex {
padding: 1rem;
align-items: flex-start;
gap: 0.5rem;
}
.team-member__name {
@ -828,10 +834,12 @@ section:nth-of-type(2) {
line-height: normal;
font-weight: 500;
font-size: 0.9rem;
margin-bottom: 1.5rem;
}
.team-member__button {
margin-top: auto;
padding: 0.5rem 1rem;
align-self: center;
}
#partners {
@ -1084,7 +1092,8 @@ section:nth-of-type(2) {
grid-template-columns: 1fr 1fr;
}
#team_members {
grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}
.hide-on-large {
display: none !important;

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,7 @@ body {
}
body {
--accent-color: #3d5afe;
--secondary-color: #ffac2e;
--secondary-color: rgb(26, 45, 63);
--text-color: 36, 36, 36;
--foreground-color: 252, 253, 255;
--background-color: 241, 243, 248;
@ -24,14 +24,15 @@ body {
--yellow: rgb(220, 165, 0);
--inline-padding: max(1rem, 6vw);
background-color: rgba(var(--background-color), 1);
color: rgba(var(--text-color), 1);
}
body[data-theme="dark"] {
--accent-color: #6d83ff;
--secondary-color: #d60739;
--text-color: 220, 220, 220;
--foreground-color: 27, 28, 29;
--background-color: 21, 22, 22;
--foreground-color: 33, 54, 75;
--background-color: 17, 30, 43;
--danger-color: rgb(255, 106, 106);
--green: #00e676;
--yellow: rgb(255, 213, 5);
@ -755,24 +756,29 @@ section {
#team_members {
display: grid;
gap: 1rem;
gap: 3rem 1rem;
margin-top: 3rem;
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
}
.team-member {
display: grid;
grid-template-columns: min(10rem, 50vw) 1fr;
background-color: rgba(var(--foreground-color), 1);
// background-color: rgba(var(--foreground-color), 1);
border-radius: 0.5rem;
overflow: hidden;
cursor: pointer;
text-align: center;
justify-content: center;
justify-items: center;
img {
object-fit: cover;
aspect-ratio: 3/3.5;
aspect-ratio: 1/1;
object-position: top;
width: 100%;
height: auto;
border-radius: 15rem;
}
.flex {
padding: 1rem;
align-items: flex-start;
gap: 0.5rem;
}
&__name {
@ -784,10 +790,12 @@ section {
line-height: normal;
font-weight: 500;
font-size: 0.9rem;
margin-bottom: 1.5rem;
}
&__button {
margin-top: auto;
padding: 0.5rem 1rem;
align-self: center;
}
}
@ -1017,7 +1025,8 @@ section {
grid-template-columns: 1fr 1fr;
}
#team_members {
grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}
.hide-on-large {
display: none !important;

View File

@ -13,7 +13,7 @@
<script src="https://unpkg.com/uhtml@3.0.1/es.js"></script>
</head>
<body class="hidden">
<body class="hidden" data-theme="">
<header id="main_header">
<a href="">
<h4>Project B</h4>
@ -28,11 +28,11 @@
</header>
<article id="home" class="page">
<section id="above_fold" class="gap-4">
<h2 class="reveal">
<h1 class="reveal">
<span class="tagline">
All about execution of tokenization projects
</span>
</h2>
</h1>
<!-- <img id="hero_illustration" src="assets/svg/cityscape.svg" alt=""> -->
<div class="grid" style="gap: 8rem;">
<div class="grid gap-2 above_fold__section move-in">
@ -826,11 +826,11 @@
</section>
</article>
<article id="economic_framework" class="page hidden">
<h2 class="tagline reveal">
<h1 class="tagline reveal">
<span>
Tokenization = Blockchain Technology + Economic Framework
</span>
</h2>
</h1>
<div class="grid gap-2">
<h3 class="reveal">
<span>