Skip to content

Commit

Permalink
Merge pull request #1010 from jimklimov/issue-869-resources
Browse files Browse the repository at this point in the history
Add image and CSS resources used in new Jenkins CI [#869]
  • Loading branch information
jimklimov authored Apr 9, 2021
2 parents 4ac8683 + 8b6e366 commit a52490f
Show file tree
Hide file tree
Showing 14 changed files with 93 additions and 0 deletions.
Binary file added docs/images/ci/fosshost.org_Host_Dark_56px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ci/jenkins-nut-large-256px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ci/jenkins-nut-large-squared.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ci/jenkins-nut-large.pdn
Binary file not shown.
Binary file added docs/images/ci/jenkins-nut-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ci/jenkins-nut-small-256px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ci/jenkins-nut-small.pdn
Binary file not shown.
Binary file added docs/images/ci/jenkins-nut-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ci/jenkins-nut-squared.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ci/jenkins-nut-transparent-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions docs/images/ci/jenkins-nut.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/* CSS originally based on ideas from
* https://medium.com/@elhayefrat/replace-jenkins-logo-and-text-to-your-choice-in-jenkinsui-f7d35daed25b
*
* Customized Jenkins+NUT logo derived from NUT resources and
* https://www.jenkins.io/images/logos/hyderabad/hyderabad256.png
* as published at https://www.jenkins.io/artwork/ collection
* under https://creativecommons.org/licenses/by-sa/3.0/ license
*
* Fosshost logo derived (resized to readable height in banner line)
* from https://fosshost.org/media/
*/

/* Custom style for Jenkins */
.logo img {
content:url("/userContent/layout/jenkins-nut-transparent-bg.png");
/*
height: 40px;
width: auto;
*/
object-fit: contain;
}

#jenkins-head-icon {
display: none;
width: 0px;
}

#jenkins-name-icon {
display: none;
width: 0px;
}

#jenkins-home-link {
padding: 1px;
background: url("/userContent/layout/jenkins-nut-transparent-bg-40px.png") no-repeat;
height: 40px;
width: 54px;
object-fit: contain;
}

.logo:after {
content: "CI for NUT";
font-weight: bold;
font-size: 40px;
/* font-family: "Brush Script MT", cursive; */
margin-left: 20px;
margin-right: 200px;
color: Gold;
line-height: 40px;
}

.logo {
background: url("/userContent/layout/fosshost.org_Host_Dark_56px.png");
background-repeat: no-repeat;
/* background-attachment: fixed; */
background-position: right;
background-origin: content-box;
padding-right: 4px;
/* Glue to the search box, to hide FH logo plank color gap with background on the right side */
}

/* Match color of fosshost logo */
.page-header {
background-color: #2a2a2a;
}

/*
.page-footer__footer-id-placeholder {
background: url("/userContent/layout/fosshost.org_Host_Dark_56px.png") no-repeat;
}
*/
Binary file added docs/images/ci/jenkins-nut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/images/ci/jenkins-nut.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The jenkins-nut resources (images and CSS) were prepared for
deployment of https://ci.networkupstools.org
(C) 2021 by Jim Klimov <jimklimov@gmail.com>

Customized Jenkins+NUT logo derived from NUT resources and
https://www.jenkins.io/images/logos/hyderabad/hyderabad256.png
as published at https://www.jenkins.io/artwork/ collection
under https://creativecommons.org/licenses/by-sa/3.0/ license

The resulting image comes in a few versions as was needed by
different design consumers (Jenkins banner, Github Auth, etc.)
and include the base image on white background trimmed to the
rectangle it occupies, same on transparent background, also same
with padding to be a square canvas (as used in avatars), and a
downscaled image for the Jenkins dashboard banner. There are
variants in several resolutions available, and options with a
larger or smaller NUT logo served on the Jenkins butler's plate.

The fosshost.org_Host_Dark_56px.png was downscaled from resources
at https://fosshost.org/media/ to fit into the Jenkins dashboard
banner and remain readable. Thanks to Fosshost for providing the
machines involved in the new NUT CI farm!

0 comments on commit a52490f

Please sign in to comment.