website: remove beta indication

This commit is contained in:
Changkun Ou
2019-07-19 18:32:36 +02:00
parent 130c6f97a2
commit 4615e1fc6b
4 changed files with 2 additions and 22 deletions

View File

@@ -2,10 +2,10 @@
<a id="logo" href="<%- url_for("/modern-cpp/") %>"> <a id="logo" href="<%- url_for("/modern-cpp/") %>">
<% if (page.type == 'book-en-us') { %> <% if (page.type == 'book-en-us') { %>
<img src="<%- url_for("/modern-cpp/assets/cover-2nd-en.png") %>"> <img src="<%- url_for("/modern-cpp/assets/cover-2nd-en.png") %>">
<span>C++ 11/14/17/20 On the Fly</span><sup class="beta">beta</sup> <span>C++ 11/14/17/20 On the Fly</span>
<% } else {%> <% } else {%>
<img src="<%- url_for("/modern-cpp/assets/cover-2nd.png") %>"> <img src="<%- url_for("/modern-cpp/assets/cover-2nd.png") %>">
<span>高速上手 C++ 11/14/17/20</span><sup class="beta">beta</sup> <span>高速上手 C++ 11/14/17/20</span>
<% } %> <% } %>
</a> </a>
<ul id="nav"> <ul id="nav">

View File

@@ -180,9 +180,3 @@ a.button:hover
border-left: 4px solid transparent border-left: 4px solid transparent
border-right: 4px solid transparent border-right: 4px solid transparent
border-top: 5px solid #fff border-top: 5px solid #fff
sup.beta.beta
font-size: .6em
margin-left: .7em
text-transform: uppercase
opacity: .6

View File

@@ -13,13 +13,6 @@ body
img img
display: none display: none
.beta
font-size: 12px;
color: #F7BA2F;
font-family: Roboto, sans-serif;
font-weight: bold;
font-style: oblique;
.sidebar .sidebar
display: none display: none

View File

@@ -7,13 +7,6 @@
box-shadow: 0 0 1px rgba(0,0,0,.25) box-shadow: 0 0 1px rgba(0,0,0,.25)
transition: background-color .3s ease-in-out transition: background-color .3s ease-in-out
.beta
font-size: 12px;
color: #F7BA2F;
font-family: Roboto, sans-serif;
font-weight: bold;
font-style: oblique;
.image-caption .image-caption
display: table; display: table;
margin: 0 auto; margin: 0 auto;