Skip to content

Commit

Permalink
Merge pull request #207 from decentralized-identity/dwn-page-style-up…
Browse files Browse the repository at this point in the history
…date

css change
  • Loading branch information
dif-admin authored Jul 23, 2024
2 parents 680989f + b0bec23 commit b107c77
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 4 deletions.
60 changes: 60 additions & 0 deletions docs/css/color/color-13.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
::selection {
background-color:#000000;
color: #fff;
}
::-moz-selection {
background-color:#000000;
color: #fff;
}



.m-btn-t-theme,
.blog-item .blog-content h4 a:hover,
.theme-color {
color:#000000;
}


.form-group .input-focus-effect,
.m-btn-t-theme:hover,
.theme-after-bg:after,
.btn-theme,
.theme-bg {
background:#000000;
}

.m-btn-t-theme,
.border-theme,
.btn-theme {
border-color:#000000;
}

.tab-style-1 .nav .nav-item a.active,
.owl-dots .owl-dot.active,
.m-btn-theme,
.title-section h2:after,
.theme-before:before,
.theme-after:after,
.theme-hover:hover,
.theme-g-bg{
background: #000000;
background: -webkit-linear-gradient(to right, #000000, #000000);
background: linear-gradient(to right, #000000, #000000);
}


/*Reverce*/
.about-text li:hover i,
.m-btn-theme:hover{
background: #000000;
background: -webkit-linear-gradient(to right, #000000, #000000);
background: linear-gradient(to right, #000000, #000000);
}


@media (max-width: 991px){
.header {
background:#000000;
}
}
5 changes: 3 additions & 2 deletions docs/dwn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- Theme Style -->
<link href="/css/styles.css" rel="stylesheet"/>
<link href="/css/candidate.css" rel="stylesheet"/>
<link href="/css/color/default.css" rel="stylesheet" id="color_theme"/> <!-- Favicon -->
<link href="/css/color/color-13.css" rel="stylesheet" id="color_theme"/> <!-- Favicon -->
<link rel="icon" href="/favicon.ico"/>
<link rel="icon" type="image/png" href="/favicon.png?r1"/>
</head>
Expand Down Expand Up @@ -199,13 +199,14 @@ <h3>Take control of your data with Decentralized Web Nodes</h3>
</div>
</section>
<section class="counter-section">

<div class="container">
<div class="row justify-content-md-center">
<div class="col-12">
<div class="section-title text-center">

<img src="/images/dwn_community_node.png" alt="DWN Community Node Splash Image">


<!-- <div class="title-border">
<span class="lg"></span>
<span class="md"></span>
Expand Down
23 changes: 23 additions & 0 deletions templates/default-dark.html.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">

{% include "head-dark.html.njk" %}

<body>
{% include "nav.html.njk" %}
<main>
{% block content %}{% endblock %}
</main>

{% include "footer.html.njk" %}

{% for file in js %}
<script src="/js/{{ file }}.js"></script>
{% endfor %}

{% block scripts %}
<script src="/js/base.js"></script>
{% endblock %}
</body>

</html>
5 changes: 3 additions & 2 deletions templates/pages/dwn/index.html.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% set subtitle = "Take control of your data with Decentralized Web Nodes" %}
{% set repoTag = "" %}

{% extends "default.html.njk" %}
{% extends "default-dark.html.njk" %}
<!-- {% block svg %}
{% endblock %} -->
Expand All @@ -23,13 +23,14 @@
</div>
</section>
<section class="counter-section">

<div class="container">
<div class="row justify-content-md-center">
<div class="col-12">
<div class="section-title text-center">

<img src="/images/dwn_community_node.png" alt="DWN Community Node Splash Image">


<!-- <div class="title-border">
<span class="lg"></span>
<span class="md"></span>
Expand Down
18 changes: 18 additions & 0 deletions templates/partials/head-dark.html.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<title>DIF - {{ title if title else 'Decentralized Identity Foundation' }}</title>
<meta name="google-site-verification" content="8yJCkbG9ayv7Vbjgjk525YTGbDVCvUZ_Moviopr6f1M"/> <!-- Plugin CSS -->
<link href="/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link href="/plugins/owl-carousel/css/owl.carousel.min.css" rel="stylesheet"/>
{% for file in css %}
<link href="/css/{{ file }}.css" rel="stylesheet"/>
{% else %}<!-- no css were found to include -->{% endfor %}
<!-- Theme Style -->
<link href="/css/styles.css" rel="stylesheet"/>
<link href="/css/candidate.css" rel="stylesheet"/>
<link href="/css/color/color-13.css" rel="stylesheet" id="color_theme"/> <!-- Favicon -->
<link rel="icon" href="/favicon.ico"/>
<link rel="icon" type="image/png" href="/favicon.png?r1"/>
</head>

0 comments on commit b107c77

Please sign in to comment.