Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

5 changed files with 20 additions and 48 deletions

View file

@ -1751,11 +1751,18 @@
} }
.inner { .inner {
width: 90%;
max-width: 75em; max-width: 75em;
margin: 0 auto; margin: 0 auto;
} }
@media screen and (max-width: 1280px) {
.inner {
max-width: 90%;
}
}
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.inner { .inner {
@ -1895,13 +1902,6 @@
justify-content: space-between; justify-content: space-between;
} }
.flex.center {
-moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
}
.flex.flex-2 article { .flex.flex-2 article {
width: 47%; width: 47%;
} }

View file

@ -1,3 +1,4 @@
<?php <?php
add_action('after_setup_theme', 'friendica_setup'); add_action('after_setup_theme', 'friendica_setup');

View file

@ -62,5 +62,5 @@
?> ?>
</span> </span>
</h1> <p><?php echo esc_html(get_bloginfo('description')); ?></p> </h1> <p><?php echo esc_html(get_bloginfo('description')); ?></p>
<p><a href="#try" class="button special">Try It!</a></p> <p><a href="https://github.com/friendica/friendica/releases" class="button special">Download</a> <a href="http://dir.friendica.social/servers" class="button">Try It</a></p>
</section> </section>

View file

@ -1,8 +1,7 @@
<?php get_header("home"); ?> <?php get_header("home"); ?>
<!-- One -->
<!-- intro --> <section id="one" class="wrapper">
<section class="wrapper">
<div class="inner"> <div class="inner">
<div class="flex flex-3"> <div class="flex flex-3">
<article> <article>
@ -36,9 +35,8 @@
</div> </div>
</section> </section>
<!-- Two -->
<!-- more key feature --> <section id="two" class="wrapper style1 special">
<section class="wrapper style1 special">
<div class="inner"> <div class="inner">
<header> <header>
<h2>A decentralized social network</h2> <h2>A decentralized social network</h2>
@ -80,25 +78,8 @@
</div> </div>
</section> </section>
<!-- try friendica --> <!-- Three -->
<section id="try" class="wrapper style1 special"> <section id="three" class="wrapper special">
<div class="inner">
<header>
<h2>Try Friendica</h2>
</header>
<div class="flex center flex-3">
<article>
<p>Do you want to try Friendica but don't have the technical knowledge to install your server?
You can create an account on one of the many servers out there which accept new users!</p>
</article>
</div>
<p><a href="https://dir.friendica.social/servers" class="button">Have a look at the list of public servers</a></p>
</div>
</section>
<!-- technical -->
<section class="wrapper special">
<div class="inner"> <div class="inner">
<header class="align-center"> <header class="align-center">
<h2>Free software &mdash; Free protocols</h2> <h2>Free software &mdash; Free protocols</h2>
@ -110,10 +91,10 @@
<img src="<?php echo get_template_directory_uri(); ?>/images/pic2.png" alt="Stack"> <img src="<?php echo get_template_directory_uri(); ?>/images/pic2.png" alt="Stack">
</div> </div>
<header> <header>
<h3>PHP &amp; MariaDB</h3> <h3>PHP &amp; MySQL</h3>
</header> </header>
<p>Run your personal Friendica node on shared hosts.</p> <p>Run your personal Friendica node on shared hosts.</p>
<p>Friendica runs on PHP with MariaDB as a database. If you can run WordPress, you can run Friendica.</p> <p>Friendica runs on PHP with MySQL as a database. If you can run WordPress, you can run Friendica.</p>
<footer> <footer>
<a href="/requirements/" class="button special">More</a> <a href="/requirements/" class="button special">More</a>
</footer> </footer>
@ -132,21 +113,11 @@
</footer> </footer>
</article> </article>
</div> </div>
</div>
</section>
<section id="run">
<div class="inner">
<header class="align-center">
<h2>Run your own server</h2>
<p>Be part of the network, host a Friendica server for you, your family and your friends!</p>
<p><a href="/resources/installation/" class="button special">Installation guide</a></p>
</header>
</div> </div>
</section> </section>
<hr> <hr>
<!-- Four -->
<!-- Last news -->
<?php <?php
$args = array( $args = array(
'post_type' => "post" 'post_type' => "post"

View file

@ -4,7 +4,7 @@ Theme URI: https://git.friendi.ca/friendica/friendica-wp-theme
Author: Friendica Author: Friendica
Author URI: https://friendi.ca/ Author URI: https://friendi.ca/
Description: This is the theme for Friendica main site.<br>Based on https://templated.co/theory Description: This is the theme for Friendica main site.<br>Based on https://templated.co/theory
Version: 1.1.6 Version: 1.1.5
License: GNU General Public License License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: friendica Text Domain: friendica