-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
190 lines (160 loc) · 3.95 KB
/
header.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?php function genheader($title, $date) { ?>
<html>
<head>
<meta charset="UTF-8">
<!-- <link rel="alternate" type="application/rss+xml" title="put your RSS title here" href="/rss.xml" /> -->
<style type="text/css">
@font-face {
font-family: 'fabfont';
/* font-display: optional;*/
src: url('/font/DejaVuSansMono.woff2');
}
* {
font-size: 16px;
}
html {
font-family: fabfont;
max-width: 900px; /* For Desktop PC (see @media for Tablets/Phones) */
padding-left: 2%;
padding-right: 3%;
margin: 0 auto;
background: #F5F5F0;
}
a {
color: black;
font-weight: bold;
}
img {
border: none;
}
p {
margin-top: 0px;
text-align: justify;
}
sup {
vertical-align: 0.3em;
font-size: 0.65em;
}
pre {
font-family: fabfont;
background-color: white;
border: 1px solid Black;
padding-left: 2%;
padding-top: 1ch;
padding-bottom: 1ch;
/* Only take care of X overflow since this is the only part that can be too wide.
The Y axis will never overflow.
*/
overflow: hidden;
}
div.heading {
font-weight: bold;
text-transform: uppercase;
margin-top: 4ch;
}
/** {
font-size: 16px;
}*/
@media (max-width: 500px) { /* For small screen decices */
* {
font-size: 12px;
}
}
.title {
text-decoration: none;
}
img.pixel, canvas.pixel {
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
}
blockquote {
background-color: #f3f3f3;
border: dashed 1px grey;
width: 97.5%;
font-style: italic;
text-align: justify;
padding: 1ch;
padding-top: 2ch;
padding-bottom: 2ch;
margin : 0ch;
margin-bottom: 2ch;
margin-top: 0ch;
}
blockquote div {
text-transform: none;
text-align: right;
width: 100%;
}
.note {
position: relative;
background-color: #ffd700;
padding: 1em;
margin: 1em 0 2em;
border-radius: 5px;
}
code {
/*font-size: 110%;*/
font-weight: bold;
background-color: #e1e1e1;
border-radius: 0.5ch;
padding-left: 0.3ch;
padding-right: 0.3ch;
}
/* GENERIC TABLE */
table {
border-collapse: collapse;
}
table td, th {
border:1px solid #ccc;
}
/* REFERENCES TABLE - which stands inside the footer*/
table.references td {
border:none;
}
table.references th {
border:none;
}
/* TABELLA WALK MATRIX */
table.walk-matrix {
font-size: 0.8em;
width: 70%;
margin:auto;
border-collapse: collapse;
}
/*
table.walk-matrix th {
background-color: #ccc;
text-align: center;
padding: 5px;
border:1px solid #fff;
}
*/
table.walk-matrix td {
width: 8%;
text-align: center;
padding: 5px;
border:1px solid #ccc;
}
table.walk-matrix td.gray1{
background-color: #ddd;
}
table.walk-matrix td.gray2{
background-color: #eee;
}
</style>
<title><?php echo $title;?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=12.0, minimum-scale=1.0, user-scalable=yes">
</head>
<body><br><center>
<div style="display: inline-block; vertical-align:middle;">
<a href="/" class="title"><b>NICOLA ARIUTTI'S WEBSITE</b><br>
</a><hr/><div style="text-align: justify;display: inline-block; width: 100%;">
<!--<a class="title" href="/about">ABOUT</a> <a class="title" href="/contact/index.html">EMAIL</a> <a class="title" href="../rss.xml">RSS</a> <a class="title" href="put here your paypal link">DONATE</a></div></div>-->
<a class="title" href="/about">ABOUT</a> <a class="title" href="/contact/index.html">CONTACT</a> </div></div>
</center><br><br>
<div style="margin-bottom: 2ch;text-transform: none;">
<?php echo $date;?>
</div>
<?php h($title);?>
<?php } ?>