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

Color palette changes #109

Merged
merged 18 commits into from
Jun 10, 2021
Merged
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
4 changes: 2 additions & 2 deletions contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<meta name="theme-color" content="#000000">
<!-- Load CSS styles -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css?v=1">
<!-- Include JavaScript -->
<script defer src="js/jquery.min.js"></script>
<script defer src="js/bootstrap.min.js"></script>
Expand Down Expand Up @@ -69,7 +69,7 @@ <h1>Contribute to DietPi</h1>
<div class="title">
<h2>Grow in 2021</h2>
<p>
We are asking you to help the DietPi project. DietPi is an open-source product and it is free to use. We are sustained by donations and <b style="color:#0059ff"> even a small one (as little as the price of a cup of coffee)</b> would help the things move forward, covering the costs for hardware (new boards, micro SD cards etc.), web hosting and future development.
We are asking you to help the DietPi project. DietPi is an open-source product and it is free to use. We are sustained by donations and <b>even a small one (as little as the price of a cup of coffee)</b> would help the things move forward, covering the costs for hardware (new boards, micro SD cards etc.), web hosting and future development.
<br><br>This allows us to continue working on DietPi, make it better with every new update.
<br><br><img src="images/contribute/coffee.jpg" alt="Coffee" width="200" height="189" loading="lazy">
<br><br>In 2020 we made 8 releases and brought 128 improvements and changes, and fixed 119 bugs. We provided new software titles, support new SBCs and brought many optimisations. There are over <a href="https://dietpi.com/survey/" target="_blank" rel="noopener">110000</a> systems running DietPi.
Expand Down
14 changes: 7 additions & 7 deletions css/jquery.cslider.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,21 @@

.da-slide .da-link {
top: 270px; /*depends on p height*/
border-radius: 30px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
border-radius: 4px;
/*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);*/
color: #fff;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
border: 8px solid rgba(255, 255, 255, 0.8);
padding: 2px 20px 0;
/*text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);*/
border: 1px solid #164046;
padding: 15px 30px;
font-size: 18px;
line-height: 30px;
width: 80px;
text-align: center;
background: rgba(255, 255, 255, 0.2);
background-color: #164046;
}

.da-slide .da-link:hover {
background: rgba(255, 255, 255, 0.3);
background-color: #c5ff00;
}

.da-dots {
Expand Down
81 changes: 42 additions & 39 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ p {
color: #ffffff;
}
a {
color: #181a1c;
color: #ffffff;
}
a:hover {
color: #c5ff00;
Expand All @@ -46,7 +46,7 @@ a:hover {
left: 0;
z-index: 2001;
min-height: 60px;
background-color: #181a1c;
background-color: #164046;
padding: 4.5px 15px;
}
.navbar > .container-xl {
Expand All @@ -63,8 +63,8 @@ a:hover {
margin: 5.5px 0;
padding: 10px;
background-color: #c5ff00;
border-color: #181a1c;
stroke: #181a1c;
border-color: #164046;
stroke: #164046;
stroke-width: 2;
stroke-linecap: round;
fill: none;
Expand All @@ -78,7 +78,7 @@ a:hover {
.navbar > .container-xl > .navbar-toggler:hover,
.navbar > .container-xl > .navbar-toggler:focus,
.navbar > .container-xl > .navbar-toggler:active {
background-color: #181a1c;
background-color: #164046;
border-color: #c5ff00;
stroke: #c5ff00;
}
Expand All @@ -95,12 +95,12 @@ a:hover {
}
.navbar > .container-xl > .navbar-collapse > a {
color: #ffffff;
background-color: #181a1c;
background-color: #164046;
text-transform: uppercase;
font-size: 15px;
margin: 4.5px 0;
padding: 10px 14px;
border: 1px solid #181a1c;
border: 1px solid #164046;
border-radius: 5px;
transition: border-color 1s;
}
Expand All @@ -115,15 +115,17 @@ a:hover {
}
.nav.nav-pills > button {
margin: 2px 5px 2px 0;
background-color: #c5ff00;
border: 1px solid #181a1c;
background-color: #164046;
border: 1px solid #164046;
color: #ffffff;
border-radius: 4px;
}
.nav.nav-pills > button:hover,
.nav.nav-pills > button:focus,
.nav.nav-pills > button:active,
.nav.nav-pills > button.mixitup-control-active {
color: #ffffff;
background-color: #181a1c;
color: #164046;
background-color: #c5ff00;
}
.da-slider > .container-xl > .da-slide > .da-img {
width: 30%;
Expand All @@ -135,11 +137,11 @@ a:hover {
text-align: center;
}
.medium-text {
line-height:1.2em;
font-size:22px;
color:#181A1C;
padding:20px;
margin-bottom:20px;
line-height: 1.2em;
font-size: 22px;
color: #181a1c;
padding: 20px;
margin-bottom: 20px;
}
.large-text {
line-height: 1.2em;
Expand All @@ -148,7 +150,7 @@ a:hover {
padding: 20px;
}
.triangle {
fill: #181a1c;
fill: #164046;
width: 100%;
height: 30px;
}
Expand All @@ -170,15 +172,16 @@ a:hover {
display: inline-block;
margin-top: 2px;
margin-bottom: 2px;
border: 1px solid #181a1c;
border: 1px solid #164046;
padding: 15px 30px;
background-color: transparent;
background-color: #164046;
border-radius: 4px;
}
.button:hover,
.button:focus,
.button:active {
background-color: #181a1c;
color: #ffffff;
background-color: #c5ff00;
color: #164046;
}
/*
2.3 Thumbnails
Expand All @@ -194,7 +197,7 @@ a:hover {
margin-bottom: 20px;
margin-left: -10px;
text-align: center;
background-color: #191a1c;
background-color: #164046;
}
.thumbnail img {
display: block;
Expand All @@ -212,9 +215,9 @@ a:hover {
z-index: 4;
}
.thumbnail h3 {
color: #c5ff00;
color: #ffffff;
font-size: 14px;
margin-top: 5px
margin-top: 5px;
}
.thumbnail p {
font-size: 10px;
Expand All @@ -227,7 +230,7 @@ a:hover {
height: 40px;
margin-left: -20px;
margin-top: -45px;
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M5 1v8M1 5h8'/></svg>")
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M5 1v8M1 5h8'/></svg>");
}
.thumbnail:hover .more {
top: 50%;
Expand All @@ -249,13 +252,13 @@ a:hover {
2.4 Icons
**********************************************************************/
.fa-download {
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='white' d='M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 8-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z'/></svg>")
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='white' d='M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 8-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z'/></svg>");
}
.fa-book {
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'/></svg>")
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z'/></svg>");
}
.fa-external-link-alt {
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='white' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'/></svg>")
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='white' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'/></svg>");
}
/*
3. Sections
Expand All @@ -273,17 +276,17 @@ a:hover {
margin-bottom: 30px;
}
.primary-section {
background-color: #181a1c;
background-color: #164046;
}
.primary-section .triangle {
fill: #c5ff00;
fill: #9ccc00;
}
.primary-section .title p,
.primary-section h3 {
color: #c5ff00;
color: #9ccc00;
}
.secondary-section {
background-color: #c5ff00;
background-color: #9ccc00
}
.secondary-section .title {
border-bottom-color: #181a1c;
Expand Down Expand Up @@ -314,12 +317,11 @@ a:hover {
}
.da-slider .container-xl {
position: relative;
height: 100%
height: 100%;
}
.da-slide h2,
.da-slide h4,
.da-slide p,
.da-slide .da-link {
.da-slide p {
color: #181a1c;
}
.da-slide h2 {
Expand Down Expand Up @@ -363,13 +365,14 @@ a:hover {
.da-slide .da-link {
top: 320px;
width: unset;
border-color: rgb(24, 26, 28, 0.8);
line-height: unset;
/*border-color: rgb(24, 26, 28, 0.8);*/
}
.da-slide .da-link:hover,
.da-slide .da-link:active,
.da-slide .da-link:focus {
color: #ffffff;
background-color: #181a1c;
color: #181a1c;
background-color: #c5ff00;
}
.da-slide .da-img img {
vertical-align: unset;
Expand Down Expand Up @@ -486,7 +489,7 @@ a:hover {
height: 50px;
padding: 10px;
cursor: pointer;
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'><path fill='none' stroke='white' stroke-width='1' stroke-linecap='round' d='M1 1l3 3M1 4l3-3'/></svg>")
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'><path fill='none' stroke='white' stroke-width='1' stroke-linecap='round' d='M1 1l3 3M1 4l3-3'/></svg>");
}
.project-description {
font-size: 14px;
Expand Down
4 changes: 2 additions & 2 deletions dietpi-software.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<meta name="theme-color" content="#000000">
<!-- Load CSS styles -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css?v=1">
<!-- Include JavaScript -->
<script defer src="js/jquery.min.js"></script>
<script defer src="js/bootstrap.min.js"></script>
Expand Down Expand Up @@ -65,7 +65,7 @@
<div class="title">
<h1>DietPi-Software</h1>
<p>Easily install optional "ready to run" and optimized software for your device. As well as automating the Linux installation and configuration process for you, DietPi-Software also applies specific optimizations unique to your hardware model, ensuring you get the maximum performance from your device.</p>
<p><i>NB: Available software is dependent on the device and CPU architecture, some software titles may be unavailable. You can run the following command to list disabled items:</i> <i style="color:#0059ff">dietpi-software list | grep disabled</i></p>
<p><i>NB: Available software is dependent on the device and CPU architecture, some software titles may be unavailable. You can run the following command to list disabled items:</i> <code>dietpi-software list | grep disabled</code></p>
</div>
<nav class="nav nav-pills" id="softwareinfo" style="display:none">
<button class="nav-link filter" data-filter="all">[All]</button>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<meta name="theme-color" content="#000000">
<!-- Load CSS styles -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/jquery.cslider.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
<link rel="stylesheet" type="text/css" href="css/jquery.cslider.min.css?v=1">
<link rel="stylesheet" type="text/css" href="css/style.min.css?v=1">
<!-- Include JavaScript -->
<script defer src="js/jquery.min.js"></script>
<script defer src="js/bootstrap.min.js"></script>
Expand Down