-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwiki2tpl.phtm
98 lines (93 loc) · 2.1 KB
/
wiki2tpl.phtm
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
<?PHP /* 99 Lines */
/* http://myacquisitions.blogspot.com/2013/03/googles-favorite-colors-by-hex-codes.html */
?>
<title><?=$headline?></title>
<style>
.wiki {
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.01), 0 2px 3px 0 rgba(0,0,0,.1);
box-shadow: 0 0 0 1px rgba(0,0,0,.01), 0 2px 3px 0 rgba(0,0,0,.1);
padding: 2.5rem 2.5rem 2.4rem;
border: 1px solid #CCCCCC; /* COLOR */
max-width: 400px;
}
.wiki h1 {
-webkit-font-smoothing: antialiased;
text-shadow: 0 0 1px rgba(0,0,0,.1);
font-family: Arial,sans-serif;
letter-spacing: -.08rem;
font-weight: normal;
font-size: 1.7rem;
line-height: 1.2;
color: #222222; /* COLOR */
padding: 0;
margin: 0;
}
.wiki p {
-webkit-font-smoothing: antialiased;
text-shadow: 0 0 1px rgba(0,0,0,.1);
font-family: Arial,sans-serif;
margin: 1rem 0 0;
color: #222222; /* COLOR */
padding: 0;
}
.wiki ul li {
-webkit-font-smoothing: antialiased;
text-shadow: 0 0 1px rgba(0,0,0,.1);
font-family: Arial,sans-serif;
color: #222222; /* COLOR */
padding: 0;
}
.wiki .hint {
-webkit-font-smoothing: antialiased;
text-shadow: 0 0 1px rgba(0,0,0,.1);
color: #DD4B39 ; /* COLOR */
}
.wiki hr {
-webkit-box-sizing: content-box;
box-sizing: content-box;
border-width: 0;
border-top: 1px solid WhiteSmoke;
margin: 1rem 0;
height: 0;
}
.wiki img {
margin: 0 0 .5rem 1rem;
max-height: 200px;
max-width: 200px;
float: right;
}
.wiki p small {
font-size: small;
}
.wiki a {
color: #1155cc; /* COLOR */
}
.wiki a:link {
color: #1155cc; /* COLOR */
}
.wiki a:hover {
text-decoration: none;
}
.wiki a:active {
color: #33aaff; /* COLOR */
}
.wiki a:visited {
color: #6611CC; /* COLOR */
}
.wiki a:focus {
outline: 0;
}
</style>
<div class="wiki">
<h1><?=$headline?></h1>
<p><?=$description?></p>
<?=$footer!=''?'<hr>':''?>
<?=$image?>
<p><?=$text?></p>
<hr style="clear:both;">
<p>
<small>
<?=$footer?> <a target="_blank" href="<?=$url?>">Wikipedia</a>
</small>
</p>
</div>