first commit

This commit is contained in:
Pavel Kuleshov 2020-03-07 15:49:14 +08:00
commit 92d52ef8db
6 changed files with 166 additions and 0 deletions

3
footer.php Normal file
View File

@ -0,0 +1,3 @@
</body>
</html>

11
header.php Normal file
View File

@ -0,0 +1,11 @@
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<link rel="stylesheet" href="<?php echo get_stylesheet_uri() ?>" />
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.png" />
<title><?php bloginfo( 'name' ); ?></title>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>

24
index.php Normal file
View File

@ -0,0 +1,24 @@
<?php get_header();?>
<div class="content">
<div class="avatar"></div>
<span>
<h1># Pavel Kuleshov</h1>
<p>
<span>
Гик, Безумец, IT'шник, Linux'оид
<br / ><br />
<u>Известен в сети под псевдонимами:</u><br />
> Kamikadze, 3err0
<br /><br />
<u>Социалки:</u><br />
> <a href="https://t.me/ru_3err0" target="_blank">Telegram</a> / <a href="https://github.com/3err0" target="_blank">Github</a> / <a href="https://vk.com/3err0" target="_blank">VK</a>
</span>
</p>
<p>
<strong>© 2020</strong>
</p>
</span>
</div>
<?php get_footer();?>

15
page.php Normal file
View File

@ -0,0 +1,15 @@
<?php get_header();?>
<?php
if ( have_posts() ) {
the_post();
echo '<div class="content">';
the_title();
the_content();
echo '</div>';
} else {
echo "asd";
}
?>
<?php get_footer();?>

15
single.php Normal file
View File

@ -0,0 +1,15 @@
<?php get_header();?>
<?php
if ( have_posts() ) {
the_post();
echo '<div class="content">';
the_title();
the_content();
echo '</div>';
} else {
echo "asd";
}
?>
<?php get_footer();?>

98
style.css Normal file
View File

@ -0,0 +1,98 @@
/*
Theme Name: ZERRO
Version: 0.1
Description: Personal theme
Author: Pavel Kuleshov
Author URI: https://3err0.ru
*/
html, body {
background: #fafafa;
}
body {
line-height: 1.5;
}
h1 {
font-size: 1.7em;
font-weight: normal;
line-height: 1.2em;
margin-top: 0;
}
a {
color: rgb(39, 110, 242);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.content {
background-color: white;
border-radius: 2px;
box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14);
box-sizing: border-box;
color: black;
line-height: 1.5;
margin: 5.5em auto 0;
max-width: 640px;
padding: 30px 35px 30px 37px;
width: 100%;
font-family: 'Segoe UI', Tahoma, sans-serif;
font-size: 75%;
}
.content:after {
visibility: hidden;
display: block;
content: "";
clear: both;
height: 0;
}
.content > span {
display: block;
}
.content p:last-child {
margin-bottom: 4px;
}
@media (max-width: 700px) {
body {
margin: 1em 2em 2em;
}
}
@media (max-width: 400px) {
body {
margin: 3em 1.5em 2em;
}
}
@media (max-height: 480px) and (max-width: 400px) {
.content {
margin: auto;
}
}
.content > span {
max-width: 416px;
}
.avatar {
-webkit-margin-after: 10px;
-webkit-margin-before: 4px;
-webkit-margin-start: 25px;
content: -webkit-image-set(url('https://proxy.3err0.ru/me.png') 1x);
float: right;
height: 128px;
width: 128px;
border-radius: 50%;
}
html[dir='rtl'] .icon {
float: left;
}
@media (max-width: 400px) {
.icon {
-webkit-margin-start: 15px;
height: 96px;
width: 96px;
}
}