style.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2. v2.0 | 20110126
  3. License: none (public domain)
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header, hgroup,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 100%;
  22. font: inherit;
  23. vertical-align: baseline;
  24. }
  25. /* HTML5 display-role reset for older browsers */
  26. article, aside, details, figcaption, figure,
  27. footer, header, hgroup, menu, nav, section {
  28. display: block;
  29. }
  30. body {
  31. line-height: 1;
  32. }
  33. ol, ul {
  34. list-style: none;
  35. }
  36. blockquote, q {
  37. quotes: none;
  38. }
  39. blockquote:before, blockquote:after,
  40. q:before, q:after {
  41. content: '';
  42. content: none;
  43. }
  44. table {
  45. border-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. .clearfix:after {
  49. content:" ";
  50. display:table;
  51. clear:both;
  52. }
  53. select {
  54. border: 1px solid #111;
  55. background: transparent;
  56. width: 150px;
  57. padding: 5px 35px 5px 5px;
  58. font-size: 16px;
  59. border: 1px solid #ccc;
  60. height: 34px;
  61. -webkit-appearance: none;
  62. -moz-appearance: none;
  63. appearance: none;
  64. /*background: url(http://www.stackoverflow.com/favicon.ico) 96% / 15% no-repeat #eee;*/
  65. }
  66. /* CAUTION: IE hackery ahead */
  67. select::-ms-expand {
  68. display: none; /* remove default arrow in IE 10 and 11 */
  69. }
  70. /* target Internet Explorer 9 to undo the custom arrow */
  71. @media screen and (min-width:0\0) {
  72. select {
  73. background:none\9;
  74. padding: 5px\9;
  75. }
  76. }
  77. /* Main CSS Styling */
  78. @font-face {
  79. font-family: 'quicksandbold';
  80. src: url('quicksand-bold-webfont.woff2') format('woff2'),
  81. url('quicksand-bold-webfont.woff') format('woff');
  82. font-weight: normal;
  83. font-style: normal;
  84. }
  85. @font-face {
  86. font-family: 'quicksandmedium';
  87. src: url('quicksand-medium-webfont.woff2') format('woff2'),
  88. url('quicksand-medium-webfont.woff') format('woff');
  89. font-weight: normal;
  90. font-style: normal;
  91. }
  92. @font-face {
  93. font-family: 'quicksandregular';
  94. src: url('quicksand-regular-webfont.woff2') format('woff2'),
  95. url('quicksand-regular-webfont.woff') format('woff');
  96. font-weight: normal;
  97. font-style: normal;
  98. }
  99. @font-face {
  100. font-family: 'quicksandlight';
  101. src: url('quicksand-light-webfont.woff2') format('woff2'),
  102. url('quicksand-light-webfont.woff') format('woff');
  103. font-weight: normal;
  104. font-style: normal;
  105. }
  106. #header {
  107. margin-top: 15px;
  108. }
  109. #header-text {
  110. float: left;
  111. text-align: center;
  112. vertical-align: middle;
  113. line-height: 48px;
  114. font-family: 'quicksandregular';
  115. font-size: 1.5em;
  116. margin-left: 5%;
  117. color: #666;
  118. }
  119. #header-icon {
  120. text-align: right;
  121. }
  122. #header-icon div {
  123. display: inline-block;
  124. margin-right: 5%;
  125. }
  126. hr {
  127. border: 0;
  128. height: 2px;
  129. background-image: linear-gradient(
  130. to right,
  131. rgba(0, 0, 0, 0),
  132. rgba(0, 0, 0, 0.75),
  133. rgba(0, 0, 0, 0));
  134. }
  135. #title {
  136. margin: 30px;
  137. font-family: 'quicksandlight';
  138. font-size: 36px;
  139. font-weight: bold;
  140. line-height: 48px;
  141. }
  142. #authors {
  143. margin: 0 30px 0 30px;
  144. font-family: 'quicksandregular';
  145. font-weight: bold;
  146. font-size: 15px;
  147. color: #a8a8a8;
  148. }
  149. #institute {
  150. padding: 30px 30px 0 30px;
  151. font-size: 15px;
  152. font-family: 'quicksandregular';
  153. font-weight: bold;
  154. color: #696969;
  155. }
  156. #subheader {
  157. padding: 30px;
  158. text-align: center;
  159. vertical-align: middle;
  160. font-size: 25px;
  161. }
  162. #subheader input {
  163. vertical-align: middle;
  164. }
  165. #img-left{
  166. text-align: center;
  167. float: left;
  168. width: 30%;
  169. padding: 5px;
  170. margin-left: 30px;
  171. }
  172. #img-center{
  173. text-align: center;
  174. margin: 0 auto;
  175. width: 30%;
  176. padding: 5px;
  177. }
  178. #img-right{
  179. text-align: center;
  180. float: right;
  181. width: 30%;
  182. padding: 5px;
  183. margin-right: 30px;
  184. }
  185. .icon {
  186. width: 3%;
  187. height: 3%;
  188. }
  189. .cont img, .cont p {
  190. vertical-align: middle;
  191. }
  192. #text-desc {
  193. float: left;
  194. margin-top: 30px;
  195. font-family: 'Quicksand';
  196. font-size: 15px;
  197. width: 100%;
  198. text-align: left;
  199. }
  200. #details {
  201. float: left;
  202. background-color: #ededed;
  203. border: 1px solid #bdbdbd;
  204. width: 32%;
  205. height: 300px;
  206. border-radius: 10px;
  207. }
  208. .photowrapper #img-front,
  209. .photowrapper #img-top,
  210. .photowrapper #placeholder-left,
  211. .photowrapper #img-preview {
  212. margin-top: 15px;
  213. }
  214. #details {
  215. }
  216. #details img {
  217. margin: 5%;
  218. width: 90%;
  219. }
  220. #subheader span,
  221. #subheader select,
  222. #subheader img {
  223. vertical-align: middle;
  224. }
  225. #subheader img {
  226. width : 30px;
  227. }
  228. #subheader select {
  229. margin: 0 10px 0 10px;
  230. }
  231. #image-text {
  232. margin: 0 30px 0 30px;
  233. font-family: 'Quicksand';
  234. }
  235. #image-container {
  236. margin: 30px 0 30px 0;
  237. }
  238. #footer {
  239. text-align: center;
  240. margin-bottom: 10px;
  241. color: #aaa;
  242. font-size: 12px;
  243. }
  244. #slider-left,
  245. #slider-right,
  246. #slider-center {
  247. margin-top: 10px;
  248. margin-bottom: 10px;
  249. margin-left: 5%;
  250. margin-right: 5%;
  251. display: inline-block;
  252. width: 50%;
  253. }
  254. #text-block {
  255. margin-top: 30px;
  256. }
  257. #text-desc span {
  258. color:#72bcd4;
  259. font-weight:bold;
  260. font-size: 20px;
  261. margin-right: 10px;
  262. }
  263. #text-desc i {
  264. font-style: italic;
  265. }
  266. #details span {
  267. color:#666;
  268. font-weight:bold;
  269. font-size: 20px;
  270. }
  271. #details p {
  272. margin: 15px 0 0 15px;
  273. }
  274. #download {
  275. background-color: white;
  276. transition: background-color 0.5s ease;
  277. }
  278. #download:hover {
  279. background-color: #ddd;
  280. }
  281. .target {
  282. width: auto;
  283. }
  284. #top-left,
  285. #top-right,
  286. #left-left,
  287. #left-right,
  288. #front-left,
  289. #front-right {
  290. background-color: white;
  291. transition: background-color 0.5s ease;
  292. }
  293. #top-left:hover,
  294. #top-right:hover,
  295. #left-left:hover,
  296. #left-right:hover,
  297. #front-left:hover,
  298. #front-right:hover {
  299. background-color: #ddd;
  300. }
  301. .slice-count {
  302. visibility: hidden;
  303. }
  304. #img-front { cursor:zoom-in;}
  305. #img-front:-webkit-full-screen { cursor:zoom-out; width: auto; }
  306. #img-front:-moz-full-screen { cursor:zoom-out; width: auto; }
  307. #img-front:-ms-fullscreen { cursor:zoom-out; width: auto; }
  308. #img-front:fullscreen { cursor:zoom-out; width: auto; }
  309. #img-top { cursor:zoom-in;}
  310. #img-top:-webkit-full-screen { cursor:zoom-out; width: auto; }
  311. #img-top:-moz-full-screen { cursor:zoom-out; width: auto; }
  312. #img-top:-ms-fullscreen { cursor:zoom-out; width: auto; }
  313. #img-top:fullscreen { cursor:zoom-out; width: auto; }
  314. #placeholder-left { cursor:zoom-in;}
  315. #placeholder-left:-webkit-full-screen { cursor:zoom-out; width: auto; }
  316. #placeholder-left:-moz-full-screen { cursor:zoom-out; width: auto; }
  317. #placeholder-left:-ms-fullscreen { cursor:zoom-out; width: auto; }
  318. #placeholder-left:fullscreen { cursor:zoom-out; width: auto; }