Skip to content

Commit

Permalink
[Update][l]: cookie page implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
sneha-sharma12 committed Jul 1, 2024
1 parent 0883049 commit 064ddac
Show file tree
Hide file tree
Showing 9 changed files with 730 additions and 2 deletions.
189 changes: 189 additions & 0 deletions ckanext/ubdc/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7194,6 +7194,195 @@ input[type=checkbox][name=consentName]:focus {
height: 550px;
}

.section_small-hero {
background-color: #f2f1fe;
border: 1px solid #dfe1e7;
border-bottom-style: none;
position: relative;
overflow: hidden;
}
.section_small-hero.padding-global {
padding-left: 2.5em;
padding-right: 2.5em;
}

.container-small {
margin-right: auto !important;
margin-left: auto !important;
width: 100%;
max-width: 48em;
}

.padding-section-medium.bigger {
padding-top: 6em;
padding-bottom: 6em;
position: relative;
}

.text-align-center {
text-align: center;
margin-bottom: 0;
}

.margin-right {
margin-top: 0 !important;
margin-bottom: 0 !important;
margin-left: 0 !important;
}

.hero_head {
letter-spacing: -0.2vw;
margin-top: 0;
margin-bottom: 1vw;
font-size: 4em;
font-weight: 700;
line-height: 1.125;
}

.margin-custom1 {
margin: 1.5rem;
}

.hero_bg-img.left {
width: 20em;
height: 10em;
top: auto;
bottom: 0%;
left: 0%;
right: auto;
position: absolute;
}
.hero_bg-img.right {
width: 24.5781em;
height: 10.19em;
top: auto;
bottom: 0%;
left: auto;
right: 0%;
position: absolute;
}
.hero_bg-img.default {
width: 23.4404em;
height: 16.8373em;
position: absolute;
}

.section_small-hero {
background-color: #f2f2f2;
border: 1px solid #dfe1e7;
border-bottom-style: none;
position: relative;
overflow: hidden;
}
.section_small-hero.padding-global {
padding-left: 2.5em;
padding-right: 2.5em;
}

.container-small {
margin-right: auto !important;
margin-left: auto !important;
width: 100%;
max-width: 48em;
}

.padding-section-medium {
padding-top: 5em;
padding-bottom: 5em;
position: relative;
}

.rich-text-block-2 {
font-size: 1em;
line-height: 2.4em;
font-weight: 300;
}
.rich-text-block-2 h2 {
margin-top: 2vw;
margin-bottom: 1vw;
font-size: 2.3em;
line-height: 1.125em;
}

.text-color-dark-green {
color: var(--dark-green);
}
.text-color-dark-green strong {
font-weight: 700;
}

#cookies-table {
float: left;
width: 100%;
}
#cookies-table table {
width: 100%;
border-collapse: collapse;
}
#cookies-table table tr:nth-of-type(odd) {
background: #f2f2f2;
}
#cookies-table table th {
background: #184e44;
color: white;
font-weight: bold;
padding: 0.375em;
border: 0.125em solid #ccc;
text-align: left;
}
#cookies-table table td,
#cookies-table table th {
padding: 0.375em;
border: 0.125em solid #ccc;
text-align: left;
}
@media all and (max-width: 767px) {
#cookies-table table,
#cookies-table thead,
#cookies-table tbody,
#cookies-table th,
#cookies-table td,
#cookies-table tr {
display: block;
}
#cookies-table thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
#cookies-table tr {
border-left: 0.125em solid #ccc;
border-right: 0.125em solid #ccc;
border-bottom: 0.125em solid #ccc;
}
#cookies-table tr:nth-of-type(1) {
border-top: 0.125em solid #ccc;
}
#cookies-table td {
border: none;
border-bottom: 0.125em solid #eee;
position: relative;
padding-left: 50%;
}
#cookies-table td:before {
position: absolute;
top: 0.375em;
left: 0.375em;
width: 45%;
padding-right: 0.625em;
white-space: nowrap;
}
#cookies-table td:nth-of-type(1):before {
content: "Cookie";
}
#cookies-table td:nth-of-type(2):before {
content: "Purpose";
}
#cookies-table td:nth-of-type(3):before {
content: "More information";
}
}

.tag {
display: inline-block;
margin-bottom: 4px;
Expand Down
Loading

0 comments on commit 064ddac

Please sign in to comment.