From 34dcd54c3f601306e9f0922e6e8530cc2932e262 Mon Sep 17 00:00:00 2001 From: Adam Caprez <acaprez2@unl.edu> Date: Mon, 3 Dec 2018 22:25:04 +0000 Subject: [PATCH] Initial changes for NU theming. --- config.toml | 4 +- content/_header.md | 7 ++ layouts/partials/custom-content-footer.html | 14 +++ layouts/partials/custom-head.html | 1 + static/css/custom.css | 108 ++++++++++++++++++++ static/images/UNMasterwhite.gif | Bin 0 -> 2188 bytes 6 files changed, 132 insertions(+), 2 deletions(-) create mode 100644 content/_header.md create mode 100644 layouts/partials/custom-content-footer.html create mode 100644 static/images/UNMasterwhite.gif diff --git a/config.toml b/config.toml index a54b8467..7b0ac0c1 100644 --- a/config.toml +++ b/config.toml @@ -20,8 +20,8 @@ enableMissingTranslationPlaceholders = false [params] editURL = "https://git.unl.edu/hcc/hcc-docs/edit/master/content/" showVisitedLinks = true # default is false -themeStyle = "flex" # "original" or "flex" # default "flex" -themeVariant = "" # choose theme variant "green", "gold" , "gray", "blue" (default) +themeStyle = "original" # "original" or "flex" # default "flex" +themeVariant = "blue" # choose theme variant "green", "gold" , "gray", "blue" (default) ordersectionsby = "weight" # ordersectionsby = "title" disableHomeIcon = false # default is false disableSearch = false # default is false diff --git a/content/_header.md b/content/_header.md new file mode 100644 index 00000000..c247c736 --- /dev/null +++ b/content/_header.md @@ -0,0 +1,7 @@ ++++ +title = "Header" ++++ +{{< figure src="/images/UNMasterwhite.gif" link="https://nebraska.edu" target="_blank" >}} +### [Holland Computing Center](https://hcc.unl.edu) + +#### [HCC-DOCS]({{< relref "/" >}}) diff --git a/layouts/partials/custom-content-footer.html b/layouts/partials/custom-content-footer.html new file mode 100644 index 00000000..0aabf33d --- /dev/null +++ b/layouts/partials/custom-content-footer.html @@ -0,0 +1,14 @@ +<footer class=" footline" > + +{{ $footer := print "_footer." .Lang }} +{{ range where .Site.Pages "File.BaseFileName" $footer }} + {{ .Content }} +{{else}} + {{ if .Site.GetPage "page" "_footer.md" }} + {{(.Site.GetPage "page" "_footer.md").Content}} + {{else}} + {{ T "create-footer-md" }} + {{end}} +{{end}} + +</footer> diff --git a/layouts/partials/custom-head.html b/layouts/partials/custom-head.html index 7c12a5aa..850a6411 100644 --- a/layouts/partials/custom-head.html +++ b/layouts/partials/custom-head.html @@ -1 +1,2 @@ <link rel="stylesheet" href="/css/custom.css"> +<link href="//cloud.typography.com/7717652/616662/css/fonts.css" type="text/css" rel="stylesheet"> diff --git a/static/css/custom.css b/static/css/custom.css index c16d4511..ec010dd0 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,3 +1,111 @@ .img-border a img { border:1px solid #021a40 !important ; } + +body, h5, h6 { +background: #FEFDFA ; +font-family: "Mercury SSm A","Mercury SSm B","Times New Roman",serif; +font-size: 16px !important; +} + +#sidebar { +background-color: rgb(239, 238, 235); +} + +#header-wrapper { +background: #D00000; +/* background-color: #137CBD; */ +} + +#header-wrapper a { +color: #ffffff !important; +} + +.searchbox { +background: #FEFDFA; +} + +.searchbox input { +color: rgb(91,91,90); +} + +.searchbox label { +color: #1B9AE8; +} + +::placeholder { +color: #137CBD !important ; +} + +.searchbox span { +color: #1B9AE8; +} + +#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { +background: #f4f3f0; +color: #5b5b5a; +} + +#sidebar ul.topics > li.parent a, #sidebar ul.topics > li.active a { +color: #5b5b5a; +} + +h1, h2, h3, h4 { +font-family: "Tungsten A","Tungsten B",Impact,Haettenschweiler,"Arial Narrow Bold","Franklin Gothic Bold",sans-serif ; +letter-spacing: 0px; +} + +code { +background: none; +border: none; +} + +#sidebar a { +color: #5b5b5a; +border-bottom-style: none; +border-bottom-width: none; +} + +#sidebar a:hover { +color: #D00000; +} + +#sidebar ul.topics > li.parent a:hover, #sidebar ul.topics > li.active a:hover { +color: #D00000; +} + +#sidebar ul li.active > div > a:hover { +color: #D00000 !important; +} + +#sidebar ul li .read-icon { +margin-left: -14px; +} + +.fa-circle-thin:before { +content: none; +} + +#header h3, h4 { +margin-top: 16px; +color: #ffffff; +} + +#clear-history { +display: none; +} + +a { +color: #d00000; +border-bottom-style: dotted; +border-bottom-width: 1px; +} + +a:hover { +color: #6a0000; +} + +#header a:hover { +border-bottom-style: dotted; +border-bottom-width: 1px; +} diff --git a/static/images/UNMasterwhite.gif b/static/images/UNMasterwhite.gif new file mode 100644 index 0000000000000000000000000000000000000000..31a4d5c1811423f1c575af4de0284ad7cb3cffbb GIT binary patch literal 2188 zcmZ?wbhEHb%wQ~FXkcXc|NlP&1B2pE7DfgJMg|=Q1_lO@3<J~up8l1m-|{b>v*lLz z=6id7^S3?nnD(r5*{f6A-f<uQ<a7O7@AF^hzW?Lr;c7p!=wpYE*7P&WK6CbZEx)qr zYuDMV?RVCF=jO9#Wcb*d;}?D+XKPPv*=flS-)chL@4v77@$X9d_jIucbBiDij~O$* zADqGQV@3H5Ma!KTl`|(wW=!&Y`SInkm6eXSB9wLoNF^-qFnB5DE`B}p!uD6})~72@ z|H^*ZusR{TB&yP?`;zzU=+n1Ot^QsmU@cSIyY_W7?@8Y^F?VA<qHXd{s7Nk)_h|0x zH{3S&?#jg5`RD)V<=Zd)aNp}o+iC-EG%Bz&Com<PUlBPujQ{rD8lj_sF%s{TOw<40 z{J?r7;;Eog2&dpa=Ia}-IQL5})Qpl8Oxd3yBogNGvcJpGT_yg;o{shEzO^izd3!8H zR{GR^?OXI_#T3;oY6tnaazAcfvCnK)LYC+Yp*P1T`#kimt-880Vy^YXh1!{UFC*4v zPu#~-9&#bJGQ~12C*gBWtmdjad^zcx-rUJNwMXh`weC8zqn4-tvd)Qk9g*wTFY=6G zs_V5S-HPw3pU&8PZ}mro<8yxM8)wd0Yc2hIjiQO%O^5A=e000b{I-_IbNA~;7Cb&3 zV%eIsH@fJ3*U`yVHDxs)o39=-H2VI#tm^cHbG*0vRAM);d72t@c~4#CUW4qr=F06} zdyEo;o}JhG|9Guj@`Sb10xNWKm(9tXlDd6vP9<-cK>Y&8<%cqAG{0VRYZrWaw~^!6 z_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