update layout of several pages

* change top padding on compliance, specifications
* update layouts and style files

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1693380793390951372/master
Toshaan Bharvani 3 years ago
parent e22434365c
commit ee7b949aef

@ -1,5 +1,3 @@
// Links disabled

.disabled { .disabled {
color: black; color: black;
display: inline-block; display: inline-block;
@ -7,8 +5,6 @@ color: black;
text-decoration: none; text-decoration: none;
} }


// Board of Directors

.boardofdirectors { .boardofdirectors {
article { article {
h3 { h3 {
@ -18,9 +14,12 @@ color: black;
} }
} }
} }
.post__article {
&:nth-child(even), &.bg {
background-color: #f7f7f7;
}
}
} }

// Governance


.governance { .governance {
.row { .row {
@ -28,8 +27,6 @@ color: black;
} }
} }


// Members

.members { .members {
.membership-level { .membership-level {
border-top: 1px solid#1b1c1f; border-top: 1px solid#1b1c1f;
@ -50,8 +47,9 @@ color: black;
} }
} }
} }

#membersingle {
// Events padding-top: 3.75rem;
}


.events { .events {
.post__article:not(:last-child) { .post__article:not(:last-child) {
@ -59,7 +57,6 @@ color: black;
} }
} }


// Join
.join { .join {
.membership-data { .membership-data {
table { table {
@ -143,24 +140,12 @@ color: black;
} }
} }


// Board of Directors
main.boardofdirectors {
.post__article {
&:nth-child(even),
&.bg {
background-color: #f7f7f7;
}
}
}

// Steering comittee
section#steeringcomittee { section#steeringcomittee {
#person { #person {
#person-header { #person-header {
position: absolute; position: absolute;
} }
#personmember #personmember img {
img {
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
position: relative; position: relative;
@ -168,16 +153,14 @@ section#steeringcomittee {
} }
} }
.post__article { .post__article {
&:nth-child(even), &:nth-child(even), &.bg {
&.bg {
background-color: #f7f7f7; background-color: #f7f7f7;
} }
} }
} }


// hubproviders

#hubproviders { #hubproviders {
padding-top: 3.75rem;
#hubprovider { #hubprovider {
display: flex; display: flex;
align-items: center; align-items: center;
@ -228,5 +211,9 @@ section#steeringcomittee {
} }
} }



#specifications {

padding-top: 3.75rem;
}
#specifications-single {
padding-top: 6.500rem;
}

@ -3,7 +3,7 @@
{{ $filename := .File.BaseFileName }} {{ $filename := .File.BaseFileName }}
{{ $datafile := index $.Site.Data.compliance $filename }} {{ $datafile := index $.Site.Data.compliance $filename }}
{{ $specificationfile := printf "%s/%s" "specifications" $filename }} {{ $specificationfile := printf "%s/%s" "specifications" $filename }}
<main id="main" class="specifications-single"> <main id="specifications-single">
<section id="page" class="section-bg"> <section id="page" class="section-bg">
<div class="row"> <div class="row">
<div class="section-header my-3 my-md5 pb-2 pb-md3 text-center"> <div class="section-header my-3 my-md5 pb-2 pb-md3 text-center">

@ -25,7 +25,7 @@
{{ if eq $level $key }} {{ if eq $level $key }}
<div class="col-lg-{{ $col }} pt-5 pb-0 pb-lg-3"> <div class="col-lg-{{ $col }} pt-5 pb-0 pb-lg-3">
<div class="box"> <div class="box">
<a href="{{ .Permalink }}"> <a href="{{ .RelPermalink }}">
{{ if .Param "image" }} {{ if .Param "image" }}
{{ $imagename := .Param "image" }} {{ $imagename := .Param "image" }}
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }} {{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
@ -34,7 +34,7 @@
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}"> <img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
</a> </a>
{{ else }} {{ else }}
<h3><a class="text-black" href="{{ .Permalink }}">{{ .Title }}</a></h3> <h3><a class="text-black" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ end }} {{ end }}
{{ $i = add $i 1 }} {{ $i = add $i 1 }}
</div> </div>

@ -1,6 +1,5 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
{{ partial "navbar.html" . }} {{ partial "navbar.html" . }}
<main id="main">
<section id="specifications"> <section id="specifications">
<div id="specifications" class="container-fluid"> <div id="specifications" class="container-fluid">
<div class="section-header"> <div class="section-header">
@ -58,5 +57,4 @@
</div> </div>
</div> </div>
</section> </section>
</main>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}

@ -3,7 +3,7 @@
{{ $filename := .File.BaseFileName }} {{ $filename := .File.BaseFileName }}
{{ $datafile := index $.Site.Data.specifications $filename }} {{ $datafile := index $.Site.Data.specifications $filename }}
{{ $compliancefile := printf "%s/%s" "compliance" $filename }} {{ $compliancefile := printf "%s/%s" "compliance" $filename }}
<main id="main" class="specifications-single"> <main id="specifications-single">
<section id="page" class="section-bg"> <section id="page" class="section-bg">
<div class="row"> <div class="row">
<div class="section-header my-3 my-md5 pb-2 pb-md3 text-center"> <div class="section-header my-3 my-md5 pb-2 pb-md3 text-center">

Loading…
Cancel
Save