typography.scss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. @font-face {
  2. font-family: 'dukefill';
  3. src: url('../fonts/duke_fill-webfont.woff2') format('woff2'),
  4. url('../fonts/duke_fill-webfont.woff') format('woff');
  5. font-weight: normal;
  6. font-style: normal;
  7. }
  8. @font-face {
  9. font-family: 'cormorantBold';
  10. src: url('../fonts/Cormorant-Bold-webfont.woff2') format('woff2'),
  11. url('../fonts/Cormorant-Bold-webfont.woff') format('woff');
  12. font-weight: normal;
  13. font-style: normal;
  14. }
  15. @font-face {
  16. font-family: 'cormorantBoldItalic';
  17. src: url('../fonts/Cormorant-BoldItalic-webfont.woff2') format('woff2'),
  18. url('../fonts/Cormorant-BoldItalic-webfont.woff') format('woff');
  19. font-weight: lighter;
  20. font-style: normal;
  21. }
  22. @font-face {
  23. font-family: 'truenoregular';
  24. src: url('../fonts/truenorg-webfont.woff2') format('woff2'),
  25. url('../fonts/truenorg-webfont.woff') format('woff');
  26. font-weight: normal;
  27. font-style: normal;
  28. }
  29. #block-mainnavigation{
  30. ul{
  31. li{
  32. font-size: 0.9rem;
  33. a{
  34. color: black;
  35. font-family: 'truenoregular';
  36. &:hover{
  37. color: black;
  38. text-decoration: none;
  39. font-weight: bold;
  40. }
  41. }
  42. }
  43. }
  44. }
  45. a{
  46. &:hover{
  47. text-decoration: none;
  48. }
  49. }
  50. main{
  51. h2{
  52. font-family: 'dukefill';
  53. font-size: 3.5rem;
  54. line-height: 3rem;
  55. letter-spacing: $letter_spacingH;
  56. }
  57. h2, a{
  58. color: $color2;
  59. }
  60. &.home{
  61. h2{
  62. font-size: 2rem;
  63. font-family: 'truenoregular';
  64. line-height: normal;
  65. }
  66. }
  67. #txt_present{
  68. .__sub-title-present{
  69. p{
  70. font-family: 'truenoregular';
  71. font-style: italic;
  72. font-size: 0.9rem;
  73. line-height: 1.2rem;
  74. }
  75. }
  76. .__body-present{
  77. p{
  78. font-family: 'truenoregular';
  79. font-weight: lighter;
  80. font-size: 1.2rem;
  81. line-height: 1.8rem;
  82. }
  83. }
  84. .more_link{
  85. a{
  86. font-size: 0.7rem
  87. }
  88. }
  89. }
  90. .more_link{
  91. a{
  92. font-family: 'truenoregular';
  93. font-size: 0.6rem;
  94. }
  95. }
  96. h3{
  97. text-transform: uppercase;
  98. margin: 2rem 0;
  99. font-family: 'dukefill';
  100. font-size: 3rem;
  101. letter-spacing: $letter_spacingH;
  102. color: $lightgrey;
  103. }
  104. .__ressources{
  105. h4{
  106. text-transform: uppercase;
  107. margin: 2rem 0;
  108. font-family: 'dukefill';
  109. font-size: 2rem;
  110. letter-spacing: $letter_spacingH;
  111. color: $color2
  112. }
  113. }
  114. blockquote{
  115. p{
  116. font-family: 'cormorantBold';
  117. font-size: 2.5rem;
  118. line-height: 3rem;
  119. font-weight: lighter;
  120. @media screen and (min-width: 768px) {
  121. font-size: 3rem;
  122. line-height: 3.5rem;
  123. }
  124. }
  125. }
  126. p{
  127. font-size: 1rem;
  128. line-height: 1.5rem;
  129. font-family: 'truenoregular';
  130. }
  131. a{
  132. color: black;
  133. &:hover{
  134. color: black;
  135. }
  136. }
  137. .__wrap_content{
  138. p{
  139. a{
  140. display: inline;
  141. background: $underline;
  142. }
  143. }
  144. }
  145. // Page programme
  146. .container{
  147. &.programme{
  148. h3{
  149. font-size: 1.5rem;
  150. font-family: 'truenoregular';
  151. color: $col_black;
  152. }
  153. }
  154. }
  155. // page publication
  156. article{
  157. &.publications{
  158. .__wrap_content{
  159. .__head{
  160. & *{
  161. color: $color2;
  162. }
  163. .__auteur{
  164. div{
  165. font-family: 'cormorantBold';
  166. font-size: 1.5rem;
  167. }
  168. }
  169. .__titre{
  170. span{
  171. font-family: 'cormorantBoldItalic';
  172. font-size: 1.5rem;
  173. }
  174. }
  175. .__info{
  176. margin: 1rem 0;
  177. div{
  178. font-family: 'cormorantBold';
  179. font-size: 1rem;
  180. }
  181. }
  182. }
  183. }
  184. }
  185. }
  186. .thumbnails{
  187. time, .type_moment{
  188. font-family: 'truenoregular';
  189. font-size: 0.9rem;
  190. text-transform: uppercase;
  191. }
  192. &.programme{
  193. .__content{
  194. font-family: 'truenoregular';
  195. font-weight: bold;
  196. font-size: 1rem;
  197. text-transform: uppercase;
  198. }
  199. }
  200. &.publications{
  201. .__content{
  202. div{
  203. font-family: 'cormorantBold';
  204. font-size: 1.2rem;
  205. }
  206. span{
  207. font-family: 'cormorantBoldItalic';
  208. font-size: 1.2rem;
  209. }
  210. }
  211. }
  212. &.bibliographie{
  213. background: transparent;
  214. div,p{
  215. font-family: 'cormorantBold';
  216. font-size: 1.2rem;
  217. }
  218. span{
  219. font-family: 'cormorantBoldItalic';
  220. font-size: 1.2rem;
  221. }
  222. }
  223. }
  224. // page shadow_participants
  225. article{
  226. &.participant_full{
  227. .__auteur{
  228. h2{
  229. font-family: 'truenoregular';
  230. font-size: 2rem;
  231. letter-spacing: normal;
  232. }
  233. }
  234. .status{
  235. div{
  236. font-family: 'truenoregular';
  237. font-style: italic;
  238. font-size: 0.8rem;
  239. text-align: center;
  240. @media screen and (min-width: 768px) {
  241. text-align: left;
  242. }
  243. }
  244. }
  245. }
  246. }
  247. // thumbnails_participants
  248. .thumbnails_participants{
  249. @include shadow_participants;
  250. *{
  251. color: $color2;
  252. }
  253. .__name{
  254. font-family: 'truenoregular';
  255. font-size: 1rem;
  256. }
  257. .__qualite{
  258. font-family: 'truenoregular';
  259. font-size: 0.8rem;
  260. font-style: italic;
  261. }
  262. }
  263. .paragraph--type--role-de-l-intervenant{
  264. .___title_inter{
  265. div{
  266. font-family: 'truenoregular';
  267. font-weight: bold;
  268. font-size: 0.8rem;
  269. text-transform: uppercase;
  270. }
  271. }
  272. }
  273. article{
  274. .__head{
  275. div{
  276. font-family: 'truenoregular';
  277. font-size: 1rem;
  278. // text-transform: uppercase;
  279. }
  280. }
  281. }
  282. #block-views-block-slide-programme-block-1,
  283. #block-views-block-dernieres-publications-block-1{
  284. h3{
  285. text-transform: uppercase;
  286. margin: 0;
  287. font-family: 'dukefill';
  288. font-size: 2rem;
  289. letter-spacing: $letter_spacingH;
  290. color: $color2
  291. }
  292. }
  293. }
  294. #block-popsu-colloque-submenu{
  295. ul{
  296. li{
  297. a{
  298. font-size: 2rem;
  299. font-family: 'dukefill';
  300. letter-spacing: 0.05rem;
  301. text-transform: uppercase;
  302. }
  303. }
  304. }
  305. }
  306. .more_link{
  307. span{
  308. padding-left: 0.5rem;
  309. }
  310. }