Updated for easier updates

This commit is contained in:
Sophia Atkinson 2022-12-19 19:18:20 -08:00
parent 998e5d37e5
commit 651e54410a
6 changed files with 34 additions and 16 deletions

View File

@ -5,4 +5,5 @@ Options +FollowSymLinks
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteRule ^favicon.ico /img/site/favicon-32.webp
RewriteRule ^assets/includes/header.php$ - [NC,R=403,L]
RewriteRule ^assets/includes/footer.php$ - [NC,R=403,L]
RewriteRule ^assets/includes/footer.php$ - [NC,R=403,L]
RewriteRule ^assets/config.php$ - [NC,R=403,L]

11
assets/config.php Normal file
View File

@ -0,0 +1,11 @@
<?php
if (!defined('copyright')) define('copyright', '2022 Sophia Atkinson. CC BY-NC 4.0');
if (!defined('email')) define('email', 'mailto:sophialul@protonmail.com');
if (!defined('ogimg')) define('ogimg', '/img/fulls/IMG_4255.webp');
if (!defined('mastodon')) define('mastodon', 'https://mstdn.social/@govperla');
?>

View File

@ -224,13 +224,13 @@ a {
-ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
border-bottom: dotted 1px;
color: #7289DA;
color: #F49ABD;
text-decoration: none;
}
a:hover {
border-bottom-color: transparent;
color: #7289DA !important;
color: #F49ABD !important;
}
strong, b {
@ -420,7 +420,7 @@ input[type="submit"]:hover:active,
button:hover:active,
.button:hover:active {
background-color: rgba(52, 165, 142, 0.15);
color: #7289DA !important;
color: #F49ABD !important;
}
input[type="submit"].icon,
@ -468,7 +468,7 @@ input[type="submit"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
background-color: #7289DA;
background-color: #F49ABD;
box-shadow: none;
}
@ -477,7 +477,7 @@ input[type="submit"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
background-color: #7289DA;
background-color: #F49ABD;
color: #ffffff !important;
}
@ -486,7 +486,7 @@ input[type="submit"].primary:hover:active,
input[type="button"].primary:hover:active,
button.primary:hover:active,
.button.primary:hover:active {
background-color: #7289DA;
background-color: #F49ABD;
}
input[type="submit"].disabled, input[type="submit"]:disabled,
@ -723,15 +723,15 @@ input[type="checkbox"] + label:before,
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
background: #7289DA;
border-color: #7289DA;
background: #F49ABD;
border-color: #F49ABD;
color: #ffffff;
content: '\f00c';
}
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
box-shadow: 0 0 0 2px #7289DA;
box-shadow: 0 0 0 2px #F49ABD;
}
input[type="radio"] + label:before {

View File

@ -1,16 +1,19 @@
<?php
include(__DIR__ . './../../assets/config.php');
?>
<footer id="footer" class="panel">
<div class="inner split">
<div>
<section>
<h2>Perla The Dog.</h2>
<p>She Is a Chihuahua Mix, and she is 7 years old. We adopted her in 2019 from Family Dogs New Life Shelter.</p>
<p>She Is a Chihuahua Mix, and she is 7 years old. We adopted her in 2019 from <a class="white-link" href="https://www.familydogsnewlife.org/">Family Dogs New Life Shelter</a>.</p>
<h2>Site Info</h2>
<p>Site Maintained By <a class="white-link" href="https://sophia.wtf">Sophia Atkinson</a></p>
<h2>Contact</h2>
<p><a class="white-link" href="mailto:sophialul@protonmail.com">Email</a></p>
<p><a class="white-link" href="<?php echo email ?>">Email</a></p>
</section>
<section> </section>
<p class="copyright"> &copy;2022 Sophia Atkinson. CC BY-NC 4.0, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
<p class="copyright">&copy;<?php echo copyright ?>, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
</div>
<div> </div>
</div>
@ -25,7 +28,7 @@
<h2><a href="/archives/2020/">2020</a></h2>
<h2><a href="/archives/2019/">2019</a></h2>
</section>
<p class="copyright"> &copy;2022 Sophia Atkinson. CC BY-NC 4.0, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
<p class="copyright">&copy;<?php echo copyright ?>, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
</div>
<div> </div>
</div>

View File

@ -1,8 +1,12 @@
<?php
include(__DIR__ . './../../assets/config.php');
?>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="/assets/css/main.css" />
<noscript><link rel="stylesheet" href="/assets/css/noscript.css" /></noscript>
<link rel="icon" type="image/png" href="/img/site/favicon-32.webp" sizes="32x32">
<link rel="icon" type="image/png" href="/img/site/favicon-16.webp" sizes="16x16">
<p hidden> <a rel="me" href="<?php echo mastodon ?>">Mastodon</a></p>
<meta name="keywords" content="PTD, Perla, Perla The Dog">
<meta property="og:image" content="https://perlathedog.com/img/fulls/IMG_4255.webp">
<meta property="og:image" content="<?php echo ogimg ?>">

View File

@ -16,7 +16,6 @@
<meta property="og:type" content="website">
<meta property="og:title" content="Perla The Dog">
<meta property="og:description" content="Pictures Of Perla The Dog">
<p hidden> <a rel="me" href="https://mstdn.social/@govperla">Mastodon</a></p>
</head>
<body class="is-preload">