modified and closed basic css, addedd partners template
This commit is contained in:
parent
416635878d
commit
13df908915
17
footer.php
17
footer.php
|
@ -10,8 +10,6 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
</div><!-- Close off-canvas content -->
|
|
||||||
|
|
||||||
<footer class="">
|
<footer class="">
|
||||||
<section class="subsection">
|
<section class="subsection">
|
||||||
<aside class="site-brand archive">
|
<aside class="site-brand archive">
|
||||||
|
@ -25,13 +23,14 @@
|
||||||
</a>
|
</a>
|
||||||
</aside>
|
</aside>
|
||||||
<aside class="double newsletter">
|
<aside class="double newsletter">
|
||||||
<p> subscribe to our <br/>
|
<p> Subscribe to our <br/>
|
||||||
<span class="h4"><a href="https://arc-hive.zone/newsletter/">newsletter</a></span>
|
<span class="h4"><a href="https://arc-hive.zone/newsletter/">newsletter</a></span>
|
||||||
</p>
|
</p>
|
||||||
</aside>
|
</aside>
|
||||||
<aside class="newsletter">
|
<aside class="newsletter">
|
||||||
<p> follow us on <br/>
|
<p> Follow us on <br/>
|
||||||
<span class="h4"><a href="https://www.facebook.com/arc.hive.platform/">facebook</a></span>
|
<span class="h4"><a href="https://www.facebook.com/arc.hive.platform/">facebook</a></span>
|
||||||
|
-
|
||||||
<span class="h4"><a href="https://www.instagram.com/arc.hive.zone/">instagram</a></span>
|
<span class="h4"><a href="https://www.instagram.com/arc.hive.zone/">instagram</a></span>
|
||||||
</p>
|
</p>
|
||||||
</aside>
|
</aside>
|
||||||
|
@ -44,13 +43,13 @@
|
||||||
<aside class="double partners">
|
<aside class="double partners">
|
||||||
<p>ARC-HIVE partners are:</p>
|
<p>ARC-HIVE partners are:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="h5"> <a href="https://cultivamoscultura.com/">Cultivamos Cultura</a></li>
|
|
||||||
<li class="h5"> <a href="https://bioartsociety.fi/">Bioart Society</a></li>
|
<li class="h5"> <a href="https://bioartsociety.fi/">Bioart Society</a></li>
|
||||||
<li class="h5"> <a href="https://kersnikova.org/">Kersnikova</a></li>
|
<li class="h5"> <a href="https://cultivamoscultura.com/">Cultivamos Cultura</a></li>
|
||||||
<br />
|
|
||||||
<li class="h5"> <a href="https://www.naturalsciences.be/">RBINS</a></li>
|
|
||||||
<li class="h5"> <a href="https://www.kontejner.org/">Kontejner</a></li>
|
|
||||||
<li class="h5"> <a href="https://hangar.org/">Hangar</a></li>
|
<li class="h5"> <a href="https://hangar.org/">Hangar</a></li>
|
||||||
|
<li class="clear clearfix"></li>
|
||||||
|
<li class="h5"> <a href="https://kersnikova.org/">Kersnikova</a></li>
|
||||||
|
<li class="h5"> <a href="https://www.kontejner.org/">Kontejner</a></li>
|
||||||
|
<li class="h5"> <a href="https://www.naturalsciences.be/">RBINS</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<aside class="co-founded">
|
<aside class="co-founded">
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
// Check to see if rev-manifest exists for CSS and JS static asset revisioning
|
// Check to see if rev-manifest exists for CSS and JS static asset revisioning
|
||||||
//https://github.com/sindresorhus/gulp-rev/blob/master/integration.md
|
//https://github.com/sindresorhus/gulp-rev/blob/master/integration.md
|
||||||
|
|
||||||
|
|
||||||
|
// added mods to overwrite cached css and js on update in server
|
||||||
|
// https://developer.wordpress.org/reference/functions/wp_enqueue_style/#comment-2056
|
||||||
|
//
|
||||||
if ( ! function_exists( 'foundationpress_asset_path' ) ) :
|
if ( ! function_exists( 'foundationpress_asset_path' ) ) :
|
||||||
function foundationpress_asset_path( $filename ) {
|
function foundationpress_asset_path( $filename ) {
|
||||||
$filename_split = explode( '.', $filename );
|
$filename_split = explode( '.', $filename );
|
||||||
|
@ -37,7 +41,8 @@ if ( ! function_exists( 'foundationpress_scripts' ) ) :
|
||||||
function foundationpress_scripts() {
|
function foundationpress_scripts() {
|
||||||
|
|
||||||
// Enqueue the main Stylesheet.
|
// Enqueue the main Stylesheet.
|
||||||
wp_enqueue_style( 'main-stylesheet', get_stylesheet_directory_uri() . '/dist/assets/css/' . foundationpress_asset_path( 'app.css' ), array(), '2.10.4', 'all' );
|
//wp_enqueue_style( 'main-stylesheet', get_stylesheet_directory_uri() . '/dist/assets/css/' . foundationpress_asset_path( 'app.css' ), array(), '2.10.4', 'all' );
|
||||||
|
wp_enqueue_style( 'main-stylesheet', get_stylesheet_directory_uri() . '/dist/assets/css/' . foundationpress_asset_path( 'app.css' ), array(), filemtime(get_stylesheet_directory_uri() . '/dist/assets/css/' . foundationpress_asset_path( 'app.css' )), 'all' );
|
||||||
|
|
||||||
// Deregister the jquery version bundled with WordPress.
|
// Deregister the jquery version bundled with WordPress.
|
||||||
wp_deregister_script( 'jquery' );
|
wp_deregister_script( 'jquery' );
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
/*
|
||||||
|
Template Name: Partners page
|
||||||
|
*/
|
||||||
|
get_header(); ?>
|
||||||
|
|
||||||
|
|
||||||
|
<article class="partners">
|
||||||
|
<main>
|
||||||
|
<?php if ( have_posts() ) : ?>
|
||||||
|
|
||||||
|
<?php /* Start the Loop */ ?>
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
<?php get_template_part( 'template-parts/content', get_post_format() ); ?>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
|
||||||
|
<?php else : ?>
|
||||||
|
<?php get_template_part( 'template-parts/content', 'none' ); ?>
|
||||||
|
|
||||||
|
<?php endif; // End have_posts() check. ?>
|
||||||
|
|
||||||
|
<?php /* Display navigation to next/previous pages when applicable */ ?>
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'foundationpress_pagination' ) ) :
|
||||||
|
foundationpress_pagination();
|
||||||
|
elseif ( is_paged() ) :
|
||||||
|
?>
|
||||||
|
<nav id="post-nav">
|
||||||
|
<div class="post-previous"><?php next_posts_link( __( '← Older posts', 'foundationpress' ) ); ?></div>
|
||||||
|
<div class="post-next"><?php previous_posts_link( __( 'Newer posts →', 'foundationpress' ) ); ?></div>
|
||||||
|
</nav>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<?php //get_template_part( 'template-parts/announcement' ); ?>
|
||||||
|
|
||||||
|
<?php get_footer();
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
Template Name: Left Sidebar
|
|
||||||
*/
|
|
||||||
get_header(); ?>
|
|
||||||
|
|
||||||
<?php get_template_part( 'template-parts/featured-image' ); ?>
|
|
||||||
<div class="main-container">
|
|
||||||
<div class="main-grid sidebar-left">
|
|
||||||
<main class="main-content">
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
|
||||||
<?php get_template_part( 'template-parts/content', 'page' ); ?>
|
|
||||||
<?php comments_template(); ?>
|
|
||||||
<?php endwhile; ?>
|
|
||||||
</main>
|
|
||||||
<?php get_sidebar(); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php get_footer();
|
|
|
@ -179,7 +179,7 @@ $paragraph-lineheight: 1.6;
|
||||||
$paragraph-margin-bottom: 1rem;
|
$paragraph-margin-bottom: 1rem;
|
||||||
$paragraph-text-rendering: optimizeLegibility;
|
$paragraph-text-rendering: optimizeLegibility;
|
||||||
$enable-code-inline: true;
|
$enable-code-inline: true;
|
||||||
$anchor-color: $body-font-color;
|
$anchor-color: $primary-color;
|
||||||
$anchor-color-hover: $primary-color;//scale-color($anchor-color, $lightness: -14%);
|
$anchor-color-hover: $primary-color;//scale-color($anchor-color, $lightness: -14%);
|
||||||
$anchor-text-decoration: none;
|
$anchor-text-decoration: none;
|
||||||
$anchor-text-decoration-hover: none;
|
$anchor-text-decoration-hover: none;
|
||||||
|
|
|
@ -3,11 +3,11 @@ button,.button {
|
||||||
}
|
}
|
||||||
.hero {
|
.hero {
|
||||||
button,.button {
|
button,.button {
|
||||||
|
min-width: 20vw;
|
||||||
|
padding: $global-padding*0.3 $global-padding*2;
|
||||||
color: $button-color-alt;
|
color: $button-color-alt;
|
||||||
|
font-size: $global-font-size*1.3;
|
||||||
border-color: $button-color-alt;
|
border-color: $button-color-alt;
|
||||||
font-size: 2rem;
|
|
||||||
padding-left: $global-padding*6;
|
|
||||||
padding-right: $global-padding*6;
|
|
||||||
border-radius: 4rem;
|
border-radius: 4rem;
|
||||||
// margin: $global-margin*2 0;
|
// margin: $global-margin*2 0;
|
||||||
&:hover{
|
&:hover{
|
||||||
|
|
|
@ -20,6 +20,16 @@
|
||||||
color: $body-font-color;
|
color: $body-font-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.excerpt,.post-excerpt{
|
||||||
|
a {
|
||||||
|
color: $body-font-color;
|
||||||
|
&:hover {
|
||||||
|
p {
|
||||||
|
color: $anchor-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// main block
|
// main block
|
||||||
|
@ -118,6 +128,7 @@
|
||||||
line-height: 0.7;
|
line-height: 0.7;
|
||||||
font-size: $global-font-size*1.5;
|
font-size: $global-font-size*1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
aside {
|
aside {
|
||||||
|
@ -171,7 +182,7 @@
|
||||||
// end news category
|
// end news category
|
||||||
|
|
||||||
//
|
//
|
||||||
// hero
|
// partners
|
||||||
// for big announcemnts
|
// for big announcemnts
|
||||||
//---------------------
|
//---------------------
|
||||||
|
|
||||||
|
@ -181,8 +192,16 @@
|
||||||
p {
|
p {
|
||||||
padding-left: 30vw;
|
padding-left: 30vw;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
border-bottom: 1px solid black;
|
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
|
&:after {
|
||||||
|
content: '';
|
||||||
|
display: inline-block;
|
||||||
|
border-bottom: 1px solid $body-font-color;
|
||||||
|
width: 100vw;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
padding-top: 2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.alignleft {
|
.alignleft {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -236,19 +255,19 @@
|
||||||
height: 100% !important;
|
height: 100% !important;
|
||||||
}
|
}
|
||||||
.textwidget {
|
.textwidget {
|
||||||
font-size: $global-font-size*1.3;
|
font-size: $global-font-size*1.2;
|
||||||
padding: $global-padding * 2;
|
padding: $global-padding * 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(xlarge){
|
@include breakpoint(xlarge){
|
||||||
.textwidget {
|
.textwidget {
|
||||||
font-size: $global-font-size*1.4;
|
font-size: $global-font-size*1.3;
|
||||||
padding: $global-padding*3;
|
padding: $global-padding*3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(xxlarge){
|
@include breakpoint(xxlarge){
|
||||||
.textwidget {
|
.textwidget {
|
||||||
font-size: $global-font-size*1.8;
|
font-size: $global-font-size*1.6;
|
||||||
padding: $global-padding*3;
|
padding: $global-padding*3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,18 +6,21 @@ footer {
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p {
|
h1,h2,h3,h4,h5,h6,
|
||||||
|
.h1,.h2,.h3,.h4,.h5,.h6,
|
||||||
|
p,ul,ol,li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
ul,ol {
|
ul,ol {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
li {
|
li {
|
||||||
float:left;
|
float:left;
|
||||||
padding-right: $global-padding;
|
padding-right: $global-padding;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
.clear.clearfix {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.logo {
|
.logo {
|
||||||
}
|
}
|
||||||
.site-brand,.brand-logo {
|
.site-brand,.brand-logo {
|
||||||
|
@ -34,15 +37,17 @@ footer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.copyright, .legal-credits {
|
||||||
|
font-size: $global-font-size*0.8;
|
||||||
|
}
|
||||||
.subsection {
|
.subsection {
|
||||||
@include breakpoint(small) {
|
@include breakpoint(small) {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(left,middle);
|
@include flex-align(left,bottom);
|
||||||
border-top: 1px solid black;
|
border-top: 1px solid black;
|
||||||
padding: $global-padding;
|
padding: $global-padding;
|
||||||
font-size: $global-font-size * 0.8;
|
font-size: $global-font-size * 0.8;
|
||||||
//font-variant:all-small-caps;
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
//padding-top: $global-padding*3;
|
//padding-top: $global-padding*3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,11 +38,11 @@
|
||||||
<?php the_title(); ?>
|
<?php the_title(); ?>
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
<p class="excerpt post-excerpt">
|
<section class="excerpt post-excerpt">
|
||||||
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
|
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
|
||||||
<?php the_excerpt() ?>
|
<?php the_excerpt() ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
<?php // end of the loop ?>
|
<?php // end of the loop ?>
|
||||||
|
|
Loading…
Reference in New Issue