[Org] Repository for my personal website.
Renaming #home to .button, consistency
Changed files
resources/css.org
@@ -50,7 +50,7 @@
50
50
51
51
#+BEGIN_SRC css
52
52
body {
53
Removed:
background: linear-gradient(0deg, white 20%, gray 70%);
53
Added:
background: linear-gradient(0deg, white 20%, slategray 70%);
54
54
background-attachment: fixed;
55
55
margin: 0;
56
56
}
@@ -86,11 +86,11 @@
86
86
.timestamp { background: var(--topnav); }
87
87
.title { background: var(--topnav); }
88
88
#topnav { background: var(--topnav); }
89
Removed:
#home { background: var(--topnav-menu); }
89
Added:
.button { background: var(--topnav-menu); }
90
90
#topnav #hamburger { background: var(--topnav-menu); }
91
91
#topnav #hamburger:hover { background: white; }
92
92
#topnav #hamburger:hover .line { background: var(--topnav); }
93
Removed:
#topnav a:hover { background: white; }
93
Added:
#topnav .button:hover { background: white; }
94
94
#shadow { background: black; }
95
95
#+END_SRC
96
96
@@ -103,10 +103,10 @@
103
103
.timestamp { color: white; }
104
104
.title { color: white; }
105
105
.subtitle { color: lightgray; }
106
Removed:
#home { color: white; }
106
Added:
.button { color: white; }
107
107
#topnav #hamburger { color: white; }
108
108
#topnav #hamburger:hover { color: var(--topnav-menu); }
109
Removed:
#topnav a:hover { color: var(--topnav-menu); }
109
Added:
#topnav .button:hover { color: var(--topnav-menu); }
110
110
#topnav ul a { color: lightgray; }
111
111
#+END_SRC
112
112
@@ -427,7 +427,7 @@
427
427
margin: 0.5em;
428
428
padding: 0.5em 0;
429
429
}
430
Removed:
#buttons a {
430
Added:
.button {
431
431
text-decoration: none;
432
432
border-radius: 0 8px 8px 0;
433
433
padding: 0.5em;
@@ -557,11 +557,11 @@
557
557
position: absolute;
558
558
flex-direction: column;
559
559
background: var(--topnav);
560
Removed:
height: calc(100vh - 4em);
560
Added:
height: calc(100vh - 3.5em);
561
561
top: 3.5em;
562
562
padding: 0 0.5em;
563
563
justify-content: normal;
564
Removed:
overflow-x: scroll;
564
Added:
overflow: auto;
565
565
}
566
566
#topnav ul a { display: block; }
567
567
resources/topnav.html
@@ -1,7 +1,7 @@
1
1
<nav id="topnav">
2
2
<div id="buttons">
3
Removed:
<a href="index.html" id="home">Home</a>
4
Removed:
<a href="#table-of-contents" id="home">Contents</a>
3
Added:
<a href="http://mlnp.fr/index.html" class="button">Home</a>
4
Added:
<a href="#table-of-contents" class="button">Contents</a>
5
5
<!-- <a href="#table-of-contents" id="home">ToC</a> -->
6
6
<!-- <a href="#table-of-contents" id="home">ToC</a> -->
7
7
</div>
@@ -13,12 +13,12 @@
13
13
</label>
14
14
<label for="menu-toggle" id="shadow"></label>
15
15
<ul class="org-ul">
16
Removed:
<li><a href="index.html">Home</a></li>
17
Removed:
<li><a href="about.html">About</a></li>
16
Added:
<li><a href="http://mlnp.fr/index.html">Home</a></li>
17
Added:
<li><a href="http://mlnp.fr/about.html">About</a></li>
18
18
<li><a href="http://blog.mlnp.fr/index.html">Blog</a></li>
19
19
<li><a href="http://wiki.mlnp.fr/index.html">Wiki</a></li>
20
Removed:
<li><a href="cv.html">Curriculum Vitae</a></li>
21
Removed:
<li><a href="publish-mlnp.html">Publish</a></li>
22
Removed:
<li><a href="about.html#contact">Contact</a></li>
20
Added:
<li><a href="http://mlnp.fr/cv.html">Curriculum Vitae</a></li>
21
Added:
<li><a href="http://mlnp.fr/publish-mlnp.html">Publish</a></li>
22
Added:
<li><a href="http://mlnp.fr/about.html#contact">Contact</a></li>
23
23
</ul>
24
24
</nav>