Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: aligned headers in center on the dashboard page #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .hintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"axe/name-role-value": [
"default",
{
"button-name": "off"
"button-name": "off",
"link-name": "off"
}
],
"compat-api/css": "off"
"compat-api/css": "off",
"detect-css-reflows/composite": "off",
"detect-css-reflows/paint": "off"
}
}
42 changes: 41 additions & 1 deletion dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,42 @@ main {
animation: fadeIn 1s ease-in-out;
}

#appln{
display: flex;
align-items: center;
margin-right: 30rem;
margin-left: 5rem;
}

#book{
display: flex;
align-items: center;
margin-right: 23rem;
margin-left: 15rem;
}

#org{
color: #72D34F;
display: flex;
align-items: center;
margin-right: 25rem;
margin-left: 10rem;
}

#art{
display: flex;
align-items: center;
margin-right: 23rem;
margin-left: 15rem;
}

#conf{
display: flex;
align-items: center;
margin-right: 27rem;
margin-left: 3rem;
}

.grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
Expand Down Expand Up @@ -355,4 +391,8 @@ body.scroll-down .back-to-top {
}
}


#book{
display: flex;
align-items: center;
justify-content: center;
}
4 changes: 2 additions & 2 deletions dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<main>
<!-- <h1 class="heading">Enter your Space</h1> -->
<div id="app">
<h1 class="heading">Applications</h1>
<h1 id="appln" class="heading">Applications</h1>
<div class="grid">
<div data-tilt class="left">Nyxo</div>
<div data-tilt class="left">Sanvello</div>
Expand All @@ -48,7 +48,7 @@ <h1 id="book" class="heading">Books</h1>
<div data-tilt class="right"><a href="https://www.amazon.in/Technology-Mental-Health-Foundations-Routledge/dp/0367773597"><img src="https://m.media-amazon.com/images/P/0367773597.01._SCLZZZZZZZ_SX500_.jpg" id="bookimg"></a></div>
<div data-tilt class="right"><a href="https://arcus-www.amazon.in/Therapy-Tech-Digital-Transformation-Healthcare-ebook/dp/B09FYRYLXF"><img src="https://m.media-amazon.com/images/P/B09FYRYLXF.01._SCLZZZZZZZ_SX500_.jpg" id="bookimg"></a></div>
</div>
<h1 id="org" class="heading">Organizations</h1>
<h1 id="org">Organizations</h1>
<div class="grid">
<div data-tilt class="left">Black Minds Matter</div>
<div data-tilt class="left">Brown Sisters Speak</div>
Expand Down