/_sass/_layout.scss

https://github.com/jacquesbh/jacquesbh.github.com · Sass · 551 lines · 383 code · 36 blank · 132 comment · 0 complexity · 7f314cb98b5ae9b3c18973fff6d4369b MD5 · raw file

  1. /**
  2. * @author Jacques Bodin-Hullin <http://www.bodin-hullin.net>
  3. * @copyright (C) 2009 Jacques Bodin-Hullin
  4. * @license All rights reserved
  5. */
  6. /**
  7. * Body
  8. */
  9. body {
  10. font-family: 'Times New Roman', Verdana, Helvetica, Arial, Sans-serif;
  11. color: $txt-color;
  12. background-color: #fffcf3;
  13. }
  14. /**
  15. * Tooltik
  16. */
  17. #tooltip {
  18. position: absolute;
  19. display: none;
  20. }
  21. /**
  22. * Enveloppe principale
  23. */
  24. #mainWrap {
  25. width: 950px;
  26. margin: 0 auto 0 auto;
  27. text-align: left;
  28. }
  29. /**
  30. * Header
  31. * & Espace client
  32. */
  33. #headerWrap {
  34. position: relative;
  35. width: 100%;
  36. background: url(../img/header.png) no-repeat 1px 15px;
  37. height: 95px;
  38. border-bottom: 5px solid #292e10;
  39. h1,
  40. p {
  41. text-indent: -999999px;
  42. position: absolute;
  43. top: -999999px;
  44. }
  45. a {
  46. float: left;
  47. width: 375px;
  48. height: 58px;
  49. margin: 15px 0 0 1px;
  50. }
  51. }
  52. /**
  53. * Magento Certified
  54. */
  55. #magento_certified {
  56. height: 80px;
  57. position: absolute;
  58. top: 8px;
  59. left: 750px;
  60. width: 200px;
  61. a {
  62. display: block;
  63. height: 80px;
  64. width: 45px;
  65. margin: 0;
  66. }
  67. .developer {
  68. background: url(../img/magento_developer.png) top left no-repeat transparent;
  69. margin-right: 5px;
  70. }
  71. .developer-plus {
  72. background: url(../img/magento_developer_plus.png) top left no-repeat transparent;
  73. margin-right: 5px;
  74. }
  75. .frontend-developer {
  76. background: url(../img/magento_frontend_developer.png) top left no-repeat transparent;
  77. }
  78. .solution-specialist {
  79. background: url(../img/magento_solution_specialist.png) top left no-repeat transparent;
  80. margin-right: 5px;
  81. }
  82. }
  83. /**
  84. * Forum PHP
  85. */
  86. #forumphp {
  87. height: 80px;
  88. position: absolute;
  89. top: 8px;
  90. left: 400px;
  91. width: 364px;
  92. a {
  93. display: block;
  94. margin: 5px 0 0 0;
  95. width: 200px;
  96. img {
  97. width: 550px;
  98. }
  99. }
  100. }
  101. /*
  102. #loginWrap {
  103. background: url(../img/espace_client.png) left bottom no-repeat #454d1b;
  104. width: 280px;
  105. float: right;
  106. text-align: right;
  107. height: auto !important;
  108. height: 30px;
  109. min-height: 30px;
  110. padding-right: 20px;
  111. position: absolute;
  112. margin-left: 650px;
  113. z-index: 20;
  114. }
  115. #loginWrap h5 {
  116. font-size: 1em;
  117. float: left;
  118. font-style: italic;
  119. font-weight: bold;
  120. line-height: 25px;
  121. margin-left: 20px;
  122. letter-spacing: 1px;
  123. color: #FFFFFF;
  124. }
  125. #loginWrap a {
  126. color: #FFFFFF;
  127. line-height: 25px;
  128. }
  129. #loginWrap form {
  130. text-align: left;
  131. padding-left: 30px;
  132. padding-bottom: 10px;
  133. display: none;
  134. }
  135. #loginWrap form p {
  136. }
  137. #loginWrap form label {
  138. display: block;
  139. color: #FFFFFF;
  140. font-style: italic;
  141. font-size: 1.2em;
  142. margin-top: 15px;
  143. letter-spacing: 1px;
  144. padding: 0 0 5px 10px;
  145. }
  146. #loginWrap form input.text {
  147. border: 1px solid #3b4217;
  148. padding: 2px;
  149. font-size: 13px;
  150. font-family: 'Times New Roman', Verdana, Helvetica, Arial, Sans-serif;
  151. height: 17px;
  152. line-height: 17px;
  153. width: 225px;
  154. }
  155. #loginWrap form p.send {
  156. text-align: center;
  157. margin-top: 15px;
  158. }
  159. #loginWrap form p.send input {
  160. background: url(../img/login_send.png) no-repeat top left;
  161. width: 80px;
  162. height: 30px;
  163. color: #444c1a;
  164. border: none;
  165. font-family: 'Times New Roman', Verdana, Helvetica, Arial, Sans-serif;
  166. font-size: 1.2em;
  167. }
  168. #loginWrap p.close {
  169. text-align: right;
  170. padding-top: 15px;
  171. }
  172. */
  173. /**
  174. * Citation
  175. */
  176. #quoteWrap {
  177. background: url(../img/banniere.png) top left no-repeat;
  178. height: 85px;
  179. border-bottom: 1px solid #25290e;
  180. padding: 15px 0 0 250px;
  181. }
  182. #quoteWrap p {
  183. font-weight: bold;
  184. font-style: italic;
  185. font-size: 1.3em;
  186. color: #444c1a;
  187. width: 450px;
  188. letter-spacing: 1px;
  189. }
  190. #quoteWrap p:before {
  191. content: "“";
  192. }
  193. #quoteWrap p:after {
  194. content: "”";
  195. }
  196. #quoteWrap cite {
  197. font-style: italic;
  198. font-size: 1.3em;
  199. color: #444c1a;
  200. padding-left: 10px;
  201. }
  202. /**
  203. * Menu
  204. */
  205. #menu, .menu-wrapper {
  206. height: 45px;
  207. margin-bottom: 20px;
  208. }
  209. #menu {
  210. background: url(../img/menu_fond.png) top left repeat-x;
  211. padding-left: 20px;
  212. overflow: hidden;
  213. width: 930px;
  214. &.affix {
  215. position: fixed;
  216. top: 0;
  217. z-index: 99999;
  218. }
  219. .search {
  220. float: right;
  221. padding-right: 12px;
  222. }
  223. li {
  224. line-height: 45px;
  225. font-style: italic;
  226. font-size: 1.3em;
  227. float: left;
  228. list-style: none;
  229. letter-spacing: 1px;
  230. &.current a, a:hover {
  231. background: url(../img/bord_droit_menu_hover.png) right 8px no-repeat;
  232. text-decoration: none;
  233. span {
  234. background: url(../img/bord_gauche_menu_hover.png) left 8px no-repeat;
  235. }
  236. }
  237. a {
  238. color: #FFFFFF;
  239. display: block;
  240. float: left;
  241. padding: 0 25px 0 0;
  242. outline: none;
  243. span {
  244. display: block;
  245. float: left;
  246. width: 3px;
  247. height: 45px;
  248. margin-right: 22px;
  249. }
  250. }
  251. }
  252. }
  253. /**
  254. * Link to Monsieur Biz
  255. */
  256. #topWrap {
  257. div.mbiz {
  258. border: 1px solid #BBD367;
  259. padding: 5px;
  260. width: 938px;
  261. text-align: center;
  262. p {
  263. background-color: #F2F4D1;
  264. width: 100%;
  265. a {
  266. display: block;
  267. width: 100%;
  268. padding-top: 10px;
  269. padding-bottom: 10px;
  270. color: $txt-color;
  271. position: relative;
  272. img {
  273. position: absolute;
  274. top: 0px;
  275. height: 35px;
  276. }
  277. span {
  278. padding-left: 45px;
  279. }
  280. }
  281. }
  282. }
  283. }
  284. .notfound #topWrap div.mbiz {
  285. display: none;
  286. }
  287. /**
  288. * Sidebar
  289. */
  290. #sideWrap {
  291. width: 290px;
  292. float: right;
  293. color: #292e10;
  294. text-align: justify;
  295. margin-bottom: 40px;
  296. p {
  297. font-size: 1.1em;
  298. }
  299. img {
  300. display: block;
  301. padding: 5px;
  302. border: 1px solid #bbd367;
  303. margin: 0 auto 5px;
  304. }
  305. .service {
  306. width: 265px;
  307. float: none;
  308. clear: both;
  309. img {
  310. display: block;
  311. padding: 0;
  312. border: none;
  313. margin: 0 2px 0 0;
  314. }
  315. }
  316. ul {
  317. padding-left: 15px;
  318. li {
  319. line-height: 20px;
  320. }
  321. }
  322. .tags {
  323. a {
  324. color: #292E10;
  325. :hover {
  326. text-decoration: underline;
  327. }
  328. }
  329. }
  330. .infos {
  331. strong {
  332. float: right;
  333. font-weight: normal;
  334. }
  335. }
  336. .me {
  337. margin-top: 20px;
  338. img {
  339. border-color: transparent;
  340. }
  341. }
  342. }
  343. /**
  344. * Contenu
  345. */
  346. #contentWrap {
  347. width: 620px;
  348. float: left;
  349. margin-bottom: 40px;
  350. ul, ol {
  351. padding-left: 35px;
  352. li {
  353. font-size: 1.1em;
  354. line-height: 20px;
  355. p {
  356. padding: 0;
  357. }
  358. }
  359. }
  360. p {
  361. padding: 5px;
  362. font-size: 1.1em;
  363. }
  364. }
  365. .pagination {
  366. text-align: center;
  367. }
  368. /**
  369. * Bas de page
  370. */
  371. #bottomWrap {
  372. height: 390px;
  373. clear: both;
  374. }
  375. /**
  376. * Contact
  377. */
  378. #contactWrap {
  379. clear: both;
  380. background: url(../img/fleur_footer.png) 420px bottom no-repeat #f5f5d6;
  381. height: 260px;
  382. padding: 0 20px 0;
  383. margin-top: 20px;
  384. border-top: 5px solid #000000;
  385. width: 910px;
  386. overflow: visible;
  387. form {
  388. width: 390px;
  389. float: left;
  390. h3 {
  391. margin-bottom: 10px;
  392. }
  393. p {
  394. padding-bottom: 2px;
  395. }
  396. label {
  397. display: block;
  398. width: 75px;
  399. float: left;
  400. line-height: 21px;
  401. font-size: 1.1em;
  402. }
  403. input.text, textarea {
  404. border: 1px solid #d9d9c5;
  405. padding: 2px;
  406. font-size: 13px;
  407. font-family: 'Times New Roman', Verdana, Helvetica, Arial, Sans-serif;
  408. }
  409. input.text {
  410. height: 17px;
  411. line-height: 17px;
  412. width: 306px;
  413. }
  414. textarea {
  415. width: 306px;
  416. height: 100px;
  417. }
  418. p.send {
  419. text-align: center;
  420. padding-left: 75px;
  421. padding-top: 5px;
  422. input {
  423. background: url(../img/contact_send.png) no-repeat top left;
  424. width: 104px;
  425. height: 30px;
  426. color: white;
  427. border: none;
  428. font-family: 'Times New Roman', Verdana, Helvetica, Arial, Sans-serif;
  429. font-size: 1.2em;
  430. }
  431. }
  432. }
  433. div.qrcode {
  434. width: 270px;
  435. float: right;
  436. p {
  437. text-align: center;
  438. }
  439. }
  440. }
  441. /**
  442. * Footer
  443. */
  444. #footerWrap {
  445. clear: both;
  446. background: #444c1a;
  447. height: 60px;
  448. line-height: 60px;
  449. text-align: right;
  450. font-size: 1.1em;
  451. color: #FFFFFF;
  452. letter-spacing: 10px;
  453. padding-right: 20px;
  454. margin-bottom: 50px;
  455. a {
  456. color: #FFFFFF;
  457. font-style: italic;
  458. letter-spacing: 1px;
  459. margin-right: 10px;
  460. }
  461. .social {
  462. float: left;
  463. margin: 5px 20px;
  464. }
  465. .copy {
  466. color: $txt-color;
  467. letter-spacing: 2px;
  468. }
  469. }
  470. #contentWrap blockquote {
  471. padding-left: 10px;
  472. margin: 15px 0 15px 10px;
  473. border-left: 3px solid $border-color;
  474. color: lighten(#292E10, 15%);
  475. }
  476. /**
  477. * 404
  478. */
  479. .notfound {
  480. #headerWrap {
  481. border-bottom: none;
  482. }
  483. #menu {
  484. margin-bottom: 0;
  485. }
  486. #bottomWrap {
  487. height: 60px;
  488. }
  489. #lost {
  490. background: transparent url(../img/lost.png) center center no-repeat;
  491. width: 950px;
  492. height: 382px;
  493. position: relative;
  494. .msg {
  495. display: block;
  496. font-weight: bold;
  497. font-size: 2em;
  498. position: absolute;
  499. top: 227px;
  500. left: 155px;
  501. }
  502. }
  503. #quoteWrap, #contactWrap {
  504. display: none;
  505. }
  506. }