Advertisement
DesignMagasinet

Design #1 - Stilsett (CSS)

Jul 23rd, 2015
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.35 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=Viga);
  4. @import url(http://fonts.googleapis.com/css?family=Open+Sans);
  5. @import url(http://fonts.googleapis.com/css?family=Playfair+Display+SC);
  6. .entry {
  7. background-color: transparent;
  8. }
  9. body.front #header {
  10. cursor: auto;
  11. margin-left: auto;
  12. margin-right: auto;
  13. background-color: #EBEBEB;
  14. width: 1097px;
  15. margin-bottom: 17px;
  16. margin-top: 17px;
  17. height: 350px;
  18. background-image: url('http://nyheter24.se/modette/angelicablick/files/2012/08/08.jpg');
  19. background-size: 1217px;
  20. background-position-y: -10em;
  21. border: solid 18px #FFFFFF;
  22. }
  23. .entry .meta {
  24. margin: 18px 0;
  25. font-size: 12px;
  26. text-align: center;
  27. color: #646464;
  28. margin-top: -15px;
  29. }
  30. .entry h2 {
  31. margin: 0 0 5px 0;
  32. font-family: 'Viga', sans-serif;
  33. font-size: 35px;
  34. font-family: 'Playfair Display SC', serif;
  35. text-align: center;
  36. padding-top: 0em;
  37. border: solid 2px #E9E9E9;
  38. margin-bottom: 1em;
  39. }
  40. #doc2 {
  41. margin: auto;
  42. width: auto;
  43. min-width: 1130px;
  44. }
  45. body .entry * {
  46. line-height: 1.9;
  47. width: 100%;
  48. }
  49. body .entry {
  50. margin: 0 0 20px 0;
  51. clear: both;
  52. margin-bottom: 15px;
  53. background-color: #FFFFFF;
  54. border: solid 23px #FFF;
  55. }
  56. #main {
  57. float: left;
  58. width: 840px;
  59. background-color: transparent;
  60. overflow: visible;
  61. position: relative;
  62. }
  63. #side {
  64. width: 315px;
  65. float: right;
  66. background-color: transparent;
  67. overflow: visible;
  68. margin-top: 0px;
  69. padding: 0px 0px 0px 0px !important;
  70. text-align: center;
  71. }
  72. body {
  73. background-color: #f5f5f5;
  74. font-family: 'Open Sans', sans-serif;
  75. color: #333333;
  76. }
  77. #wrapper {
  78. margin-left: auto;
  79. margin-right: auto;
  80. background-color: transparent;
  81. padding: 0px;
  82. width: 1170px;
  83. }
  84. #header{
  85. height: 300px;
  86. }
  87. #footer {
  88. background-color: #ffffff;
  89. width: 1130px;
  90. margin-left: auto;
  91. margin-right: auto;
  92. border: none;
  93. font-size: 12px;
  94. padding: 20px;
  95. }
  96. a:link {
  97. color: #0B0B0B;
  98. }
  99. a:link {
  100. color: #000000;
  101. }
  102. a:visited {
  103. /* font-family: 'Viga', sans-serif; */
  104. font-size: 26px;
  105. line-height: 31px;
  106. text-transform: uppercase;
  107. color: #000000 !important;
  108. font-family: 'Playfair Display SC', serif;
  109. }
  110. a:active { color: #336699}
  111. h1, h2, h3, h4, h5 { font-family: Tahoma, Geneva, sans-serif; }
  112. h1 a, h1 a:link, h1 a:visited, h1 a:active { text-decoration: none; color: #000000; }
  113. #profile a img {
  114. background-color: #fff;
  115. padding: 0px;
  116. border: 0px;
  117. margin: 0px;
  118. float: initial;
  119. width: 95px;
  120. height: 95px;
  121. border: solid 4px #FFF;
  122. border-radius: 50%;
  123. margin-bottom: 0em;
  124. margin-top: 7em;
  125. }
  126. h6 {
  127. font-family: 'Viga', sans-serif;
  128. font-weight: 600;
  129. font-size: 13px;
  130. line-height: 24px;
  131. text-transform: uppercase;
  132. color: #333;
  133. padding: 1em;
  134. text-align: left;
  135. }
  136. #h2 {
  137. font-family: 'Viga', sans-serif;
  138. font-size: 26px;
  139. line-height: 31px;
  140. text-transform: uppercase;
  141. color: #000000 !important;
  142. font-family: 'Playfair Display SC', serif;
  143. }
  144. #side div {
  145. margin-bottom: 15px;
  146. background-color: #FFFFFF;
  147. }
  148. #info{
  149. font-family: Open Sans !important;
  150. font-weight: 400 !important;
  151. color: #666 !important;
  152. font-size: 13px;
  153. padding-left: 15px;
  154. padding-right: 15px;
  155. padding-bottom: 1em;
  156. }
  157. #side div {
  158. margin-bottom: 15px;
  159. background-color: #FFFFFF;
  160. }
  161. div#profile {
  162. border: solid 1px #f1f1f1;
  163. }
  164. hr {
  165. margin-bottom: 24px;
  166. border: 0;
  167. border-top: 1px solid #eee;
  168. }
  169. ul li {
  170. margin: 0 0 3px 0;
  171. list-style: none;
  172. text-align: left;
  173. padding-left: 1em;
  174. margin-top: -8px;
  175. margin-bottom: 1em;
  176. }
  177. .breadcrumbs {
  178. margin: 0 0 17px 0;
  179. padding-top: 5px;
  180. font-size: 80%;
  181. background-color: #FFFFFF;
  182. border: solid 23px #FFF;
  183. display: none;
  184. }
  185. .social-buttons {
  186. height: 50px;
  187. font-size: 10;
  188. text-align: center;
  189. right: 0;
  190. left: 0;
  191. top: 58%;
  192. bottom: 46%;
  193. }
  194. .social-button {
  195. display: inline-block;
  196. background-color: #fff;
  197. width: 50px;
  198. height: 50px;
  199. line-height: 50px;
  200. margin-left: 0 !important;
  201. margin-right: 15px !important;
  202. text-align: center;
  203. position: relative;
  204. overflow: hidden;
  205. opacity: .99;
  206. border-radius: 50%;
  207. box-shadow: 0 0 30px 0 rgba(0,0,0,0.06);
  208. -webkit-transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
  209. transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
  210. }
  211. .social-button:before {
  212. content: '';
  213. background-color: #000;
  214. width: 120%;
  215. height: 120%;
  216. position: absolute;
  217. top: 90%;
  218. left: -110%;
  219. -webkit-transform: rotate(45deg);
  220. -ms-transform: rotate(45deg);
  221. transform: rotate(45deg);
  222. -webkit-transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.79);
  223. transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.79);
  224. }
  225. .social-button .fa {
  226. font-size: 29px;
  227. vertical-align: middle;
  228. -webkit-transform: scale(0.75);
  229. -ms-transform: scale(0.75);
  230. transform: scale(0.75);
  231. -webkit-transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
  232. transition: all .35s cubic-bezier(0.31,-0.105,0.43,1.59);
  233. margin-top: 12px;
  234. }
  235. .social-button.facebook:before {
  236. background-color: #3B5998;
  237. }
  238. .social-button.facebook .fa {
  239. color: #3B5998;
  240. }
  241. .social-button.twitter:before {
  242. background-color: #3CF;
  243. }
  244. .social-button.twitter .fa {
  245. color: #3CF;
  246. }
  247. .social-button.google:before {
  248. background-color: #DC4A38;
  249. }
  250. .social-button.google .fa {
  251. color: #DC4A38;
  252. }
  253. .social-button.dribbble:before {
  254. background-color: #F26798;
  255. }
  256. .social-button.dribbble .fa {
  257. color: #F26798;
  258. }
  259. .social-button.skype:before {
  260. background-color: #00AFF0;
  261. }
  262. .social-button.skype .fa {
  263. color: #00AFF0;
  264. }
  265. .social-button:hover:before {
  266. top: -10%;
  267. left: -10%;
  268. }
  269. .social-button:hover .fa {
  270. color: #fff;
  271. -webkit-transform: scale(1);
  272. -ms-transform: scale(1);
  273. transform: scale(1);
  274. }
  275. .social-button:focus {
  276. opacity: .85;
  277. }
  278. * {
  279. margin: 0;
  280. padding: 0;
  281. color: inherit;
  282. box-sizing: inherit;
  283. }
  284. :focus {
  285. outline: none;
  286. }
  287. blockquote {
  288. font-size: 18px;
  289. border-left: solid 4px #D3D3D3;
  290. padding-left: 1em;
  291. font-style: italic;
  292. color: #A39D9D;
  293. }
  294. .entry .meta ul li, .entry .tags ul li {
  295. list-style: none;
  296. display: inline;
  297. margin: 0 5px 0 5px;
  298. padding: 0;
  299. text-transform: uppercase;
  300. letter-spacing: 5px;
  301. color: #9B9191;
  302. border-bottom: solid 1px;
  303. }
  304. #header {
  305. background-image: url('http://nyheter24.se/modette/angelicablick/files/2012/08/deta.jpg');
  306. background-size: 1217px;
  307. background-position-y: -10em;
  308. border: solid 18px #FFFFFF;
  309. background-position-x: -6em;
  310. cursor: auto;
  311. margin-left: auto;
  312. margin-right: auto;
  313. background-color: #EBEBEB;
  314. width: 1097px;
  315. margin-bottom: 17px;
  316. margin-top: 17px;
  317. height: 350px;
  318. }
  319. #linkback{
  320. text-transform: uppercase;
  321. letter-spacing: 3px;
  322. color: #E3E3E3;
  323. font-family: inherit;
  324. text-align: center;
  325. }
  326. @-webkit-keyframes fadeUpIn /* Safari and Chrome */
  327. {
  328. from { opacity:0; top:150px; }
  329. to { opacity:1; top: 70px; }
  330. }
  331. html{
  332. animation: fadeUpIn 3s;
  333. -webkit-animation: fadeUpIn 3s; /* Safari and Chrome */
  334. }
  335. .comment.other {
  336. text-align: -webkit-left;
  337. }
  338. #comments .owner {
  339. color: #000;
  340. text-align: -webkit-left;
  341. border: none;
  342. background: none;
  343. }
  344. #comments img.avatar {
  345. border: 1px solid;
  346. padding: 3px;
  347. float: right;
  348. margin: 0 0 10px 10px;
  349. border-radius: 50%;
  350. border: none;
  351. }
  352. h4{
  353. font-size: 16px;
  354. line-height: 31px;
  355. text-transform: uppercase;
  356. color: #000000 !important;
  357. font-family: 'Playfair Display SC', serif;
  358. }
  359. #newcomment #comment_author_wrapper, #newcomment #comment_authoremail_wrapper, #newcomment #comment_submit_wrapper, #newcomment #comment_remember_wrapper {
  360. width: 269px;
  361. margin-right: 15px;
  362. text-align: left;
  363. background-color: #FFFFFF;
  364. }
  365. newcomment input {
  366. width: 222px;
  367. padding: 7px;
  368. }
  369. #newcomment input {
  370. width: 217px;
  371. padding: 11px;
  372. }
  373. #newcomment label {
  374. width: 280px;
  375. display: block;
  376. text-align: -webkit-auto;
  377. margin-bottom: 2em;
  378. }
  379. #newcomment textarea, #newcomment input#comment_authorurl {
  380. width: 217px;
  381. padding: 11px;
  382. }
  383. #side h3 {
  384. clear: both;
  385. font-family: 'Viga', sans-serif;
  386. font-size: 36px;
  387. line-height: 31px;
  388. text-transform: uppercase;
  389. color: #000000 !important;
  390. font-family: 'Playfair Display SC', serif;
  391. border-bottom: solid 1px;
  392. padding-bottom: 1em;
  393. margin-bottom: 1em;
  394. }
  395. #newcomment #comment_submit {
  396. padding: 3px 10px;
  397. width: 226px;
  398. padding: 11px;
  399. background-color: #E3E3E3;
  400. color: #131313;
  401. border: none;
  402. border-radius: 30px;
  403. }
  404. input#comment_authorurl {
  405. margin-left: -6px;
  406. }
  407. .mna-footer-text, .mna-footer-logo {
  408. margin-bottom: 5px;
  409. margin-top: 1em;
  410. }
  411. #comments .user {
  412. border-top: 1px dotted;
  413. border-bottom: 1px dotted;
  414. background: #fff!important;
  415. color: #000;
  416. text-align: -webkit-auto!important;
  417. border: none!important;
  418. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement