mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 04:34:40 +03:00
@@ -21,7 +21,8 @@
|
||||
</h1>
|
||||
<h2>第二版</h2>
|
||||
<p>
|
||||
<a class="button white" href="<%- url_for("/modern-cpp/zh-cn/00-preface/") %>">🇨🇳 立即阅读</a>
|
||||
<a class="button white" href="<%- url_for("/modern-cpp/zh-cn/00-preface/") %>">🇨🇳 在线阅读</a>
|
||||
<a class="button download" href="<%- url_for("/modern-cpp/pdf/modern-cpp-tutorial-zh-cn.pdf") %>">🇨🇳 下载</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -38,7 +39,8 @@
|
||||
</h1>
|
||||
<h2>Second Edition</h2>
|
||||
<p>
|
||||
<a class="button white" href="<%- url_for("/modern-cpp/en-us/00-preface/") %>">🇬🇧 Read Now</a>
|
||||
<a class="button white" href="<%- url_for("/modern-cpp/en-us/00-preface/") %>">🇬🇧 Read Online</a>
|
||||
<a class="button download" href="<%- url_for("/modern-cpp/en-us/00-preface/") %>">🇬🇧 Download</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -56,12 +56,16 @@ a.button
|
||||
transition: all .15s ease
|
||||
box-sizing: border-box
|
||||
border: 1px solid lighten($theme, 8%)
|
||||
width: 200px;
|
||||
&.white
|
||||
background-color: #fff
|
||||
color: $theme
|
||||
a.button:hover
|
||||
&.download
|
||||
background-color: $theme
|
||||
color: #fff
|
||||
a.button:hover
|
||||
background-color: $theme
|
||||
color: #fff
|
||||
|
||||
.highlight
|
||||
overflow-x: auto
|
||||
|
||||
Reference in New Issue
Block a user