Commit e3952eed authored by Jakob Moser's avatar Jakob Moser
Browse files

Rename post-content to content for brevity

parent 109972f8
Loading
Loading
Loading
Loading
+1 −1
Changes for 404.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ get_header();
        <header>
            <h1>Fehler: 404</h1>
        </header>
        <div class="post-content error404">
        <div class="content error404">
            <div class="icon">?!</div>
            <div class="message">Die angefragte Seite existiert leider nicht.</div>
        </div>
+1 −1
Changes for index.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ get_header();
            <div class="post-meta-timestamp">
                <?php the_date(); ?>
            </div>
            <div class="post-content">
            <div class="content">
                <?php the_excerpt(); ?>
            </div>
        </article>
+1 −1
Changes for page.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ get_header();
			echo '\');"';?> >
			<h1><?php echo get_the_title($post->ID); ?></h1>
		</header>
		<div class="post-content">
		<div class="content">
			<?php
				if ( !post_password_required() ) {
					echo apply_filters('the_content', $post->post_content);
+1 −1
Changes for single.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ get_header();
			echo '\');"';?> >
			<h1><?php echo get_the_title($post->ID); ?></h1>
		</header>
		<div class="post-content">
		<div class="content">
			<?php
				if ( !post_password_required() ) {
					echo apply_filters('the_content', $post->post_content);
+13 −13
Changes for style.css: 13 added lines, 13 removed lines.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ Theme URI: https://gitlab.cl.uni-heidelberg.de/fachschaft/wp-theme
Description: Ein zeitloses WordPress-Theme für die Fachschaft Computerlinguistik in Heidelberg, gehalten in den Farben rot, grau und schwarz. Seit Mitte 2020 nach Anpassungen von Jakob Moser sogar leidlich responsive.
Author: personads :: Maximilian Müller-Eberstein
Author URI: https://personads.me/
Version: 1.00-snapshot-22
Version: 1.00-snapshot-23
Tags: fs-coli, custom

License: GNU General Public License v3.0
@@ -618,7 +618,7 @@ main.list article {
    box-shadow: 0px 0px 10px var(--shadow-color);
}

main.list .post-content::before {
main.list .content::before {
    content: "";
    display: block;
    position: absolute;
@@ -631,7 +631,7 @@ main.list .post-content::before {
    border-color: var(--light-gray) transparent;
}

main.list .post-content::after {
main.list .content::after {
    content: "";
    display: block;
    position: absolute;
@@ -644,20 +644,20 @@ main.list .post-content::after {
    border-color: #fff transparent;
}

main.list .post-content {
main.list .content {
    margin-top: 1.5em;
}

.post-content.error404 {
.content.error404 {
    text-align: center;
}

.post-content.error404 .icon {
.content.error404 .icon {
    margin: 0.25em;
    font-size: 10em;
}

.post-content.error404 div {
.content.error404 div {
    display: inline-block;
    vertical-align: middle;
}
@@ -765,12 +765,12 @@ article > header h1, .post-title h1 a, .home-news-main-content h3 a, .home-news-
    margin-bottom: initial;
}

.post-content {
.content {
    position: relative;
    margin-top: 3.5em;
}

.post-content::after {
.content::after {
    content: "";
    display: block;
    position: absolute;
@@ -783,17 +783,17 @@ article > header h1, .post-title h1 a, .home-news-main-content h3 a, .home-news-
    border-color: #fff transparent;
}

.post-content p {
.content p {
    margin-bottom: 1em;
}

.post-content > img {
.content > img {
    max-width: 100%;
    height: auto;
}

.post-content > h1,
.post-content > h2 {
.content > h1,
.content > h2 {
    margin: 0.25em 0em;
    padding: 0.25em;
    border-style: solid;