diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..02a7aca --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS* diff --git a/assets/css/main.css b/assets/css/main.css index eeb25f0..542159b 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1773,6 +1773,10 @@ /* Section/Article */ + section.wrapper header p.entry-meta { font-size: 0.8em;} + + section.entry-content img { max-width: 100%; height: auto!important; } + section.special, article.special { text-align: center; } @@ -2849,12 +2853,14 @@ position: absolute; background-color: #fff; border: 1px solid #5385c1; - top: 2.9em; + border-top: 1px solid #fff; + top: 2.5em; + min-width: 100px; } #nav .sub-menu li { padding: 0; line-height: 2em; } - #nav .sub-menu a { color: #333; padding: 0.4em; } + #nav .sub-menu a { color: #333; padding: 0.4em; width: 100%; text-align: left; } #nav .sub-menu a:hover { color: #fff; background-color: #5385c1; } - + @media screen and (max-width: 980px) { #nav { @@ -3093,7 +3099,7 @@ } } - + /** widget search */ .widget_search form > div { display: block; clear: both; height: auto; overflow: auto; } .widget_search form input[type="text"] { diff --git a/entry-content.php b/entry-content.php index 3212936..ae92848 100644 --- a/entry-content.php +++ b/entry-content.php @@ -1,7 +1,4 @@
- - -
diff --git a/entry-home.php b/entry-home.php new file mode 100644 index 0000000..7d3e900 --- /dev/null +++ b/entry-home.php @@ -0,0 +1,19 @@ +
> + +
+ Stack +
+ +
+

+ + + +

+ +
+ + +
diff --git a/entry.php b/entry.php index 649690b..5a9cd57 100644 --- a/entry.php +++ b/entry.php @@ -1,8 +1,12 @@
> -
-

- -
- - +
+ + + +

+ +
+ +
+
diff --git a/page-home.php b/page-home.php index bb6bdc1..107b2cf 100644 --- a/page-home.php +++ b/page-home.php @@ -115,4 +115,65 @@ + +
+ + "post" + ); + $the_query = new WP_Query( $args ); + ?> + +
+
+
+

Last News

+
+
+ + have_posts()) { + $the_query->the_post(); + get_template_part( 'entry', 'home' ); + } + ?> +
+ +
+ have_posts()) { + $the_query->the_post(); + get_template_part( 'entry', 'home' ); + } + ?> + + have_posts()) { + $the_query->the_post(); + get_template_part( 'entry', 'home' ); + } + ?> +
+
+
+ have_posts()) { + $the_query->the_post(); + get_template_part( 'entry', 'home' ); + } + ?> + + have_posts()) { + $the_query->the_post(); + get_template_part( 'entry', 'home' ); + } + ?> +
+
+
+
+
+ diff --git a/screenshot.png b/screenshot.png index 391211f..180c983 100644 Binary files a/screenshot.png and b/screenshot.png differ diff --git a/style.css b/style.css index 9142d93..a4239e6 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Theme URI: http://github.com/friendica/wordpress-theme Author: Friendica Author URI: http://friendica.com/ Description: This is the theme for Friendica main site.
Based on https://templated.co/theory -Version: 1.0.0 +Version: 1.0.2 License: GNU General Public License License URI: https://www.gnu.org/licenses/gpl.html Text Domain: friendica