style.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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. width: 100%;
  214. height: 100%;
  215. }
  216. #details {
  217. }
  218. #details img {
  219. margin: 5%;
  220. width: 90%;
  221. }
  222. #subheader span,
  223. #subheader select,
  224. #subheader img {
  225. vertical-align: middle;
  226. }
  227. #subheader img {
  228. width : 30px;
  229. }
  230. #subheader select {
  231. margin: 0 10px 0 10px;
  232. }
  233. #image-text {
  234. margin: 0 30px 0 30px;
  235. font-family: 'Quicksand';
  236. }
  237. #image-container {
  238. margin: 30px 0 30px 0;
  239. }
  240. #footer {
  241. text-align: center;
  242. margin-bottom: 10px;
  243. color: #aaa;
  244. font-size: 12px;
  245. }
  246. #slider-left,
  247. #slider-right,
  248. #slider-center {
  249. margin-top: 10px;
  250. margin-bottom: 10px;
  251. margin-left: 5%;
  252. margin-right: 5%;
  253. display: inline-block;
  254. width: 50%;
  255. }
  256. #text-block {
  257. margin-top: 30px;
  258. }
  259. #text-desc span {
  260. color:#72bcd4;
  261. font-weight:bold;
  262. font-size: 20px;
  263. margin-right: 10px;
  264. }
  265. #text-desc i {
  266. font-style: italic;
  267. }
  268. #details span {
  269. color:#666;
  270. font-weight:bold;
  271. font-size: 20px;
  272. }
  273. #details p {
  274. margin: 15px 0 0 15px;
  275. }
  276. #download {
  277. background-color: white;
  278. transition: background-color 0.5s ease;
  279. }
  280. #download:hover {
  281. background-color: #ddd;
  282. }
  283. .target {
  284. width: auto;
  285. }
  286. #top-left,
  287. #top-right,
  288. #left-left,
  289. #left-right,
  290. #front-left,
  291. #front-right {
  292. background-color: white;
  293. transition: background-color 0.5s ease;
  294. }
  295. #top-left:hover,
  296. #top-right:hover,
  297. #left-left:hover,
  298. #left-right:hover,
  299. #front-left:hover,
  300. #front-right:hover {
  301. background-color: #ddd;
  302. }
  303. .slice-count {
  304. visibility: hidden;
  305. }
  306. #img-front { cursor:zoom-in;}
  307. #img-front:-webkit-full-screen { cursor:zoom-out; width: auto; }
  308. #img-front:-moz-full-screen { cursor:zoom-out; width: auto; }
  309. #img-front:-ms-fullscreen { cursor:zoom-out; width: auto; }
  310. #img-front:fullscreen { cursor:zoom-out; width: auto; }
  311. #img-top { cursor:zoom-in;}
  312. #img-top:-webkit-full-screen { cursor:zoom-out; width: auto; }
  313. #img-top:-moz-full-screen { cursor:zoom-out; width: auto; }
  314. #img-top:-ms-fullscreen { cursor:zoom-out; width: auto; }
  315. #img-top:fullscreen { cursor:zoom-out; width: auto; }
  316. #placeholder-left { cursor:zoom-in;}
  317. #placeholder-left:-webkit-full-screen { cursor:zoom-out; width: auto; }
  318. #placeholder-left:-moz-full-screen { cursor:zoom-out; width: auto; }
  319. #placeholder-left:-ms-fullscreen { cursor:zoom-out; width: auto; }
  320. #placeholder-left:fullscreen { cursor:zoom-out; width: auto; }
  321. #test {
  322. position: absolute;
  323. top: 10px;
  324. right: 10px;
  325. border: 1px solid red;
  326. display: block;
  327. background: #FFF;
  328. z-index: 2147483647;
  329. }