KB User's Guide - API - Site Styles

This document provides information in the Site Styles API for the KnowledgeBase.

Title

Get Site Styles

Calls externally-published site styles for a specified site domain

** APIs are not enabled for institution subsites unless specifically requested. Please contact the KB team if you would like to request an API for your subsite(s).

Collection Endpoint

This API does not have an collection response.

Entity Endpoint

/api/v1/site-styles/[siteId]

Example: https://kb.wisc.edu/api/v1/site-styles/2

** You can find your siteId by reviewing the URI Components in the Group Spaces API, please review KB User's Guide - API - Group Spaces for details. Your siteId will be listed as an integer in the extSiteId URI Component.

Entity Sample Response

{
"siteId": "2",
"styleFilePath": "/images/group251/shared/css/uw-theme-kb-v3.css",
"styleContent": "/**** UW THEME AND TEXT LOGO TEST 7-25-18 ****/\r\n\r\n#group-logo a, #group-logo a:hover {\r\n\tdisplay: flex;\r\n}\r\n\r\n#group-logo img {\r\n\twidth:40px;\r\n\theight:62px;\r\n\tmargin:auto .8rem auto 0;\r\n}\r\n\r\n#group-logo .group-name-hide {\r\n display: inline-block;\r\n line-height: 1.1;\r\n padding: 0;\r\n color: #c5050c;\r\n font-weight: 800;\r\n font-size: 1.25rem;\r\n margin: auto 0;\r\n text-shadow: none;\r\n font-family: \"Verlag\", Arial;\r\n text-transform: uppercase;\r\n text-align: left;\r\n}\r\n\r\n.group-name-hide::after {\r\n content: \"KnowledgeBase\";\r\n display: block;\r\n font-size: .95rem;\r\n text-transform: initial;\r\n margin: -.1rem 0 0 .2rem;\r\n color: #494949;\r\n font-weight: 700;\r\n text-align: left;\r\n}\r\n\r\n@media only screen and (min-width: 27.5em) {\r\n\t#group-logo .group-name-hide {font-size: 1.5rem;}\r\n}\r\n\r\n@media only screen and (min-width: 40em) {\r\n\t#group-logo .group-name-hide {font-size: 1.7rem;}\r\n}\r\n\r\n@media only screen and (min-width: 64em) {\r\n\t#group-logo .group-name-hide {font-size: 1.8rem;}\r\n}\r\n\r\n@media only screen and (min-width: 75em) {\r\n\t#group-logo .group-name-hide {font-size: 2rem;}\r\n}\r\n\r\n#search-form.lower .inputBox {width:15em;}\r\n\r\n/*Content Module Styling*/\r\n\r\n#contact_methods {background-color: #fff; display: flex;flex-wrap: wrap;}\r\ndiv#top, div#bottom {flex: 1 1 50%; display: flex;}\r\ndiv.contact_type{text-align:center; min-width: 8em; display: inline-block; flex: 1;}\r\nh3.contact_type,h4.contact_type{font-size:1.4em;font-weight:500;color:#000;margin:0;text-align:center; text-transform: none;}\r\nh4.contact_type{font-size:1em;color:#413f36;margin:5px 5px 5px 5px}\r\ndiv.contact_type a,div.contact_type img{text-decoration:none;border:0}\r\ndiv.contact_type img{width:96px;height:96px}\r\n\r\nli.contact_footer{display:none}\r\n\r\n#news h2, #topDocs h2, #recentDocs h2, .custom h2 {border-bottom:none;}\r\n.custom,#news{background-color:transparent;}\r\n\r\n.custom h2,#news h2{text-align:left;font-size:1.8em;font-weight:500;color:#000;background-color:transparent;margin:0;padding:0; margin-bottom:14px;}\r\n\r\n#news li {\r\n display: block;\r\n list-style: none;\r\n margin: 0 20px 20px 0;\r\n padding: 1px;\r\n width: 100%;\r\n}\r\n\r\n#news li.highImpactLi{\r\n border: 4px solid #C5050C;\r\n box-sizing: border-box;\r\n}\r\n\r\n#news li .highImpactTitle, #news li .highImpactTitle .title {\r\n font-size: 1.18em;\r\n font-family: inherit;\r\n font-weight: bold;\r\n line-height: 1.5;\r\n}\r\n\r\n.highImpactTitle .news-update-time {\r\n margin: -12px 0 -10px 0;\r\n font-size: .9rem;\r\n font-weight: normal;\r\n}\r\n\r\n#news li .title,#news li .highImpactTitle{\r\n display:block;\r\n margin:15px 15px 0 15px;\r\n}\r\n\r\n#news li .summary, #news li .highImpactSummary {\r\n display: block;\r\n margin: 15px;\r\n line-height: 1.4em;\r\n font-weight: normal;\r\n font-size: 1rem;\r\n font-family: inherit;\r\n}\r\n\r\n#news li {background-color: #fff;}\r\n\r\n#news li .title {\r\n font-size:1.4em;\r\n font-weight:500!important;\r\n color:#000;\r\n}\r\n\r\n#news li a: hover,#news li .highImpactTitle a: hover{text-decoration:underline}\r\n\r\n#news li .summary a{text-decoration:underline}\r\n\r\n#news li a{text-decoration:underline;}\r\n\r\n#news li .summary {\r\n font-size: 1rem !important;\r\n}\r\n\r\n#news li .highImpactTitle .title{margin:0}\r\n\r\n#news li br{display:none}\r\n\r\n#news li+li+li,#news li+li+li+li+li+li{margin:0 0 20px 0}\r\n\r\n.news-update-time {\r\n display: block;\r\n margin: -10px 15px;\r\n color: #333;\r\n font-size: .8rem!important;\r\n}\r\n\r\n.nonews{margin:15px;display:block}\r\n.seemore {display:inline-block; background-color:#B70101; color:white; font-size:12px; padding:2px 5px;}\r\n\r\n#news-search-result .field_set {\r\n background-color: #fff;\r\n}\r\n\r\n#search-result-table1 td {background: #fff;}\r\n#search-result-table1 th.aleft {background:#fff;}\r\n\r\n/*Pinning feedback row to bottom of page and restyling*/\r\n\r\n#credit-feedback tr:last-child {\r\n position: fixed;\r\n bottom: 0;\r\n width: auto;\r\n background: #dadfe1;\r\n display: flex;\r\n padding: 5px 10px;\r\n box-shadow: 1px 1px 3px #555;\r\n}\r\n\r\n.kbfeedbacktable1 tr:last-child:hover {\r\n padding-bottom: 15px !important;\r\n}\r\n\r\n#credit-feedback tr:last-child th {\r\n display: none;\r\n}\r\n\r\n#credit-feedback tr:last-child td {\r\n flex: 1 1 auto;\r\n width: auto;\r\n}\r\n\r\n.feedback-btn-yes, .feedback-btn-yes-clicked, .feedback-btn-no, .feedback-btn-no-clicked {\r\n background-color: #fff;\r\n}\r\n\r\n#credit-feedback tr:last-child a.feedback-btn-link, .kbfeedbacktable1 tr:last-child input.boxlink {\r\n white-space: nowrap;\r\n margin-top: 5px;\r\n display: inline-block;\r\n}\r\n\r\n/*End feedback row pin style*/\r\n\r\n/* Helpfulness Button Styling */\r\n\r\n.feedback-btn-yes, .feedback-btn-yes-clicked, .feedback-btn-no, .feedback-btn-no-clicked {\r\n border: 1px solid #999;\r\n -webkit-border-radius: 0;\r\n -moz-border-radius: 0;\r\n border-radius: 0;\r\n display: inline;\r\n font-family: inherit;\r\n font-size: inherit;\r\n font-weight: 700;\r\n height: 25px !important;\r\n line-height: 17px;\r\n margin: 0;\r\n padding: 3px 10px 3px 10px;\r\n border-top-right-radius: 0;\r\n border-bottom-right-radius: 0;\r\n}\r\n\r\n.feedback-btn-no, .feedback-btn-no-clicked {\r\n color: #B70101;\r\n}\r\n\r\n.feedback-btn-yes-clicked {\r\n background-color: #439343;\r\n border: 1px solid #214A27;\r\n color: #fff;\r\n}\r\n\r\n\r\n.feedback-btn-no-clicked {\r\n background-color: #B54242;\r\n border: 1px solid #600;\r\n color: #fff;\r\n}\r\n\r\n#count-yes, #count-no {\r\n -webkit-border-radius: 0;\r\n -moz-border-radius: 0;\r\n border-radius: 0;\r\n display: inline;\r\n font-family: inherit;\r\n font-size: 12px;\r\n font-weight: 700;\r\n height: 25px !important;\r\n line-height: 17px;\r\n margin: 0 0 0 -5px;\r\n padding: 3px 10px 2px 10px;\r\n text-decoration: none;\r\n color: #fff;\r\n}\r\n\r\n#count-yes {\r\n background-color: green;\r\n border: 1px solid #214A27;\r\n}\r\n\r\n#count-no {\r\n background-color: #B70101;\r\n border: 1px solid #600;\r\n}",
"styleContent1": "body{background-color:#FFF;background-image:url(/images/group132/logo/main_bg.png);background-repeat:repeat-x;font-family:'Trebuchet MS',sans-serif;font-size:13px;margin:0;}\r\n\r\n#body-container {max-width:960px;}\r\n\r\n/*Top Links, Header, and Search*/\r\n\r\n#top-links {height:36px;background-color:transparent; position:relative; z-index:1;}\r\n#top-left-links ul {margin-left:60px; margin-top:20px; font-family:'Lucida Grande',Verdana,Arial,Sans-Serif; }\r\n#top-left-links li {font-size:10px;}\r\n#top-right-links ul {margin-top:18px;}\r\n#top-right-links li {border-left:1px solid #999999;}\r\n\r\n#logo-search {margin:0; background-color:#b70101;}\r\n#group-logo img {margin:-20px auto 0px 4px;}\r\n\r\n\r\n#search-form.lower form {padding:8px 0px 0px 20px; text-align:left;}\r\n#search-form.lower { border-left:1px solid #6E6A5B; border-right:1px solid #6E6A5B; border-bottom: 1px solid #D6D6D6;}\r\n\r\n.yes_match{color:#000000 !important;}\r\n#search-form {font-size:11px;}\r\n\r\n#search-form .selectBox {max-width: 250px;}\r\n\r\n.suggest-doc1, .suggest-doc2, .suggest-doc3 {font-style:normal;}\r\n.suggest-doc1 a {color:#000099; text-decoration:none;}\r\n.suggest-doc1 a:hover {color:#000099; text-decoration:underline;}\r\n\r\n\r\n/*Optional Site Banner*/\r\n\r\n#header-banner {background-color:#ffffff; border-left: 1px solid #6e6a5b; border-right: 1px solid #6e6a5b; border-top: none; border-bottom: none; margin: 0 -2px 0 0; padding: 10px;}\r\n\r\n#hd-ext-banner {background-color: #b70101; border: 1px solid #b70101; border-radius: 15px; color: white; padding: 5px; width: auto;}\r\n\r\n#hd-ext-banner a {color:#ffffff;}\r\n\r\n\r\n/*Main page content*/\r\n\r\n#container {margin:0; padding-top:8px; border-left:1px solid #6E6A5B; border-right:1px solid #6E6A5B; background-color:#FFFFFF;}\r\n\r\n\r\n\r\n#middle-sect1 {margin-left:12px; margin-right:12px;}\r\n\r\np.kb-common-chevron {float:left; padding: 0 20px;} /*Moves chevron to left of module name*/\r\n\r\n/*Content Module Styling*/\r\n\r\n#contact_methods{background-color:#CACCBD;}\r\nul.contact_type{margin:0;padding:0}\r\nli.contact_type{float:left;list-style:none;width:16.2%;text-align:center;padding:0;margin:0}\r\nh3.contact_type,h4.contact_type{font-size:1.4em;font-weight:500;color:#000;margin:0;text-align:center}\r\nh4.contact_type{font-size:1em;color:#413f36;margin:5px 5px 5px 5px}\r\nli.contact_footer{display:none}\r\nli.contact_type a,li.contact_type img{text-decoration:none;border:0}\r\nli.contact_type a: hover>h3,li.contact_type a: hover>h4{color:#6E6A5B;text-decoration:underline}\r\nli.contact_type img{width:96px;height:96px}\r\n\r\n.custom,#news{background-color:transparent}\r\n.custom h2,#news h2{text-align:left;font-size:1.8em;font-weight:500;color:#000;background-color:transparent;margin:0;padding:0; margin-bottom:14px;}\r\n#news{font-size:1em}\r\n#news ul{margin:0;padding:0}\r\n#news li{background-color:#E8E4D8;float:left;list-style:none;margin:0 20px 20px 0;padding:0;width:100%}\r\n#news li.highImpactLi{background-color:#B70101;color:#EFE8D8}\r\n#news li.highImpactLi a{color:#EFE8D8}\r\n#news li .title,#news li .highImpactTitle{display:block;margin:15px 15px 0 15px;font-size:1.4em;font-weight:500;color:#000}\r\n#news li .highImpactTitle,#news li .highImpactTitle .title{color:#EFE8D8;font-size:1.18em}\r\n#news li a{color:#000;text-decoration:none}\r\n#news li .highImpactTitle a{color:#fff;text-decoration:none}\r\n#news li a: hover,#news li .highImpactTitle a: hover{text-decoration:underline}\r\n#news li .summary a{color:#B70101;text-decoration:underline}\r\n#news li a{color:#000}#news li .summary,#news li .highImpactSummary{display:block;margin:15px;line-height:1.4em}\r\n#news li .summary{color:#413F36}\r\n#news li .highImpactTitle .title{margin:0}\r\n#news li br{display:none}\r\n#news li+li+li,#news li+li+li+li+li+li{margin:0 0 20px 0}\r\n.news-update-time{display:block;margin:-10px 15px;color:#968C78}\r\n.highImpactTitle .news-update-time{margin:-12px 0 -10px 0;font-size:13px;color:#EFE8D8}\r\n#news: before,#news: after{content:\"\";display:table}\r\n#news: after{clear:both}\r\n#news{zoom:1}\r\n.nonews{margin:15px;display:block}\r\n.seemore {display:inline-block; background-color:#B70101; color:white; font-size:12px; padding:2px 5px;}\r\n\r\n/*Footer Styling*/\r\n\r\n#social_media ul{list-style:square;margin:0;padding:20px 10px 10px 30px;color:#6E6A5B}\r\n#social_media li{display:inline;margin:8px 5px 8px 0;padding:3px 0 5px 0}\r\n#social_media li.feedback{background-image:url('/images/group1/logo/SiteImages/feedback.png');background-position:0 0;background-repeat:no-repeat;padding-left:30px;height:25px}\r\n#social_media li.facebook{background-image:url('/images/group1/logo/SiteImages/facebook.png');background-position:0 0;background-repeat:no-repeat;padding-left:30px;height:25px}\r\n#social_media li.twitter{background-image:url('/images/group1/logo/SiteImages/twitter.png');background-position:0 0;background-repeat:no-repeat;padding-left:30px;height:25px}\r\n#social_media li.youtube{background-image:url('/images/group1/logo/SiteImages/youtube.png');background-position:0 0;background-repeat:no-repeat;padding-left:30px;height:25px}\r\n#social_media li.rss{background-image:url('/images/group1/logo/SiteImages/rss.png');background-position:0 0;background-repeat:no-repeat;padding-left:30px;height:25px}\r\n\r\n/*Search Results*/\r\n\r\n#search-result-table1{border-collapse:collapse;border:1px #FFF solid;width:100%}\r\n#search-result-table1 td{background-color:transparent;padding:4px;margin:2px}\r\n#search-result-table1 th{background-color:#C8C5BB;padding:4px;color:#413F36}\r\n#search-result-table1 th a{color:#413F36;text-decoration:none}\r\n#search-result-table1 th a: hover{text-decoration:underline}\r\n#search-result-table1 tr{background-color:#FFF}\r\n#search-result-table1 tr: nth-child(odd){background-color:#EEE;!important}\r\n#search-result-table1 tr: nth-child(even){background-color:#FFF!important}\r\n#search-result #count{float:left;text-align:left;width:68%;padding:6px 0 5px 0}\r\n#search-result #sort{float:right;text-align:right;width:32%;padding:6px 0 5px 0}\r\n#search-result{font-size:90%}#sort a{padding:0 5px}\r\n\r\n#search-result-table1 img.quick-view-triangle{display:none}\r\n\r\n/*Doc Credit and Feedback Table*/\r\n\r\n#page-content{margin-bottom:20px}\r\nh2.title{margin-top:0}\r\n#credit-feedback th,#credit-feedback td, #feedback tr{background-color:transparent}\r\n#credit-feedback>hr,#credit-feedback>br{display:none}\r\n#credit-feedback th>span{font-size:1.1em!important;color:#413F36}\r\n#credit-feedback{background-color:#E8E4D8;padding:20px}\r\n\r\ntable.feedback{background-color:transparent;border:0}\r\n\r\n.feedback-btn-yes,.feedback-btn-yes-clicked,.feedback-btn-no,.feedback-btn-no-clicked{border:1px solid #999;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;display:inline;font-family:'Trebuchet MS',sans-serif;font-size:12px;font-weight:700;height:25px!important;line-height:17px;margin:0;padding:3px 10px 3px 10px;border-top-right-radius:0;border-bottom-right-radius:0}\r\n\r\n.feedback-btn-no,.feedback-btn-no-clicked{color:#B70101}\r\n.feedback-btn-yes-clicked{background-color:#439343;border:1px solid #214A27;color:#fff}\r\n.feedback-btn-no-clicked{background-color:#B54242;border:1px solid #600;color:#fff}\r\n\r\n#count-yes,#count-no{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;border-top-left-radius:0;border-bottom-left-radius:0;display:inline;font-family:'Trebuchet MS',sans-serif;font-size:12px;font-weight:700;height:25px!important;line-height:17px;margin:0 0 0 -5px;padding:3px 10px 2px 10px;text-decoration:none;color:#fff}\r\n\r\n#count-yes{background-color:green;border:1px solid #214A27}\r\n#count-no{background-color:#B70101;border:1px solid #600}\r\n\r\n.feedback-btn-link{background-color:#EFEFEF;border:1px solid #999;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#000;display:inline;font-family:'Trebuchet MS',sans-serif;font-size:12px;font-weight:700;height:20px!important;line-height:17px;margin:0 0 0 -5px;padding:3px 10px 2px 10px;text-decoration:none}\r\n\r\n/*Pinning feedback row to bottom of page and restyling*/\r\n\r\n#credit-feedback tr:last-child {\r\n position: fixed;\r\n bottom: 0;\r\n width: auto;\r\n background: #eeeeee;\r\n display: flex;\r\n padding: 5px 10px;\r\n box-shadow: 1px 1px 3px #555;\r\n}\r\n\r\n.kbfeedbacktable1 tr:last-child:hover {\r\n padding-bottom: 15px !important;\r\n}\r\n\r\n#credit-feedback tr:last-child th {\r\n display: none;\r\n}\r\n\r\n#credit-feedback tr:last-child td {\r\n flex: 1 1 auto;\r\n width: auto;\r\n}\r\n\r\n.feedback-btn-yes, .feedback-btn-yes-clicked, .feedback-btn-no, .feedback-btn-no-clicked {\r\n background-color: #fff;\r\n}\r\n\r\n#credit-feedback tr:last-child a.feedback-btn-link, .kbfeedbacktable1 tr:last-child input.boxlink {\r\n font-size: 12px;\r\n background-color: #fff;\r\n padding: 3px 8px 0 8px;\r\n border: 1px solid #365899;\r\n border-radius: 2px;\r\n white-space: nowrap;\r\n margin-top: 5px;\r\n display: inline-block;\r\n}\r\n\r\n/*End feedback row pin style*/\r\n\r\n#page-content img{\r\n max-width:920px!important;\r\n /*height:auto!important;*/ /*1-16-18*/\r\n}\r\n\r\n#contact_methods{background-color:#CACCBD}.custom>h2+p{display:none}\r\n\r\n#useful_links{background-color:#E8E4D8}\r\n#useful_links ul{list-style:square;margin:0;padding:20px 10px 10px 30px;color:#6E6A5B}\r\n#useful_links li{margin-bottom:5px}.highImpactSummary li {background-color:#B70101!important}\r\n\r\n#copyright{background-color:#6E6A5B;background-image:url(/images/group1/logo/SiteImages/header_divider_shade_tr.png);background-repeat:repeat-x;clear:both;font-size:11px;text-align:center;color:#E8E4D8;padding:0 0 5px 0;width:100%;margin:0 auto;border-top:2px solid #B70101}\r\n#copyright a{color:#CACCBD}\r\n#copyright p{margin-top:0}\r\n\r\n@media only screen and (max-width: 780px) {\r\n\r\nbody{background-image:none;}\r\n#body-container {width:100%;}\r\n#top-links, #top-links-int {height:20px; padding:2px 1px 2px 1px; background-image: -moz-linear-gradient(bottom, #8A0B00 0%, #990D00 100%); background-image: -ms-linear-gradient(bottom, #8A0B00 0%, #990D00 100%); background-image: -o-linear-gradient(bottom, #8A0B00 0%, #990D00 100%); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #8A0B00), color-stop(1, #990D00)); background-image: -webkit-linear-gradient(bottom, #8A0B00 0%, #990D00 100%); background-image: linear-gradient(to top, #8A0B00 0%, #990D00 100%); background-color:#9C0D00;}\r\n#top-left-links ul, #top-right-links ul {margin:0; padding:0; text-align:center;}\r\n#top-left-links li, #top-right-links li {font-size:12px; font-weight:normal; line-height:8px;}\r\n#top-right-links li {border-left:0px solid #999999;}\r\n\r\n#group-logo img {margin:0; display:none}\r\n#group-logo .group-name-hide {display:block; color:#ffffff; font-size:24px;}\r\n\r\n#under-logo-links {height:auto;}\r\n\r\n.custom h2,#news h2{font-size:1.1em;font-weight:300;}\r\n\r\nli.contact_type{/*float:left;*/list-style:none;width:33%;}\r\nh3.contact_type,h4.contact_type{font-size:1.1em;font-weight:300;}\r\nh4.contact_type{font-size:1em;margin:3px 3px 3px 3px}\r\nli.contact_type img{width:48px;height:48px}\r\n\r\n#social_media ul {list-style:none; padding:0; text-align:center;}\r\n#social_media li {display:inline;margin:2px; padding:2px;}\r\n#social_media li.feedback, #social_media li.facebook, #social_media li.twitter, #social_media li.youtube, #social_media li.rss{background-image:none; padding-left:3px; height:12px}\r\n\r\n#copyright{background-image:none;}\r\n\r\n}",
"styleContent2": "/**** UW THEME AND TEXT LOGO TEST 7-25-18 ****/\r\n\r\n#group-logo a, #group-logo a:hover {\r\n\tdisplay: flex;\r\n}\r\n\r\n#group-logo img {\r\n\twidth:40px;\r\n\theight:62px;\r\n\tmargin:auto .8rem auto 0;\r\n}\r\n\r\n#group-logo .group-name-hide {\r\n display: inline-block;\r\n line-height: 1.1;\r\n padding: 0;\r\n color: #c5050c;\r\n font-weight: 800;\r\n font-size: 1.25rem;\r\n margin: auto 0;\r\n text-shadow: none;\r\n font-family: \"Verlag\", Arial;\r\n text-transform: uppercase;\r\n text-align: left;\r\n}\r\n\r\n.group-name-hide::after {\r\n content: \"KnowledgeBase\";\r\n display: block;\r\n font-size: .95rem;\r\n text-transform: initial;\r\n margin: -.1rem 0 0 .2rem;\r\n color: #494949;\r\n font-weight: 700;\r\n text-align: left;\r\n}\r\n\r\n@media only screen and (min-width: 27.5em) {\r\n\t#group-logo .group-name-hide {font-size: 1.5rem;}\r\n}\r\n\r\n@media only screen and (min-width: 40em) {\r\n\t#group-logo .group-name-hide {font-size: 1.7rem;}\r\n}\r\n\r\n@media only screen and (min-width: 64em) {\r\n\t#group-logo .group-name-hide {font-size: 1.8rem;}\r\n}\r\n\r\n@media only screen and (min-width: 75em) {\r\n\t#group-logo .group-name-hide {font-size: 2rem;}\r\n}\r\n\r\n#search-form.lower .inputBox {width:15em;}\r\n\r\n/*Content Module Styling*/\r\n\r\n#contact_methods {background-color: #fff; display: flex;flex-wrap: wrap;}\r\ndiv#top, div#bottom {flex: 1 1 50%; display: flex;}\r\ndiv.contact_type{text-align:center; min-width: 8em; display: inline-block; flex: 1;}\r\nh3.contact_type,h4.contact_type{font-size:1.4em;font-weight:500;color:#000;margin:0;text-align:center; text-transform: none;}\r\nh4.contact_type{font-size:1em;color:#413f36;margin:5px 5px 5px 5px}\r\ndiv.contact_type a,div.contact_type img{text-decoration:none;border:0}\r\ndiv.contact_type img{width:96px;height:96px}\r\n\r\nli.contact_footer{display:none}\r\n\r\n#news h2, #topDocs h2, #recentDocs h2, .custom h2 {border-bottom:none;}\r\n.custom,#news{background-color:transparent;}\r\n\r\n.custom h2,#news h2{text-align:left;font-size:1.8em;font-weight:500;color:#000;background-color:transparent;margin:0;padding:0; margin-bottom:14px;}\r\n\r\n#news li {\r\n display: block;\r\n list-style: none;\r\n margin: 0 20px 20px 0;\r\n padding: 1px;\r\n width: 100%;\r\n}\r\n\r\n#news li.highImpactLi{\r\n border: 4px solid #C5050C;\r\n box-sizing: border-box;\r\n}\r\n\r\n#news li .highImpactTitle, #news li .highImpactTitle .title {\r\n font-size: 1.18em;\r\n font-family: inherit;\r\n font-weight: bold;\r\n line-height: 1.5;\r\n}\r\n\r\n.highImpactTitle .news-update-time {\r\n margin: -12px 0 -10px 0;\r\n font-size: .9rem;\r\n font-weight: normal;\r\n}\r\n\r\n#news li .title,#news li .highImpactTitle{\r\n display:block;\r\n margin:15px 15px 0 15px;\r\n}\r\n\r\n#news li .summary, #news li .highImpactSummary {\r\n display: block;\r\n margin: 15px;\r\n line-height: 1.4em;\r\n font-weight: normal;\r\n font-size: 1rem;\r\n font-family: inherit;\r\n}\r\n\r\n#news li {background-color: #fff;}\r\n\r\n#news li .title {\r\n font-size:1.4em;\r\n font-weight:500!important;\r\n color:#000;\r\n}\r\n\r\n#news li a: hover,#news li .highImpactTitle a: hover{text-decoration:underline}\r\n\r\n#news li .summary a{text-decoration:underline}\r\n\r\n#news li a{text-decoration:underline;}\r\n\r\n#news li .summary {\r\n font-size: 1rem !important;\r\n}\r\n\r\n#news li .highImpactTitle .title{margin:0}\r\n\r\n#news li br{display:none}\r\n\r\n#news li+li+li,#news li+li+li+li+li+li{margin:0 0 20px 0}\r\n\r\n.news-update-time {\r\n display: block;\r\n margin: -10px 15px;\r\n color: #333;\r\n font-size: .8rem!important;\r\n}\r\n\r\n.nonews{margin:15px;display:block}\r\n.seemore {display:inline-block; background-color:#B70101; color:white; font-size:12px; padding:2px 5px;}\r\n\r\n#news-search-result .field_set {\r\n background-color: #fff;\r\n}\r\n\r\n#search-result-table1 td {background: #fff;}\r\n#search-result-table1 th.aleft {background:#fff;}\r\n\r\n/*Pinning feedback row to bottom of page and restyling*/\r\n\r\n#credit-feedback tr:last-child {\r\n position: fixed;\r\n bottom: 0;\r\n width: auto;\r\n background: #dadfe1;\r\n display: flex;\r\n padding: 5px 10px;\r\n box-shadow: 1px 1px 3px #555;\r\n}\r\n\r\n.kbfeedbacktable1 tr:last-child:hover {\r\n padding-bottom: 15px !important;\r\n}\r\n\r\n#credit-feedback tr:last-child th {\r\n display: none;\r\n}\r\n\r\n#credit-feedback tr:last-child td {\r\n flex: 1 1 auto;\r\n width: auto;\r\n}\r\n\r\n.feedback-btn-yes, .feedback-btn-yes-clicked, .feedback-btn-no, .feedback-btn-no-clicked {\r\n background-color: #fff;\r\n}\r\n\r\n#credit-feedback tr:last-child a.feedback-btn-link, .kbfeedbacktable1 tr:last-child input.boxlink {\r\n white-space: nowrap;\r\n margin-top: 5px;\r\n display: inline-block;\r\n}\r\n\r\n/*End feedback row pin style*/\r\n\r\n/* Helpfulness Button Styling */\r\n\r\n.feedback-btn-yes, .feedback-btn-yes-clicked, .feedback-btn-no, .feedback-btn-no-clicked {\r\n border: 1px solid #999;\r\n -webkit-border-radius: 0;\r\n -moz-border-radius: 0;\r\n border-radius: 0;\r\n display: inline;\r\n font-family: inherit;\r\n font-size: inherit;\r\n font-weight: 700;\r\n height: 25px !important;\r\n line-height: 17px;\r\n margin: 0;\r\n padding: 3px 10px 3px 10px;\r\n border-top-right-radius: 0;\r\n border-bottom-right-radius: 0;\r\n}\r\n\r\n.feedback-btn-no, .feedback-btn-no-clicked {\r\n color: #B70101;\r\n}\r\n\r\n.feedback-btn-yes-clicked {\r\n background-color: #439343;\r\n border: 1px solid #214A27;\r\n color: #fff;\r\n}\r\n\r\n\r\n.feedback-btn-no-clicked {\r\n background-color: #B54242;\r\n border: 1px solid #600;\r\n color: #fff;\r\n}\r\n\r\n#count-yes, #count-no {\r\n -webkit-border-radius: 0;\r\n -moz-border-radius: 0;\r\n border-radius: 0;\r\n display: inline;\r\n font-family: inherit;\r\n font-size: 12px;\r\n font-weight: 700;\r\n height: 25px !important;\r\n line-height: 17px;\r\n margin: 0 0 0 -5px;\r\n padding: 3px 10px 2px 10px;\r\n text-decoration: none;\r\n color: #fff;\r\n}\r\n\r\n#count-yes {\r\n background-color: green;\r\n border: 1px solid #214A27;\r\n}\r\n\r\n#count-no {\r\n background-color: #B70101;\r\n border: 1px solid #600;\r\n}",
"styleContent3": "",
"styleContent4": "",
"styleEnabledNum": "2",
"_links": {
"self": {
"href": "https://kb.wisc.edu/api/v1/site-styles/2"
}
}
}


The response above pertains to the "Default site base layout CSS [Relative width (100% width up to 3 columns)]: /css/default_layout1.css

Other layout options:

- Landing page base layout CSS [Fixed centered search only (without content/side modules)]: /css/default_landing1.css
- Default site base layout CSS [Fixed width (960px with 1 or 2 columns)]: /css/default_layout2.css


You may have up to four distinct custom CSS for each live site. Only one of the four custom CSS is live.

Internal/ or site custom CSS One
Internal/ or site custom CSS Two
Internal/ or site custom CSS Three
Internal/ or site custom CSS Four

Success Response

Code: 200 OK
Content: Content-type: application/hal+json

Error Response

Code: 404 Page Not Found
Content: { error : "Page not found." }

OR

Code: 405 Method Not Allowed
Content: { error : None }

Notes





Keywords:restapi method url data params parameters success errors responses sample calls notes service   Doc ID:86205
Owner:Teresa A.Group:KB User's Guide
Created:2018-10-02 16:34 CSTUpdated:2018-10-12 10:18 CST
Sites:KB User's Guide
Feedback:  0   0