-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBACKUP2-github-layouthtml
107 lines (106 loc) · 4.07 KB
/
BACKUP2-github-layouthtml
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
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% seo %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
<style>
body {
font-family: 'Consolas', Courier, monospace;
font-size: 12px; /*ajusta fonte*/
}
header h1 a {
font-size: 24px;
}
header {
width: 300px; /* Aumenta a largura do header */
float: left;
position: fixed;
-webkit-font-smoothing: subpixel-antialiased;
padding-right: 20px; /* Adiciona um pouco de espaço à direita */
}
section {
width: calc(100% - 340px); /* Ajusta a largura da seção principal */
float: right;
padding-left: 20px; /* Adiciona um pouco de espaço à esquerda */
}
.wrapper {
width: 1060px; /* Aumenta a largura total do wrapper */
margin: 0 auto;
}
/* Regras responsivas para telas menores */
@media screen and (max-width: 800px) {
.wrapper {
width: auto;
margin: 0;
padding: 15px;
}
header {
float: none;
position: static;
width: auto;
padding: 20px 0;
}
section {
float: none;
position: static;
width: auto;
padding: 20px 0;
border-top: 1px solid #e5e5e5;
}
header img {
max-width: 100%;
}
}
</style>
</head>
<body>
<div class="wrapper">
<header>
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
{% if site.logo %}
<img src="{{site.logo | relative_url}}" alt="Logo" />
{% endif %}
<p>{{ site.description | default: site.github.project_tagline }}</p>
{% if site.github.is_project_page %}
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
{% endif %}
{% if site.github.is_user_page %}
<p class="view"><a href="https://rmayormartins.github.io/">Home</a><br><a href="{{ site.github.owner_url }}">My GitHub Profile </a><br><a href="https://rmayormartins.github.io/contact.html">Contact Me </a></p>
{% endif %}
{% if site.show_downloads %}
<ul>
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
</ul>
{% endif %}
</header>
<section>
{{ content }}
</section>
<footer>
{% if site.github.is_project_page %}
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
<p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
</footer>
</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>