Advertisement
DesignMagasinet

Design #2 - Stilsett (CSS)

Jul 26th, 2015
842
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.71 KB | None | 0 0
  1. /* Denne designmalen er designet og kodet av Designmagasinet.blogg.no © 2015.*/
  2.  
  3. @import url(http://fonts.googleapis.com/css?family=Raleway:200|Roboto:400,300,100|Playfair+Display);
  4. .entry {
  5. background-color: transparent;
  6. }
  7. body {
  8. background-color: #ffffff;
  9. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  10. font-weight: 300;
  11. color: #333333;
  12. font-size: 14px;
  13. }
  14. body .entry {
  15. margin: 0 0 28px 0;
  16. clear: both;
  17. margin-top: 3em;
  18. }
  19. #doc2 {
  20. width: 1228px;
  21. }
  22. body .entry *{
  23. width: 100%;
  24. }
  25. body p {
  26. line-height: 2.1!important;
  27. margin-bottom: 2em;
  28. }
  29. #header {
  30. display: none;
  31. }
  32. .breadcrumbs {
  33. display: none;
  34. }
  35. #wrapper {
  36. margin: 0;
  37. width: 1228px;
  38. margin-left: auto;
  39. margin-right: auto;
  40. }
  41. #footer {
  42. background-color: #ffffff;
  43. }
  44. a {
  45. color: #151515;
  46. text-decoration: none;
  47. line-height: inherit;
  48. }
  49. a:link {
  50. color: #999;
  51. margin-top: 10px;
  52. }
  53. a:visited {
  54. color: #151515;
  55. }
  56. a:active { color: #151515}
  57. h1, h2, h3, h4, h5 { font-family: 'Raleway', sans-serif; }
  58. h2 {
  59. font-size: 175%;
  60. margin: 0 0 10px 0;
  61. }
  62. #header h1, #header p { display:none }
  63. #header { color: #000000; }
  64. h1 a, h1 a:link, h1 a:visited, h1 a:active { text-decoration: none; color: #000000; }
  65. .yui-g .yui-gc div.first, .yui-gc div.first, .yui-gd .yui-g, .yui-gd .yui-u {
  66. width: 100%;
  67. }
  68. .entry .meta, .entry .meta2, .entry .tags {
  69. font-family: 'Roboto', sans-serif;
  70. font-size: 11px !important;
  71. font-weight: 300;
  72. color: #444444 !important;
  73. margin: 0px 0px 0px 0px;
  74. clear: none !important;
  75. text-align: center;
  76. text-transform: uppercase;
  77. letter-spacing: 4px;
  78. }
  79. .entry .meta, .entry .meta a {
  80. color: #999;
  81. margin-top: 10px;
  82. margin-bottom: 3em;
  83. }
  84. h3 {
  85. font-size: 11px !important;
  86. font-weight: 300;
  87. color: #444444 !important;
  88. margin: 0px 0px 0px 0px;
  89. clear: none !important;
  90. text-align: center;
  91. text-transform: uppercase;
  92. letter-spacing: 4px;
  93. }
  94. .entry h2 {
  95. margin: 0 0 1px 0;
  96. font-family: 'Raleway', tahoma;
  97. font-size: 44px;
  98. line-height: 45px !important;
  99. color: #444444;
  100. text-align: center;
  101. text-transform: uppercase;
  102. letter-spacing: 2px;
  103. margin-top: 6px;
  104. margin-bottom: -4px;
  105. }
  106. .entry .meta, .entry .meta a {
  107. color: #999;
  108. margin-top: 10px;
  109. }
  110. #comd {
  111. font-size: 11px !important;
  112. font-weight: 300;
  113. color: #444444 !important;
  114. margin: 0px 0px 0px 0px;
  115. clear: none !important;
  116. text-align: center;
  117. text-transform: uppercase;
  118. letter-spacing: 4px;
  119. border-top: solid 1px #EBEBEB;
  120. padding-top: 2em;
  121. margin-bottom: 6em;
  122. }
  123. #footer {
  124. border: none;
  125. ont-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  126. font-weight: 300;
  127. color: #333333;
  128. font-size: 14px;
  129. margin-top: 2em;
  130. }
  131. h4 {
  132. font-size: 110%;
  133. margin: 0 0 5px 0;
  134. font-size: 1.6875rem;
  135. font-weight: 800;
  136. }
  137. blockquote {
  138. font-size: 20px;
  139. border-left: solid 2px #E3E3E3;
  140. padding-left: 1em;
  141. }
  142. #side {
  143. text-align: center;
  144. width: 18em;
  145. line-height: 1.9;
  146. border-left: solid 1px #E3E3E3;
  147. left: 2em;
  148. position: relative;
  149. padding-left: 30px;
  150. margin-top: 3em;
  151. }
  152. #profile a img {
  153. background-color: #fff;
  154. padding: 0px;
  155. border: 0px;
  156. margin: 5px 10px 5px 5px;
  157. float: right;
  158. border-radius: 60%;
  159. margin-top: 3em;
  160. margin-bottom: 3em;
  161. }
  162. #comments img.avatar {
  163. padding: 3px;
  164. float: inherit;
  165. margin: 0 0 10px 10px;
  166. border:none;
  167. }
  168. #newcomment {
  169. clear: both;
  170. background-color: #FFFFFF;
  171. margin-left: 10px;
  172. padding: 0px;
  173. }
  174. newcomment input {
  175. width: 280px;
  176. border: none;
  177. }
  178. input, textarea, select {
  179. font-family: inherit;
  180. font-size: inherit;
  181. font-weight: inherit;
  182. padding: 1em;
  183. }
  184. #comments .owner {
  185. border-top: none;
  186. border-bottom: none;
  187. background: #FFF;
  188. }
  189. #newcomment textarea, #newcomment input#comment_authorurl {
  190. width: 212px;
  191. border: solid 1px #E3E3E3;
  192. }
  193. #comments .comment {
  194. padding: 10px;
  195. margin-bottom: 10px;
  196. clear: both;
  197. text-align: -webkit-auto;
  198. }
  199. #newcomment input {
  200. width: 210px;
  201. float: inherit;
  202. }
  203. #newcomment #comment_submit {
  204. padding: 3px 10px;
  205. width: 243px;
  206. padding: 11px;
  207. background-color: #F6F6F6;
  208. color: #131313;
  209. border: none;
  210. outline: none;
  211. border-radius: 30px;
  212. cursor: pointer;
  213. }
  214. div#menu {
  215. text-align: -webkit-right;
  216. letter-spacing: 1em;
  217. margin-top: 6em;
  218. padding-bottom: 4em;
  219. border-bottom: solid 1px #E9E9E9;
  220. padding-bottom: 3em;
  221. }
  222. .fa {
  223. display: inline-block;
  224. font: normal normal normal 14px/1 FontAwesome;
  225. font-size: inherit;
  226. text-rendering: auto;
  227. -webkit-font-smoothing: antialiased;
  228. -moz-osx-font-smoothing: grayscale;
  229. transform: translate(0, 0);
  230. opacity: 0.7;
  231. }
  232. @-webkit-keyframes fadeUpIn /* Safari and Chrome */
  233. {
  234. from { opacity:0; top:150px; }
  235. to { opacity:1; top: 70px; }
  236. }
  237. html{
  238. animation: fadeUpIn 3s;
  239. -webkit-animation: fadeUpIn 3s; /* Safari and Chrome */
  240. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement