theme updates
This commit is contained in:
@@ -24,10 +24,8 @@ description: >- # this means to ignore newlines until "baseurl:"
|
|||||||
Write an awesome description for your new site here. You can edit this
|
Write an awesome description for your new site here. You can edit this
|
||||||
line in _config.yml. It will appear in your document head meta (for
|
line in _config.yml. It will appear in your document head meta (for
|
||||||
Google search results) and in your feed.xml site description.
|
Google search results) and in your feed.xml site description.
|
||||||
baseurl: "/" # the subpath of your site, e.g. /blog
|
baseurl: "/jhewit" # the subpath of your site, e.g. /blog
|
||||||
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
url: "http://localhost:4000" # the base hostname & protocol for your site, e.g. http://example.com
|
||||||
twitter_username: jekyllrb
|
|
||||||
github_username: jekyll
|
|
||||||
|
|
||||||
# Exclude from processing.
|
# Exclude from processing.
|
||||||
# The following items will not be processed, by default.
|
# The following items will not be processed, by default.
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="head-marker" class="scrolly"></div>
|
<div id="head-marker" class="scrolly"></div>
|
||||||
<div id="headin">
|
<div id="headin">
|
||||||
<a href="{{ site.baseurl }}/" style="color: black;"><h1>{{ site.title }}</h1></a>
|
<a href="{{ site.baseurl }}/"><h1>{{ site.title }}</h1></a>
|
||||||
<div id="links-outer">
|
<div id="links-outer">
|
||||||
<input id="hambugha" type="checkbox" style="display: none;">
|
<input id="hambugha" type="checkbox" style="display: none;">
|
||||||
<label for="hambugha" style="display: none;">Ham</label>
|
<label for="hambugha" style="display: none;">Ham</label>
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
<div><a href="{{ site.baseurl }}/membership">Membership</a></div>
|
<div><a href="{{ site.baseurl }}/membership">Membership</a></div>
|
||||||
<div><a href="{{ site.baseurl }}/contact">Contact Us</a></div>
|
<div><a href="{{ site.baseurl }}/contact">Contact Us</a></div>
|
||||||
</div>
|
</div>
|
||||||
<!--<img src="/res/arrow-none.svg" onclick="toggle_sidebar()" />-->
|
<img src="{{ site.baseurl }}/res/arrow-left.svg" onclick="toggle_sidebar()" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="{{ site.baseurl }}/main.js"></script>
|
<script src="{{ site.baseurl }}/main.js"></script>
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
layout: default
|
layout: default
|
||||||
title: Home
|
title: Home
|
||||||
---
|
---
|
||||||
<img class="wide" src="{{ site.baseurl }}/res/Avraham_Society.png">
|
|
||||||
<p>
|
<p>
|
||||||
Welcome to the Avraham Society! If you are looking for the Jewish Humanist voice of the MENA region then you came to the
|
Welcome to the Avraham Society! If you are looking for the Jewish Humanist voice of the MENA region then you came to the
|
||||||
right place! We are the home of future leaders who want to make a change in the world. We are an opportunity for all
|
right place! We are the home of future leaders who want to make a change in the world. We are an opportunity for all
|
||||||
|
|||||||
22
main.css
22
main.css
@@ -46,7 +46,8 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
padding-bottom: 10%;
|
padding-bottom: 10%;
|
||||||
min-height: 90vh;
|
min-height: 90vh;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-image: url(https://www.state.gov/wp-content/uploads/2022/02/Kuwait-2323x1406.png);
|
background-image: url(res/Avraham_Society.png);
|
||||||
|
background-position: 50% 50%;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -65,7 +66,7 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
clip-path: polygon(0% 90%, 0 100%, 100% 100%, 100% 90%, 30% 100%);
|
clip-path: polygon(0% 90%, 0 100%, 100% 100%, 100% 90%, 30% 100%);
|
||||||
background-color: white;
|
background-color: black;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -135,7 +136,12 @@ h1 {
|
|||||||
width: calc(100vw); /*- var(--sidebar-size)*/
|
width: calc(100vw); /*- var(--sidebar-size)*/
|
||||||
transition: margin-left 1s, width 1s;
|
transition: margin-left 1s, width 1s;
|
||||||
/*width: 100vw;*/
|
/*width: 100vw;*/
|
||||||
background-color: white;
|
background-color: black;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#head-marker.scrolly-out+#headin > * {
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#head-marker.scrolly-out + #headin > #links > * > *, #head-marker.scrolly-out + #headin > #links > * {
|
#head-marker.scrolly-out + #headin > #links > * > *, #head-marker.scrolly-out + #headin > #links > * {
|
||||||
@@ -196,7 +202,7 @@ body:not(.sidebar-opened) > #sider-outer > #sider {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: none;
|
width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:not(.sidebar-opened) > #sider-outer > #sider > img {
|
body:not(.sidebar-opened) > #sider-outer > #sider > img {
|
||||||
@@ -406,7 +412,7 @@ h1 {
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 0.7em;
|
font-size: 0.7em;
|
||||||
margin-top: 10vh;
|
padding-top: 10vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-relational-scrolling > div:last-child > p > img {
|
.image-relational-scrolling > div:last-child > p > img {
|
||||||
@@ -513,6 +519,8 @@ h1 {
|
|||||||
|
|
||||||
#content {
|
#content {
|
||||||
min-height: 50vh;
|
min-height: 50vh;
|
||||||
|
background-color: black;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content > p > .overlay {
|
#content > p > .overlay {
|
||||||
@@ -584,4 +592,8 @@ iframe {
|
|||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
width: var(--video-width) !important;
|
width: var(--video-width) !important;
|
||||||
height: calc(var(--video-width) * 9/16) !important;
|
height: calc(var(--video-width) * 9/16) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: black;
|
||||||
}
|
}
|
||||||
4
main.js
4
main.js
@@ -180,14 +180,14 @@ carousel_1.display();
|
|||||||
setInterval(carousel_1.nextAnim, 2000);
|
setInterval(carousel_1.nextAnim, 2000);
|
||||||
|
|
||||||
function toggle_sidebar() {
|
function toggle_sidebar() {
|
||||||
/*document.body.classList.toggle("sidebar-opened");
|
document.body.classList.toggle("sidebar-opened");
|
||||||
var el = document.querySelector("#sider > img");
|
var el = document.querySelector("#sider > img");
|
||||||
if (document.body.classList.contains("sidebar-opened")) {
|
if (document.body.classList.contains("sidebar-opened")) {
|
||||||
el.src = "/res/arrow-left.svg";
|
el.src = "/res/arrow-left.svg";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
el.src = "/res/arrow-none.svg";
|
el.src = "/res/arrow-none.svg";
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function sidebar_off() {
|
function sidebar_off() {
|
||||||
|
|||||||
Reference in New Issue
Block a user