Skip to content

Commit

Permalink
cleanup css
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Feb 4, 2024
1 parent 14180da commit 01c5b62
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
19 changes: 11 additions & 8 deletions pages/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,25 @@
/* margin-bottom: 64px; */
}

.hc-white-block {
.hc-block {
display: block;
width: 100vw;
max-width: 100%;
min-height: 100px;
/* background-color: rgb(255, 255, 255); */
/* margin-bottom: 64px; */
}

.hc-grey-block {
display: block;
width: 100vw;
max-width: 100%;
min-height: 100px;
/* Grey block */
.hc-block:nth-child(even) {
background-color: rgb(238, 238, 238);
/* margin-bottom: 64px; */
}

.hc-grey-block {
background-color: rgb(238, 238, 238) !important;
}

.hc-white-block {
background-color: unset !important;
}

.hc-title-main {
Expand Down
18 changes: 9 additions & 9 deletions pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
<div class="hc-header-img"></div>
</div>

<div class="hc-grey-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-title-main">
Freedom to Explore
Expand All @@ -36,7 +36,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-white-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-container-title">
Core products
Expand Down Expand Up @@ -73,7 +73,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-grey-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-container-title">
Contact us
Expand All @@ -93,7 +93,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-white-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-container-title">
Roles
Expand All @@ -112,7 +112,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-grey-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-container-title">
About ISO
Expand All @@ -131,7 +131,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-white-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-container-title">
Scientific Tools
Expand All @@ -150,7 +150,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-grey-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-container-title">
Pillars
Expand All @@ -169,7 +169,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-white-block">
<div class="hc-block">
<div class="hc-block-container">
<div class="hc-container-title">
Agreements
Expand All @@ -180,7 +180,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</div>
</div>

<div class="hc-grey-block">
<div class="hc-block hc-grey-block">
<div class="hc-block-container">
<div class="hc-container-title">
About HUNT Cloud
Expand Down

0 comments on commit 01c5b62

Please sign in to comment.