diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 1ac200c81..b0e6c6adb 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -243,7 +243,7 @@ define([ return h('div.cp-topbar', h('div.cp-left.navbar.navbar-toggleable-sm.navbar-light.navbar-inverse', h('button.navbar-toggler.navbar-toggler-left', {'type':'button'}, {'data-toggle':'collapse'}, {'data-target':'#menuCollapse'}, {'aria-controls': 'menuCollapse'}, {'aria-expanded':'false'}, {'aria-label':'Toggle navigation'}, - [h('i.fa.fa-bars') + [h('i.fa.fa-bars ') ]), h('div.collapse.navbar-collapse#menuCollapse', [ h('a', { href: '/zeroknowledge.html'}, 'What is Zero Knowledge'), diff --git a/customize.dist/src/less2/main.less b/customize.dist/src/less2/main.less index ff3fc1029..242e22fc2 100644 --- a/customize.dist/src/less2/main.less +++ b/customize.dist/src/less2/main.less @@ -1,6 +1,5 @@ -@import url('https://fonts.googleapis.com/css?family=Roboto'); @font-face { font-family: Neuropolitical; - src: url(../customize.dist/fonts/neuropolitical.ttf) + src: url(./customize/fonts/neuropolitical.ttf) } div#cp-main.cp-page-index { @import "./pages/page-index.less"; } \ No newline at end of file diff --git a/customize.dist/src/less2/pages/page-index.less b/customize.dist/src/less2/pages/page-index.less index 44db9eb50..d2162b183 100644 --- a/customize.dist/src/less2/pages/page-index.less +++ b/customize.dist/src/less2/pages/page-index.less @@ -7,10 +7,11 @@ .infopages_main(); .infopages_topbar(); -@background: rgba(0,0,0,0.2); +@background_lighter: rgba(0,0,0,0.1); +@background_darker: rgba(0,0,0,0.4); &#cp-main { color: #FFF; - background: linear-gradient( @background, @background ), url('/customize/bg14.jpg'); + background: linear-gradient( @background_darker, @background_lighter ), url('/customize/bg14.jpg'); background-size: cover; display: flex; flex-direction: column; @@ -43,15 +44,17 @@ display: flex; align-items: center; flex-direction: column; + margin-top: 1.5em; img { - height: 30vh; + height: 20vh; + margin-bottom: 1.5em; } margin-left: 0; h1 { - font-family: "Roboto"; + font-family: "Neuropolitical"; //font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", Times, serif; //font-family: "Raleway"; - font-size: 65px; + font-size: 45px; } p { //font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; @@ -74,7 +77,9 @@ } } @callout-padding: 15px; - +a:hover { + text-decoration: none +} .bs-callout { display: flex; align-items: stretch; @@ -90,7 +95,7 @@ &:hover { text-decoration-line: none; } } div { - @media only screen and (min-device-width : 576px) and (max-device-width : 767px) { + @media only screen and (min-device-width: 576px) and (max-device-width: 767px) { left: 4.5em !important; } } @@ -98,6 +103,9 @@ h4 { margin: 0; } +.cp-callout-more-moremsg,.cp-callout-more-lessmsg { + transform: none !important; +} .bs-callout div { display: flex; align-items: center; @@ -113,15 +121,14 @@ h4 { .bs-callout:hover { //color: white; transform: scale(1.05); - cursor: pointer; + cursor: pointer; } -.cp-callout-more:hover { - transform: none; - } .bs-callout:hover .fa { //width: 100%; } - +.bs-callout:hover.cp-callout-more { + transform: none !important; +} .bs-callout .fa { display: flex; align-items: center; @@ -131,16 +138,13 @@ h4 { transition: width 0.1s; color: #fff; } - .cp-callout-pad .fa { background-color: @colortheme_pad-bg; } .cp-callout-code .fa { background-color: @colortheme_code-bg; } .cp-callout-slide .fa { background-color: @colortheme_slide-bg; } .cp-callout-poll .fa { background-color: @colortheme_poll-bg; } .cp-callout-whiteboard .fa { background-color: @colortheme_whiteboard-bg; } .cp-callout-recent .fa { background-color: @colortheme_drive-bg; } - .cp-hidden { display: none !important; } - .cp-callout-more { width: auto; display: inline-block;