Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. /* The side navigation menu */
  2. .sidenav {
  3. height: 100%; /* 100% Full-height */
  4. width: 0; /* 0 width - change this with JavaScript */
  5. position: fixed; /* Stay in place */
  6. z-index: 1; /* Stay on top */
  7. top: 0;
  8. left: 0;
  9. background-color: #111; /* Black*/
  10. overflow-x: hidden; /* Disable horizontal scroll */
  11. padding-top: 60px; /* Place content 60px from the top */
  12. transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  13. }
  14.  
  15. /* The navigation menu links */
  16. .sidenav a {
  17. padding: 8px 8px 8px 32px;
  18. text-decoration: none;
  19. font-size: 25px;
  20. color: #818181;
  21. display: block;
  22. transition: 0.3s
  23. }
  24.  
  25. /* When you mouse over the navigation links, change their color */
  26. .sidenav a:hover, .offcanvas a:focus{
  27. color: #f1f1f1;
  28. }
  29.  
  30. /* Position and style the close button (top right corner) */
  31. .sidenav .closebtn {
  32. position: absolute;
  33. top: 0;
  34. right: 25px;
  35. font-size: 36px;
  36. margin-left: 50px;
  37. }
  38.  
  39. /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  40. #main {
  41. transition: margin-left .5s;
  42. padding: 20px;
  43. }
  44.  
  45. /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  46. @media screen and (max-height: 450px) {
  47. .sidenav {padding-top: 15px;}
  48. .sidenav a {font-size: 18px;}
  49. }
  50. * menu toggle - (_layout.css)
  51. @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300);
  52. body {
  53. color: #333;
  54. font-family: 'Open Sans', sans-serif;
  55. font-weight: 300;
  56. }
  57. h1,
  58. h1+p {
  59. margin: 30px 15px 0;
  60. font-weight: 300;
  61. }
  62. h1+p a {
  63. color: #333;
  64. }
  65. h1+p a:hover {
  66. text-decoration: none;
  67. }
  68. h2 {
  69. margin: 60px 15px 0;
  70. padding: 0;
  71. font-weight: 300;
  72. }
  73. h2 span {
  74. margin-left: 1em;
  75. color: #aaa;
  76. font-size: 85%;
  77. }
  78. .column {
  79. margin: 15px 15px 0;
  80. padding: 0;
  81. }
  82. .column:last-child {
  83. padding-bottom: 60px;
  84. }
  85. .column::after {
  86. content: '';
  87. clear: both;
  88. display: block;
  89. }
  90. .column div {
  91. position: relative;
  92. float: left;
  93. width: 300px;
  94. height: 200px;
  95. margin: 0 0 0 25px;
  96. padding: 0;
  97. }
  98. .column div:first-child {
  99. margin-left: auto;
  100. }
  101. .column.hover01
  102. { display:inline-block !important
  103. }
  104. figure {
  105. width: 300px;
  106. height: 200px;
  107. margin: 0;
  108. padding: 0;
  109. overflow: hidden;
  110. border: 5px outset red;
  111. background-color: #525354;
  112. }
  113. figure:hover+span {
  114. opacity: 1;
  115. }
  116.  
  117.  
  118.  
  119. /* Zoom In #1 */
  120. .hover01 figure img {
  121. -webkit-transform: scale(1);
  122. transform: scale(1);
  123. -webkit-transition: .3s ease-in-out;
  124. transition: .3s ease-in-out;
  125. }
  126. .hover01 figure:hover img {
  127. -webkit-transform: scale(1.3);
  128. transform: scale(1.3);
  129. }
  130. @keyframes circle {
  131. 0% {
  132. opacity: 1;
  133. }
  134. 40% {
  135. opacity: 1;
  136. }
  137. 100% {
  138. width: 200%;
  139. height: 200%;
  140. opacity: 0;
  141. }
  142. }
  143. .rowone {
  144. height: 210px;
  145. line-height: 210px;
  146. text-align: center;
  147. display: table;
  148. margin: 0 auto;
  149. }
  150. }
  151. .porthead {
  152. float: left;
  153. margin: 30px;
  154. }
  155. .menu-toggle {
  156. float: left;
  157. width: 40px;
  158. height: 40px;
  159. margin-left: 0px;
  160. margin-top: 0px;
  161. display: block;
  162. position: relative;
  163. }
  164. .menu-toggle span::before {
  165. top: -8px;
  166. -moz-transition-property: top, transform;
  167. -o-transition-property: top, transform;
  168. -webkit-transition-property: top, transform;
  169. -ms-transition-property: top, transform;
  170. transition-property: top, transform;
  171. }
  172. .menu-toggle span::after {
  173. bottom: -8px;
  174. -moz-transition-property: bottom, transform;
  175. -o-transition-property: bottom, transform;
  176. -webkit-transition-property: bottom, transform;
  177. -ms-transition-property: bottom, transform;
  178. transition-property: bottom, transform;
  179. }
  180. .menu-toggle span::before, .menu-toggle span::after {
  181. content: '';
  182. width: 100%;
  183. height: 100%;
  184. background-color: inherit;
  185. position: absolute;
  186. left: 0;
  187. -moz-transition-duration: 0.2s, 0.2s;
  188. -o-transition-duration: 0.2s, 0.2s;
  189. -webkit-transition-duration: 0.2s, 0.2s;
  190. -ms-transition-duration: 0.2s, 0.2s;
  191. transition-duration: 0.2s, 0.2s;
  192. -moz-transition-delay: 0.2s, 0s;
  193. -o-transition-delay: 0.2s, 0s;
  194. -webkit-transition-delay: 0.2s, 0s;
  195. -ms-transition-delay: 0.2s, 0s;
  196. transition-delay: 0.2s, 0s;
  197. }
  198. .menu-toggle span {
  199. display: block;
  200. background-color: #99181e;
  201. width: 24px;
  202. height: 3px;
  203. margin-top: -1.5px;
  204. font: 0/0 a;
  205. text-shadow: none;
  206. color: transparent;
  207. position: absolute;
  208. right: 8px;
  209. top: 50%;
  210. bottom: auto;
  211. left: auto;
  212. -moz-transition: background 0.2s ease-in-out;
  213. -o-transition: background 0.2s ease-in-out;
  214. -webkit-transition: background 0.2s ease-in-out;
  215. -ms-transition: background 0.2s ease-in-out;
  216. transition: background 0.2s ease-in-out;
  217. }
  218. .container {
  219. position: relative;
  220. width: 50%;
  221. }
  222.  
  223. .images {
  224. opacity: 1;
  225. display: block;
  226. width: 100%;
  227. height: auto;
  228. transition: .5s ease;
  229. backface-visibility: hidden;
  230. }
  231.  
  232. .middle {
  233. transition: .5s ease;
  234. opacity: 0;
  235. position: absolute;
  236. top: 50%;
  237. left: 50%;
  238. transform: translate(-50%, -50%);
  239. -ms-transform: translate(-50%, -50%)
  240. }
  241.  
  242. .container:hover .image {
  243. opacity: 0.3;
  244. }
  245.  
  246. .container:hover .middle {
  247. opacity: 1;
  248. }
  249.  
  250. .text {
  251. background-color: #4CAF50;
  252. color: white;
  253. font-size: 16px;
  254. padding: 16px 32px;
  255. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement