diff --git a/content/post/hugo_new_test7.md b/content/post/hugo_new_test7.md index 43d4564d87ef223af39819534a2ba39581874a17..15c516fb5001b144dba2336930d2102d271359f0 100644 --- a/content/post/hugo_new_test7.md +++ b/content/post/hugo_new_test7.md @@ -3,7 +3,7 @@ title = "Hugo_new_test7" date = 2019-07-19T12:29:29+09:00 tags = ["Seminar","Conference"] image = "img/topics/CNS_Guidance_poster_2019.png" -draft = false +draft = true mkbanner = true weight = 1 showonlyimage = true diff --git a/content/research/accelerator.md b/content/research/accelerator.md index 83ab112aa37723a88808725401fbbbb803c3c613..15630e5c207c443a87bf4189e0188d637641a016 100644 --- a/content/research/accelerator.md +++ b/content/research/accelerator.md @@ -1,7 +1,7 @@ +++ title = "Accelerator" date = 2019-07-22T11:04:52+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_7a_Accelerator_Development.png" +image = "img/top_figures/hyperECR.jpg" draft = false mktile = true weight = "7" diff --git a/content/research/cosmos.md b/content/research/cosmos.md index 2676730b048d7e7ecbad24d3269a7c79eb226f7e..f0fcf519770f709b5119f25edd65590c2c3405e2 100644 --- a/content/research/cosmos.md +++ b/content/research/cosmos.md @@ -1,7 +1,7 @@ +++ title = "Cosmos" date = 2019-07-22T11:03:34+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_1a_Nuclear_Astrophysics.png" +image = "img/top_figures/CRIB.jpg" draft = false mktile = true weight = "1" diff --git a/content/research/donuts.md b/content/research/donuts.md index dfabfd3a15b94dce5f0118732f6fadea10e3b622..33924f62d38bb990fab2ec8aceaca3fd7f274aab 100644 --- a/content/research/donuts.md +++ b/content/research/donuts.md @@ -1,7 +1,7 @@ +++ title = "Donuts" date = 2019-07-22T11:03:55+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_2j_Dynamics_of_Nuclear_Quantum_System.png" +image = "img/top_figures/DONUTS.jpg" draft = false mktile = true weight = "2" diff --git a/content/research/edm.md b/content/research/edm.md index cd0116c94273713bcc1032387c5b958cd58a5ada..c8eaa3bf90aac205d8f406ed846ad4b9550fc9ed 100644 --- a/content/research/edm.md +++ b/content/research/edm.md @@ -1,7 +1,7 @@ +++ title = "Edm" date = 2019-07-22T11:04:42+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_6a_Fundamental_Symmetry.png" +image = "img/top_figures/Fundamental_Symmetry.jpg" draft = false mktile = true weight = "6" diff --git a/content/research/enr.md b/content/research/enr.md index e874149b6153754c832d2f96fcbdd428d8c2418e..c6ff31c01821e0787da079da1a98ec3fb1424056 100644 --- a/content/research/enr.md +++ b/content/research/enr.md @@ -1,7 +1,7 @@ +++ title = "Enr" date = 2019-07-22T11:04:28+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_4a_Exotic_Nuclear_Reaction.png" +image = "img/top_figures/ENR.jpg" draft = false mktile = true weight = "4" diff --git a/content/research/nuspeq.md b/content/research/nuspeq.md index 06ae0656c6e28bb7adf133a8ab0fc46fafe57d7a..75530ac8fe65f7ce8596ab78bd77ac4306dffed6 100644 --- a/content/research/nuspeq.md +++ b/content/research/nuspeq.md @@ -1,7 +1,7 @@ +++ title = "Nuspeq" date = 2019-07-22T11:04:36+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_5c_Nuclear_Structure_in_Extreme_Quantum_System.png" +image = "img/top_figures/NUSPEQ.jpg" draft = false mktile = true weight = "5" diff --git a/content/research/quark.md b/content/research/quark.md index a4316154784b011c239e72295b4079a06ce444c1..a59098a87c500bc8af4717bbd24511752b7327b9 100644 --- a/content/research/quark.md +++ b/content/research/quark.md @@ -1,7 +1,7 @@ +++ title = "Quark" date = 2019-07-22T11:04:13+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_3a_Quark_Physics.png" +image = "img/top_figures/Quark.jpg" draft = false mktile = true weight = "3" diff --git a/content/research/sharaq.md b/content/research/sharaq.md index c3b5481c5d3b0746a1344a0f4229900c544867c1..8a2016ca52a792a95d0587f334d4a96510bde65f 100644 --- a/content/research/sharaq.md +++ b/content/research/sharaq.md @@ -1,7 +1,7 @@ +++ title = "Sharaq" date = 2019-07-22T11:04:59+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_8a_OEDO_SHARAQ_Project.png" +image = "img/top_figures/OEDOa.jpg" mktile = true draft = false weight = "8" diff --git a/content/research/theory.md b/content/research/theory.md index e8375fdfb42fc49c82fed9b41d273e1a51104f13..0b01ec240f009e9100fd8d4a860b890e7c53e04c 100644 --- a/content/research/theory.md +++ b/content/research/theory.md @@ -1,7 +1,7 @@ +++ title = "Theory" date = 2019-07-22T11:05:08+09:00 -image = "http://www.cns.s.u-tokyo.ac.jp/image/group_logo/tiles/ja_9a_Nuclear_Theory.png" +image = "img/top_figures/Theory.png" mktile = true draft = false weight = "9" diff --git a/themes/cns_hp_theme/layouts/index.html b/themes/cns_hp_theme/layouts/index.html index af78e227bd0e8d8b68e14e334f84ccd02a406f4c..b22d6d1a97d7f6bb2fa9fe8b07215fe57118f399 100644 --- a/themes/cns_hp_theme/layouts/index.html +++ b/themes/cns_hp_theme/layouts/index.html @@ -11,59 +11,6 @@ {{ partial "main_menu.html" . }} -
- - -
- -
-

研究室一覧

-
    - {{ range.Pages }} - {{ if (.Param "mktile") }} -
  1. {{ .Title }} - {{ end }} - {{ end }} -
-
- - - - @@ -73,8 +20,4 @@ {{ partial "footer.html" . }} -{{/* - Here is a sample page that I made. - {{ with .Site.GetPage "/post/test5.md" }}{{ .Title }}{{ end }} - {{< ref "/post/test5.md" >}} -*/}} + diff --git a/themes/cns_hp_theme/layouts/partials/main_menu.html b/themes/cns_hp_theme/layouts/partials/main_menu.html index 691cfb77e7b6ba27ed0089eb8d3f11f66a80e5ff..58a5ee79a3f3b44442617204331cf1a3468de62a 100644 --- a/themes/cns_hp_theme/layouts/partials/main_menu.html +++ b/themes/cns_hp_theme/layouts/partials/main_menu.html @@ -23,7 +23,7 @@ {{ range $.Site.RegularPages }} {{ if (.Param "mktile") }} {{ if eq .Weight $w }} - {{
{{ $nm }}
+ {{
{{ $nm }}
{{ end }} {{ end }} {{ end }} diff --git a/themes/cns_hp_theme/static/css/main_menu.css b/themes/cns_hp_theme/static/css/main_menu.css index 5deacc8fa544ae51a821e12936b9177f6b89ab73..35b9107e4cafa53633dae6a065609035b1dfb8bc 100644 --- a/themes/cns_hp_theme/static/css/main_menu.css +++ b/themes/cns_hp_theme/static/css/main_menu.css @@ -61,28 +61,32 @@ /* for the lab section */ -.tile { +.labtile { position: relative; + float: left; + width: 180px; + height: 180px; + margin-right: 10px; } -.tile img { - width: 100%; - height: auto; - margin: 2px; - max-width: 210px; +.labtile img { + width: 180px; + height: 120px; + object-fit: cover; + margin-bottom: 50px; background: #f7f7f7; - box-shadow: 0px 2px 2px rgba(0,0,0,0.29); + box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.29); } -.tile div.caption { +.labtile div.caption { position: absolute; - width: 97%; - height: 240%; - bottom: 10px; - left: 3px; + width: 100%; + height: 33%; + top: 125px; + left: 0px; color: #000; background: #fff; - font-size: 130%; + font-size: 20px; text-align: center; }