Guest User

Untitled

a guest
Feb 12th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.04 KB | None | 0 0
  1. /* Responsive Diabolik */
  2. /* Responsive Hacks */
  3. img {
  4.     max-width: 100%;
  5.     /* just in case, to force correct aspet ratio */
  6.     height: auto !important;
  7.     width: auto\9; /* ie8 */
  8. }
  9. a img { border: 0px; }
  10. video {
  11.   max-width: 100%;
  12.   /* just in case, to force correct aspet ratio */
  13.   height: auto !important;
  14. }
  15. .video-container {position: relative;padding-bottom: 56.25%;height: 0;overflow: hidden;}
  16. .video-container iframe, .video-container object, .video-container embed {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
  17. .video-container .mejs-video, .video-container .mejs-layer, .video-container video{position: absolute;top: 0;left: 0;width: 100% !important;height: 100% !important;}
  18.  
  19.  
  20. #header #main-menu select{ display:none;}
  21.  
  22. @media only screen and (max-width: 959px) {
  23.  
  24. .shadow_type_1 .shadow_200,
  25. .shadow_type_2 .shadow_200,
  26. .shadow_type_3 .shadow_200,
  27.  
  28. .shadow_type_1 .shadow_280,
  29. .shadow_type_2 .shadow_280,
  30. .shadow_type_3 .shadow_280,
  31.  
  32. .shadow_type_1 .shadow_600,
  33. .shadow_type_2 .shadow_600,
  34. .shadow_type_3 .shadow_600,
  35.  
  36. .shadow_type_1 .shadow_920,
  37. .shadow_type_2 .shadow_920,
  38. .shadow_type_3 .shadow_920{padding:0 0 0 0; margin-bottom:20px;
  39.     /* CSS3 SHADOW */
  40.     -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.5);
  41.        -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.5);
  42.          -o-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.5);
  43.             box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.5);
  44. }
  45.  
  46. }
  47.  
  48.  
  49. @media only screen and (min-width: 768px) and (max-width: 959px) {
  50. /* Start */
  51. h2.nice_title {
  52. font-size: 50px;
  53. margin-bottom: 40px;
  54. line-height: 45px;
  55. }
  56. h2.nice_title span {
  57. font-size: 18px;
  58. bottom: -30px;
  59. line-height: 24px;
  60. }
  61.  
  62. .wrap {
  63. width: 100%;
  64. max-width: 728px;
  65. }
  66. #header .content {
  67. width: 100%;
  68. }
  69. #header #top_logo {
  70. display: inline-block;
  71. width: 100%;
  72. margin: 0 auto;
  73. text-align: center;
  74. }
  75. #header #top_logo img{
  76.     display: inline-block;
  77.     margin:0; padding:0;
  78. }
  79. #header #main-menu {
  80. display: block;
  81. float: none;
  82. width: 100%;
  83. text-align: center;
  84. }
  85. .menu {
  86. padding: 0;
  87. text-transform: uppercase;
  88. }
  89. #header #main-menu select{ display:none;}
  90. #main .content {
  91. width: 100%;
  92. }
  93. .blog_classic .head {
  94. width: 180px;
  95. }
  96. .blog_modern .head {
  97. top: 80px;
  98. }
  99. .blog_modern .thumb {
  100. width: 100%;
  101. }
  102. .blog_grid {
  103. width: 48%;
  104. margin: 0 20px 0 0;
  105. }
  106. .blog_grid .thumb {
  107. width: 100%;
  108. }
  109. .blog_grid.last {
  110. width: 47%;
  111. }
  112. .blog_grid .head {
  113. width: 100%;
  114. }
  115. .grid3cols .blog_grid {
  116. width: 31%;
  117. margin: 0 26px 0 0;
  118. }
  119. .grid3cols .blog_grid.last {
  120. width: 31% !important;
  121. margin: 0 0 0 0;
  122. }
  123.  
  124. .left_part {
  125. width: 428px;
  126. margin: 0 0px 0 0;
  127. }
  128. #contact-form {
  129. width: 100%;
  130. margin: 0 auto;
  131. }
  132. #contact-form .field_small {
  133. width: 400px;
  134. }
  135. #contact-form .field_big textarea , #contact-form .field_small input, #contact-form .field_big input {
  136. width: 380px;
  137. }
  138. #contact-form .field_big {
  139. width: 100%;
  140. }
  141. #footer .column {
  142. display: block;
  143. float: left;
  144. width: 205px;
  145. margin: 0 0 0 20px;
  146. }
  147. #footer .content {
  148. padding: 20px 0 0 0;
  149. width: 100%;
  150. }
  151. #footer .column {
  152. width: 157px;
  153. }
  154. #footer .bottom_logo {
  155. width: 360px;
  156. }
  157.  
  158. .one_one{
  159.     width:690px;
  160. }
  161. .one_three{
  162.     width:216px;
  163. }
  164. .two_three{
  165.     width:454px;
  166. }
  167. .two_two{
  168.     width:335px;
  169. }
  170. .one_four{
  171.     width:155px;
  172. }
  173. .three_four{
  174.     width:505px;
  175. }
  176. .one_five{
  177.     width:120px;
  178. }
  179. .two_five{
  180.     width:260px;
  181. }
  182. .three_five{
  183.     width:400px;
  184. }
  185. .four_five{
  186.     width:540px;
  187. }
  188.  
  189. .the_content .one_one,.the_content .one_three,.the_content .two_three,.the_content .two_two, .the_content .one_four,.the_content .three_four,.the_content .one_five,.the_content .two_five,.the_content .three_five,.the_content .four_five{
  190.     width:100% !important;
  191.     margin-left:0;
  192. }
  193. .grid_item {
  194. width: 181px;
  195. height: 181px;
  196. }
  197. .preview_work_600 {
  198. width: 490px;
  199. }
  200. .blog_modern .thumb {
  201. width: 100%;
  202. margin-right:0 !important;
  203. }
  204. .related_post {
  205. width: 122px;
  206. }
  207.  
  208. #author-bio {
  209. width: 298px;
  210. }
  211.  
  212. /* End */
  213. }
  214.  
  215. @media only screen and (max-width: 767px) {
  216. /* Start */
  217.  
  218. .wrap {
  219. width: 100%;
  220. max-width: 440px;
  221. }
  222. #header .content {
  223. width: 100%;
  224. }
  225. #header #top_logo {
  226. display: inline-block;
  227. width: 100%;
  228. margin: 0 auto;
  229. text-align: center;
  230. }
  231. #header #top_logo img{
  232.     display: inline-block;
  233.     margin:0; padding:0;
  234. }
  235. #header #main-menu {
  236. display: block;
  237. float: none;
  238. width: 100%;
  239. text-align: center;
  240. }
  241. .menu {
  242.     display:none;
  243. }
  244. #header #main-menu select{
  245.     display: block;
  246.     width:280px;
  247.     margin:0 auto 0px auto;
  248.     border: 1px solid #CCC;
  249.     outline: none;
  250.     -moz-border-radius: 2px;
  251.     -webkit-border-radius: 2px;
  252.     border-radius: 2px;
  253.     font: 13px "HelveticaNeue", "Helvetica Neue",Helvetica,Arial,sans-serif;
  254.     color: #777;
  255.     height: 30px;
  256.     padding: 6px;
  257.     background: white;
  258. }
  259.  
  260. #main .content {
  261. width: 100%;
  262. }
  263.  
  264. .one_one,
  265. .one_three,
  266. .two_three,
  267. .two_two,
  268. .one_four,
  269. .three_four,
  270. .one_five,
  271. .two_five,
  272. .three_five,
  273. .four_five{
  274.     width:100% !important;
  275.     margin-left:0 !important;
  276. }
  277. #footer .column {
  278.     width: 90%;
  279.     margin-left:0;
  280.     padding:0 20px;
  281. }
  282. #footer .content {
  283. width: 100%;
  284. }
  285. #footer .bottom_logo {
  286. display: block;
  287. float: none;
  288. width: 100%;
  289. text-align:center;
  290. margin: 0;
  291. }
  292. #footer .copyright {
  293. display: block;
  294. float: none;
  295. width: 100%;
  296. text-align:center;
  297. }
  298. .infos_work p{ display:none; }
  299. .portfolio_item {
  300. width: 280px;
  301. margin: 0 auto 30px auto !important;
  302. display: block;
  303. }
  304. .preview_work_600 {
  305. width: 100%;margin: 0 0 0px 0;
  306. }
  307. #portfolio{
  308. width: 390px;
  309. margin: 0 auto;
  310. }
  311. .grid_item {
  312. display: block;
  313. float: left;
  314. width: 183px !important;
  315. height: 183px !important;
  316. margin: 5px !important;
  317. position: relative;
  318. overflow: hidden;
  319. }
  320. .left_part {
  321. width: 100%;
  322. margin: 0 0px 0 0;
  323. }
  324.  
  325. #sidebar { display:none; }
  326. #sidebar h4 { display:none; }
  327. .flickr_stream {display: none; }
  328.  
  329. #contact-form {
  330. width: 100%;
  331. margin: 0 auto;
  332. }
  333. #contact-form .field_small {
  334. width: 400px;
  335. }
  336. #contact-form .field_big textarea , #contact-form .field_small input, #contact-form .field_big input {
  337. width: 380px;
  338. }
  339. #contact-form .field_big {
  340. width: 100%;
  341. }
  342. .main_view,.main_view .window{
  343. width: 100% !important;
  344. }
  345.  
  346. .blog_modern .thumb {
  347. width: 100%;
  348. margin-right:0 !important;
  349. }
  350. .blog_modern .head {
  351. position:inherit;
  352. top: auto;
  353. left: auto;
  354. z-index: 3;
  355. padding: 5px 0 5px 10px;
  356. color:  #FFF !important;
  357. background: url(../images/transparent_85.png) repeat;
  358. width:95%;
  359. }
  360. .related_post {
  361. width: 86px;
  362. }
  363. #author-bio {
  364. width: 298px;
  365. }
  366. .blog_grid, .blog_grid.last{
  367. display: block;
  368. float: none;
  369. width: 280px;
  370. margin: 0 auto;
  371. }
  372.  
  373. /* End */
  374. }
  375.  
  376. @media only screen and (max-width: 440px) {
  377. /* Start */
  378. .wrap {
  379. width: 100%;
  380. max-width: 320px;
  381. }
  382. #portfolio {
  383. width: 100%;
  384. margin: 0 auto;
  385. }
  386. .infos_work {
  387. padding: 6px 20px;
  388. }
  389. .portfolio_item .clear{
  390.     display:none;
  391. }
  392. .infos_work {
  393. bottom: 30px;
  394. }
  395. #author-bio {
  396. width: 178px;
  397. }
  398.  
  399. #sidebar { display:none; }
  400. #sidebar h4 { display: none; }
  401. .flickr_stream {display: none; }
  402.  
  403.  
  404. /* End */
  405. }
  406.  
  407. /* iPhone Retina ----------- */
  408. @media
  409. only screen and (-webkit-min-device-pixel-ratio : 2),
  410. only screen and (min-device-pixel-ratio : 2)
  411. {
  412. /* Start */
  413.  
  414.  
  415.  
  416. /* End */
  417. }
Advertisement
Add Comment
Please, Sign In to add comment