From 0d8947be0f2d239bb5e8c47a564a89b3622fa352 Mon Sep 17 00:00:00 2001 From: Chen Yang Date: Mon, 9 Sep 2019 20:39:55 +0800 Subject: [PATCH] Added banner. --- index.html | 23 +++++++++++++++++------ style.css | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index b8c2e5c..25e6699 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + @@ -7,6 +7,17 @@ + + + +
+


+
+

Yang, Chen

@@ -16,19 +27,19 @@ Faculty of Engineering
The Chinese University of Hong Kong
-

Postal Address

+

Postal Address

Room 511A, William M.W. Mong Engineering Building
The Chinese University of Hong Kong
Shatin, N.T., Hong Kong -

Contact Details

+

Contact Details

Email: cyang at se.cuhk.edu.hk
Phone: +852 3943-8322
-

Teaching [Blackboard]

+

Teaching [Blackboard]

@@ -43,7 +54,7 @@ Phone: +852 3943-8322
-

Working Papers

+

Working Papers

  1. Designing Stable Coins (with Yizhou Cao, Min Dai, Steven Kou and Lewei Li).
    submitted, 2018.
  2. @@ -59,7 +70,7 @@ Phone: +852 3943-8322
-

Publications

+

Publications

  1. Optimal Tax-timing with Asymmetric Long-term/short-term Capital Gains Tax (with Min Dai, Hong Liu and Yifei Zhong).
    The Review of Financial Studies 28.9:2687-2721, 2015. [Article]
  2. diff --git a/style.css b/style.css index 84a9499..8f4cb09 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,7 @@ body { font-family: "Palatino", "Georgia", Times, serif; background-color: rgb(255, 255, 250); + line-height: 1.5; } th{ @@ -12,3 +13,36 @@ table#table1 { margin-left:35; margin-right:auto; } + +/* The navigation bar */ +.navbar { + opacity: 0.8; + overflow: hidden; + background-color: #333; + position: fixed; /* Set the navbar to fixed position */ + top: 0; /* Position the navbar at the top of the page */ + left: 0; + width: 100%; /* Full width */ + font-weight: bold; +} + +/* Links inside the navbar */ +.navbar a { + float: left; + display: block; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; +} + +/* Change background on mouse-over */ +.navbar a:hover { + background: #ddd; + color: black; +} + +/* Main content */ +.main { + margin-top: 30px; /* Add a top margin to avoid content overlay */ +}