From 7348befa9d707a75b26977b3bb1eebd4effe7da2 Mon Sep 17 00:00:00 2001 From: Gigi Date: Tue, 26 Apr 2022 20:43:24 +0200 Subject: [PATCH] style: format --- css/21.css | 72 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 13 deletions(-) diff --git a/css/21.css b/css/21.css index 52811b3..5082bb1 100644 --- a/css/21.css +++ b/css/21.css @@ -1,4 +1,3 @@ - body { font-family: Georgia, serif; font-size: 14px; @@ -10,8 +9,8 @@ body { padding: 30px; } -.nav-tabs.nav-stacked > li > a:hover { - border: none!important; +.nav-tabs.nav-stacked>li>a:hover { + border: none !important; } .hero-unit h1 { @@ -47,13 +46,13 @@ pre { } pre code { - padding: 10px!important; - background: #F6f6f6!important; + padding: 10px !important; + background: #F6f6f6 !important; } -p > code { +p>code { color: #000; - padding:2px; + padding: 2px; margin: 0 3px; border: 1px solid #eee; } @@ -75,16 +74,46 @@ p > code { font-size: 14px; } -.btn-custom { background-color: hsl(29, 29%, 40%) !important; background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#af8d6e", endColorstr="#836548"); background-image: -khtml-gradient(linear, left top, left bottom, from(#af8d6e), to(#836548)); background-image: -moz-linear-gradient(top, #af8d6e, #836548); background-image: -ms-linear-gradient(top, #af8d6e, #836548); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #af8d6e), color-stop(100%, #836548)); background-image: -webkit-linear-gradient(top, #af8d6e, #836548); background-image: -o-linear-gradient(top, #af8d6e, #836548); background-image: linear-gradient(#af8d6e, #836548); border-color: #836548 #836548 hsl(29, 29%, 36%); color: #fff !important; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.26); -webkit-font-smoothing: antialiased; } +.btn-custom { + background-color: hsl(29, 29%, 40%) !important; + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#af8d6e", endColorstr="#836548"); + background-image: -khtml-gradient(linear, left top, left bottom, from(#af8d6e), to(#836548)); + background-image: -moz-linear-gradient(top, #af8d6e, #836548); + background-image: -ms-linear-gradient(top, #af8d6e, #836548); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #af8d6e), color-stop(100%, #836548)); + background-image: -webkit-linear-gradient(top, #af8d6e, #836548); + background-image: -o-linear-gradient(top, #af8d6e, #836548); + background-image: linear-gradient(#af8d6e, #836548); + border-color: #836548 #836548 hsl(29, 29%, 36%); + color: #fff !important; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.26); + -webkit-font-smoothing: antialiased; +} -.btn-github { background-color: hsl(29, 0%, 29%) !important; background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#727272", endColorstr="#494949"); background-image: -khtml-gradient(linear, left top, left bottom, from(#727272), to(#494949)); background-image: -moz-linear-gradient(top, #727272, #494949); background-image: -ms-linear-gradient(top, #727272, #494949); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #727272), color-stop(100%, #494949)); background-image: -webkit-linear-gradient(top, #727272, #494949); background-image: -o-linear-gradient(top, #727272, #494949); background-image: linear-gradient(#727272, #494949); border-color: #494949 #494949 hsl(29, 0%, 25%); color: #fff !important; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.26); -webkit-font-smoothing: antialiased; } +.btn-github { + background-color: hsl(29, 0%, 29%) !important; + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#727272", endColorstr="#494949"); + background-image: -khtml-gradient(linear, left top, left bottom, from(#727272), to(#494949)); + background-image: -moz-linear-gradient(top, #727272, #494949); + background-image: -ms-linear-gradient(top, #727272, #494949); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #727272), color-stop(100%, #494949)); + background-image: -webkit-linear-gradient(top, #727272, #494949); + background-image: -o-linear-gradient(top, #727272, #494949); + background-image: linear-gradient(#727272, #494949); + border-color: #494949 #494949 hsl(29, 0%, 25%); + color: #fff !important; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.26); + -webkit-font-smoothing: antialiased; +} ul.thumbnails li { margin-bottom: 25px; } .content h1, .content h2, .content h3, -{ + { font-family: Garamond, 'Garamond classico', Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; } @@ -129,7 +158,7 @@ h3:hover .headerlink { visibility: visible; } -.nav-tabs.nav-stacked > li > a { +.nav-tabs.nav-stacked>li>a { border: 0; } @@ -167,6 +196,7 @@ h3:hover .headerlink { font-size: 20px; margin-bottom: 10px; } + .k-donate .k-donate-buttons { margin-top: 20px; } @@ -181,15 +211,18 @@ h3:hover .headerlink { float: left; margin-right: 10px; } + .k-flattr:hover { background-position: 0 -22px; } + .k-flattr span { display: none; } + .k-paypal { display: block; - border: none!important; + border: none !important; border-radius: 0; cursor: pointer; -moz-box-shadow: none; @@ -199,6 +232,7 @@ h3:hover .headerlink { .k-howto { margin-bottom: 2em; } + .k-big-number span { font-size: 30px; border-radius: 25px; @@ -211,36 +245,46 @@ h3:hover .headerlink { background: #69d; line-height: 50px; } + .k-gui .dg { color: #000; text-shadow: 0 1px 0 #ccc; } + .k-gui .dg .c input[type="text"] { background-color: #DDD; } + .k-gui .dg .cr.number input[type="text"] { color: #356; height: 12px; } + .k-gui .dg .c .slider { background-color: #ddd; } + .k-gui .dg .c:hover .slider { background-color: #fff; } + .k-gui .dg .close-button { display: none; } + .k-gui .dg li:not(.folder) { background: #eee; border-bottom: 1px solid #ccc; } + .k-gui .dg .save-row { border-radius: 6px 6px 0 0; } + .k-gui .dg .save-row select { margin-top: 6px; } + .k-gui .dg .cr.boolean:hover { background: #ddd; } @@ -248,10 +292,12 @@ h3:hover .headerlink { .k-gui .dg .c input[type="checkbox"] { margin-top: 0; } + .k-gui .dg .closed li.title { background-image: none; background-color: #e4e4e4; } + .k-gui .dg .cr.number input[type="text"]:hover, .k-gui .dg .cr.number input[type="text"]:focus { color: #eee; @@ -288,4 +334,4 @@ h3:hover .headerlink { .content h2 { font-size: 23px; } -} +} \ No newline at end of file