From 4b0ca55eb79e963523eb6c8197825e9e8ae904e2 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 4 May 2015 15:53:29 +0800 Subject: First commit, version 0.2.7 --- public/css/extra.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 public/css/extra.css (limited to 'public/css/extra.css') diff --git a/public/css/extra.css b/public/css/extra.css new file mode 100644 index 00000000..8b7eb884 --- /dev/null +++ b/public/css/extra.css @@ -0,0 +1,47 @@ +/* for extra features should include this */ + +.vimeo, +.youtube { + cursor: pointer; + display: table; + max-width: 540px; + text-align: center; + background-position: center center; + background-repeat: no-repeat; + background-size: contain; + background-color: black; +} +.vimeo .icon, +.youtube .icon { + opacity: 0.5; + display: table-cell; + vertical-align: middle; + height: inherit; + margin: 0 auto; +} +.vimeo:hover .icon, +.youtube:hover .icon { + opacity: 0.6; +} +h1:hover .header-link, +h2:hover .header-link, +h3:hover .header-link, +h4:hover .header-link, +h5:hover .header-link, +h6:hover .header-link { + opacity: 1; + -webkit-transition: opacity 0.2s ease-in-out 0.1s; + -moz-transition: opacity 0.2s ease-in-out 0.1s; + -o-transition: opacity 0.2s ease-in-out 0.1s; + transition: opacity 0.2s ease-in-out 0.1s; +} +.header-link { + position: relative; + left: 0.5em; + opacity: 0; + font-size: 0.8em; + -webkit-transition: opacity 0.2s ease-in-out 0.1s; + -moz-transition: opacity 0.2s ease-in-out 0.1s; + -o-transition: opacity 0.2s ease-in-out 0.1s; + transition: opacity 0.2s ease-in-out 0.1s; +} \ No newline at end of file -- cgit v1.2.3