/
home-bak.php
executable file
·100 lines (81 loc) · 1.9 KB
/
home-bak.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme and one of the
* two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php file exists.
*
* @link http://codex.wordpress.org/Template_Hierarchy
*
* @package York Lite
* @author Rich Tabor of ThemeBeans <hello@themebeans.com>
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU Public License
*/
get_header();
echo "
<style>
@import url('https://fonts.googleapis.com/css?family=Open+Sans:700');
#name{
padding-top: 0.1em;
padding-bottom: 0.1em;
padding-left: 0.2em;
color:#fff;
line-height: 1.8em;
font-family: 'Open Sans';
letter-spacing: .5em;
font-size:2.5em;
text-align: center;
}
#name span{
padding-left:0.2em;
background-color: rgba(255,238,88, 0.8);
}
#label{
font-family: 'Open Sans';
letter-spacing: 0.5em;
font-size: 1em;
text-align:center;
}
.center {
width: 100%;
margin: 0 auto;
top: 40%;
position: absolute;
display: block;
}
.centered{
position: relative;
text-align:center;
background-image: url('http://67.207.88.196/f/image.png');
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 50%;
background-clip: padding-box;
}
#callout{
border-style: solid;
border-width: 5px;
position:absolute;
top: 100%;
right: ;
}
#callout h1{
padding: .4em;
}
#hide{
opacity:0;
}
/*
<div id='callout'><h1>Designer</h1></div>
*/
</style>
<div class='centered'>
<img src='http://67.207.88.196/f/image.png' width='60%' id='hide'>
<div class='center'>
<h1 id='name'><span>ROBERT HOSKING</span></h1>
</div>
</div>
";
get_footer();