Advertisement
RyanJEarnshaw

Untitled

Oct 11th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. @import 'https://fonts.googleapis.com/css?family=Raleway:100,200,300,400';
  2. @import url(http://fonts.googleapis.com/css?family=Roboto);
  3.  
  4. * {
  5. margin:0;
  6. padding:0;
  7. }
  8.  
  9. html, body {
  10. font-family: 'Raleway', sans-serif;
  11. margin:0;
  12. padding:0;
  13. height:auto;
  14. background-color: rgba(255,255,255,1);
  15. }
  16.  
  17. .container {
  18. min-height:100%;
  19. position:relative;
  20. background-color: rgba(255,255,255,1);
  21. }
  22.  
  23. .title {
  24. font-family: 'roboto', sans-serif;
  25. text-align: center;
  26. color: rgba(1,1,1,0.2);
  27. margin: 4% 0;
  28. font-size: 5vmax;
  29. }
  30. .greeting {
  31. font-family: 'roboto', sans-serif;
  32. text-align: center;
  33. color: rgba(1,1,1,0.6);
  34. margin: 4% 0;
  35. font-size: 2vmax;
  36. }
  37. .information {
  38. display: flex;
  39. float: middle;
  40. text-align: center;
  41. vertical-align: center;
  42. width: 100%;
  43. height: auto;
  44. justify-content: center;
  45. }
  46.  
  47.  
  48. .cubiccont {
  49. margin: 1% 1%;
  50. float: left;
  51. height: 15vmax;
  52. width: 15%;
  53. border: 3px dashed rgba(1,1,1,0.3);
  54. }
  55. .contfigure {
  56. width: 100%;
  57. height: 80%;
  58. }
  59. .conttext {
  60. width: 100%;
  61. height: 20%;
  62. background-color: rgba(1,1,1,)
  63. }
  64. .conttext h3 {
  65. font-family: 'roboto', sans-serif;
  66. text-align: middle;
  67. font-size: 1vmax;
  68. color: rgba(1,1,1,0.6);
  69. }
  70. .contfigure h2 {
  71. font-family: 'roboto', sans-serif;
  72. color: rgba(1,1,1,0.2);
  73. font-size: 10vmax;
  74. }
  75.  
  76. a {
  77. font-family: 'Roboto';
  78. text-decoration: none;
  79. margin: 1%;
  80. padding: 1%;
  81. width: 15%;
  82. cursor: pointer;
  83. background: white;
  84. text-decoration: none;
  85. color: SALMON;
  86. border: 3px solid SALMON;
  87.  
  88. }
  89. .content {
  90. text-align: center;
  91. }
  92. .button {
  93. display: inline-block;
  94. vertical-align: middle;
  95. -webkit-transform: translateZ(0);
  96. transform: translateZ(0);
  97. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  98. -webkit-backface-visibility: hidden;
  99. backface-visibility: hidden;
  100. -moz-osx-font-smoothing: grayscale;
  101. position: relative;
  102. -webkit-transition-property: color;
  103. transition-property: color;
  104. -webkit-transition-duration: 0.5s;
  105. transition-duration: 0.5s;
  106. }
  107. .button:before {
  108. content: "";
  109. position: absolute;
  110. z-index: -1;
  111. top: 0;
  112. left: 0;
  113. right: 0;
  114. bottom: 0;
  115. background: SALMON;
  116. -webkit-transform: scaleY(0);
  117. transform: scaleY(0);
  118. -webkit-transform-origin: 50% 0;
  119. transform-origin: 50% 0;
  120. -webkit-transition-property: transform;
  121. transition-property: transform;
  122. -webkit-transition-duration: 0.5s;
  123. transition-duration: 0.5s;
  124. -webkit-transition-timing-function: ease-out;
  125. transition-timing-function: ease-out;
  126. }
  127. .button:hover, .button:focus, .button:active {
  128. color: WHITE;
  129. }
  130. .button:hover:before, .button:focus:before, .button:active:before {
  131. -webkit-transform: scaleY(1);
  132. transform: scaleY(1);
  133. -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  134. transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  135. }
  136.  
  137.  
  138. /* The side navigation menu */
  139. .sidenav {
  140. height: 100%; /* 100% Full-height */
  141. width: 0; /* 0 width - change this with JavaScript */
  142. position: fixed; /* Stay in place */
  143. z-index: 1; /* Stay on top */
  144. top: 0;
  145. left: 0;
  146. background-color: #111; /* Black*/
  147. overflow-x: hidden; /* Disable horizontal scroll */
  148. padding-top: 60px; /* Place content 60px from the top */
  149. transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  150. }
  151. .sidenav a:nth-child(1),
  152. .sidenav a:nth-child(2),
  153. .sidenav a:nth-child(3),
  154. .sidenav a:nth-child(4) {
  155. margin: 0;
  156. width: 100%;
  157. padding: 8px 8px 8px 32px;
  158. text-decoration: none;
  159. font-size: 25px;
  160. color: SALMON;
  161. background-color: rgba(1,1,1,0);
  162. border: none;
  163. display: block;
  164. transition: 0.3s
  165. }
  166. .sidenav a:nth-child(1) {
  167. padding: 0;
  168. float: right;
  169. width: auto;
  170. font-size: 3vmax;
  171. }
  172. .sidenav a:hover, .offcanvas a:focus{
  173. color: #f1f1f1;
  174. }
  175. .sidenav .closebtn {
  176. position: absolute;
  177. top: 0;
  178. right: 25px;
  179. font-size: 36px;
  180. margin-left: 50px;
  181. }
  182. #main {
  183. transition: margin-left .5s;
  184. padding: 20px;
  185. }
  186. /* On smaller screens, where height is less than 450px, change the style of the sidenav
  187. (less padding and a smaller font size) */
  188. @media screen and (max-height: 450px) {
  189. .sidenav {padding-top: 15px;}
  190. .sidenav a {font-size: 18px;}
  191. }
  192. /* End The side navigation menu */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement