Skip to content

Commit

Permalink
client: wip alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham-Lal committed May 4, 2024
1 parent 49b8cd4 commit ddb2a63
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 17 deletions.
5 changes: 3 additions & 2 deletions client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@
}

#main {
padding: 10px;
padding-top: 70px;
padding: 0 10px;
padding-top: 75px;
padding-bottom: 15px;
width: 100%;
}

Expand Down
5 changes: 3 additions & 2 deletions client/src/components/card/closed-debate-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#closed-card .left p {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
padding-top: 10px;
font-size: 16px;
Expand Down Expand Up @@ -100,7 +100,8 @@
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
font-size: 14px;
font-size: 15px;
font-weight: 600;
color: var(--card_color_secondary);
cursor: pointer;
}
Expand Down
6 changes: 1 addition & 5 deletions client/src/components/card/open-debate-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#open-card .debate-body {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
padding-top: 10px;
font-size: 16px;
Expand Down Expand Up @@ -101,10 +101,6 @@
#open-card .debate-body {
font-size: 15px;
}

#open-card .debate-body {
-webkit-line-clamp: 5;
}
}

@media screen and (max-width: 480px) {
Expand Down
14 changes: 7 additions & 7 deletions client/src/components/sidebar/profile.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
:root {
--text_primary: #0a0a0a;
--text_secondary: #AAAAAA;
--text_tertiary: #212122;
--shine_text_primary: #606060;
--shine_text_secondary: #000000;
--shine_text_tertiary: #606060;
}

[data-theme='dark'] {
--text_primary: #9f9f9f;
--text_secondary: #fff;
--text_tertiary: #868686;
--shine_text_primary: #9f9f9f;
--shine_text_secondary: #fff;
--shine_text_tertiary: #868686;
}

.profile__wrapper {
Expand All @@ -23,7 +23,7 @@
align-items: center;
justify-content: center;
background-size: 200% 100%;
background: linear-gradient(to right, var(--text_primary) 0, var(--text_secondary) 10%, var(--text_tertiary) 20%);
background: linear-gradient(to right, var(--shine_text_primary) 0, var(--shine_text_secondary) 10%, var(--shine_text_tertiary) 20%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/home/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

@media screen and (max-width: 480px) {
#home {
gap: 10px;
gap: 15px;
}
}

0 comments on commit ddb2a63

Please sign in to comment.