diff --git a/gestioncof/cms/static/cofcms/css/screen.css b/gestioncof/cms/static/cofcms/css/screen.css index 5065be39..35d82c70 100644 --- a/gestioncof/cms/static/cofcms/css/screen.css +++ b/gestioncof/cms/static/cofcms/css/screen.css @@ -2,7 +2,7 @@ * In this file you should write your main styles. (or centralize your imports) * Import this file using the following HTML or equivalent: * */ -/* line 5, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 5, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -24,45 +24,45 @@ time, mark, audio, video { vertical-align: baseline; } -/* line 22, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 22, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ html { line-height: 1; } -/* line 24, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 24, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ ol, ul { list-style: none; } -/* line 26, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 26, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ table { border-collapse: collapse; border-spacing: 0; } -/* line 28, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 28, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; } -/* line 30, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 30, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ q, blockquote { quotes: none; } -/* line 103, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 103, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; } -/* line 32, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 32, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ a img { border: none; } -/* line 116, ../../../../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ +/* line 116, ../../../../../../../../../../var/lib/gems/2.5.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } @@ -99,66 +99,71 @@ h2 { font-size: 1.6em; } -/* line 36, ../sass/screen.scss */ +/* line 37, ../sass/screen.scss */ a { color: #CC9500; text-decoration: none; font-weight: bold; } -/* line 42, ../sass/screen.scss */ +/* line 43, ../sass/screen.scss */ h2 a { font-weight: inherit; color: inherit; } -/* line 48, ../sass/screen.scss */ +/* line 49, ../sass/screen.scss */ header a { color: #fefefe; } -/* line 51, ../sass/screen.scss */ +/* line 52, ../sass/screen.scss */ header section { display: flex; width: 100%; justify-content: space-between; align-items: stretch; } -/* line 57, ../sass/screen.scss */ +/* line 58, ../sass/screen.scss */ header section.bottom-menu { justify-content: space-around; text-align: center; background: #90001C; } -/* line 63, ../sass/screen.scss */ +/* line 64, ../sass/screen.scss */ header h1 { padding: 0 15px; } /* line 67, ../sass/screen.scss */ -header nav ul { +header nav { display: inline-flex; } /* line 69, ../sass/screen.scss */ +header nav ul { + display: inline-flex; + flex-wrap: wrap; +} +/* line 72, ../sass/screen.scss */ header nav ul li { display: inline-block; } -/* line 71, ../sass/screen.scss */ +/* line 74, ../sass/screen.scss */ header nav ul li > * { display: block; padding: 10px 15px; font-weight: bold; } -/* line 76, ../sass/screen.scss */ +/* line 79, ../sass/screen.scss */ header nav ul li > *:hover { background: #280008; } -/* line 82, ../sass/screen.scss */ +/* line 85, ../sass/screen.scss */ header nav .lang-select { display: inline-block; height: 100%; vertical-align: top; position: relative; } -/* line 88, ../sass/screen.scss */ +/* line 91, ../sass/screen.scss */ header nav .lang-select:before { content: ""; color: #fff; @@ -170,12 +175,12 @@ header nav .lang-select:before { margin: 10px 0; padding-left: 10px; } -/* line 100, ../sass/screen.scss */ +/* line 103, ../sass/screen.scss */ header nav .lang-select a { padding: 10px 20px; display: block; } -/* line 104, ../sass/screen.scss */ +/* line 107, ../sass/screen.scss */ header nav .lang-select a img { display: block; width: auto; @@ -183,34 +188,34 @@ header nav .lang-select a img { vertical-align: middle; } -/* line 115, ../sass/screen.scss */ +/* line 118, ../sass/screen.scss */ article { line-height: 1.4; } -/* line 117, ../sass/screen.scss */ +/* line 120, ../sass/screen.scss */ article p, article ul { margin: 0.4em 0; } -/* line 120, ../sass/screen.scss */ +/* line 123, ../sass/screen.scss */ article ul { padding-left: 20px; } -/* line 122, ../sass/screen.scss */ +/* line 125, ../sass/screen.scss */ article ul li { list-style: outside; } -/* line 126, ../sass/screen.scss */ +/* line 129, ../sass/screen.scss */ article:last-child { margin-bottom: 30px; } -/* line 131, ../sass/screen.scss */ +/* line 134, ../sass/screen.scss */ .container { max-width: 1000px; margin: 0 auto; position: relative; } -/* line 136, ../sass/screen.scss */ +/* line 139, ../sass/screen.scss */ .container .aside-wrap { position: absolute; top: 30px; @@ -218,7 +223,7 @@ article:last-child { width: 25%; left: 6px; } -/* line 143, ../sass/screen.scss */ +/* line 146, ../sass/screen.scss */ .container .aside-wrap .aside { color: #222; position: fixed; @@ -229,50 +234,80 @@ article:last-child { padding: 15px; box-shadow: -4px 4px 1px rgba(153, 118, 0, 0.3); } -/* line 153, ../sass/screen.scss */ +/* line 156, ../sass/screen.scss */ .container .aside-wrap .aside h2 { color: #fff; } -/* line 157, ../sass/screen.scss */ +/* line 160, ../sass/screen.scss */ .container .aside-wrap .aside .calendar { margin: 0 auto; display: block; } -/* line 162, ../sass/screen.scss */ +/* line 165, ../sass/screen.scss */ .container .aside-wrap .aside a { color: #805d00; } -/* line 164, ../sass/screen.scss */ +/* line 167, ../sass/screen.scss */ .container .aside-wrap .aside a:hover { text-decoration: underline; } -/* line 169, ../sass/screen.scss */ +/* line 172, ../sass/screen.scss */ .container .aside-wrap .aside .aside-content { max-height: 70vh; max-height: calc(80vh - 150px); overflow-y: auto; } -/* line 176, ../sass/screen.scss */ +/* line 179, ../sass/screen.scss */ .container .aside-wrap .aside ul.directory li { list-style: "." inside; padding-left: 10px; text-indent: -10px; margin-bottom: 5px; } -/* line 186, ../sass/screen.scss */ +/* line 189, ../sass/screen.scss */ .container .content { max-width: 900px; margin-left: auto; margin-right: 6px; } -/* line 191, ../sass/screen.scss */ +/* line 194, ../sass/screen.scss */ +.container .content h3 { + font-weight: bold; + font-size: 1.2em; +} +/* line 199, ../sass/screen.scss */ +.container .content h4 { + font-weight: bold; + font-style: italic; +} +/* line 204, ../sass/screen.scss */ +.container .content b, .container .content strong { + font-weight: bold; +} +/* line 208, ../sass/screen.scss */ +.container .content i { + font-style: italic; +} +/* line 213, ../sass/screen.scss */ +.container .content .intro ul, .container .content .intro ol, .container .content article.paragraph ul, .container .content article.paragraph ol, .container .content article.entry .desc ul, .container .content article.entry .desc ol { + padding-left: 1em; +} +/* line 219, ../sass/screen.scss */ +.container .content .intro ul li, .container .content article.paragraph ul li, .container .content article.entry .desc ul li { + list-style: disc; +} +/* line 222, ../sass/screen.scss */ +.container .content .intro ol li, .container .content article.paragraph ol li, .container .content article.entry .desc ol li { + list-style: arabic; +} +/* line 227, ../sass/screen.scss */ .container .content .intro { border-bottom: 3px solid #7f7f7f; margin: 20px 0; margin-top: 5px; padding: 15px 5px; } -/* line 200, ../sass/screen.scss */ +/* line 236, ../sass/screen.scss */ .container .content section article { background: #fff; padding: 20px 30px; @@ -280,31 +315,31 @@ article:last-child { border: 1px solid rgba(153, 118, 0, 0.1); border-radius: 2px; } -/* line 206, ../sass/screen.scss */ +/* line 242, ../sass/screen.scss */ .container .content section article a { color: #CC9500; } -/* line 211, ../sass/screen.scss */ +/* line 247, ../sass/screen.scss */ .container .content section article + h2 { margin-top: 15px; } -/* line 215, ../sass/screen.scss */ +/* line 251, ../sass/screen.scss */ .container .content section article + article { margin-top: 25px; } -/* line 219, ../sass/screen.scss */ +/* line 255, ../sass/screen.scss */ .container .content section .image { margin: 15px 0; text-align: center; padding: 20px; } -/* line 224, ../sass/screen.scss */ +/* line 260, ../sass/screen.scss */ .container .content section .image img { max-width: 100%; height: auto; box-shadow: -7px 7px 1px rgba(153, 118, 0, 0.2); } -/* line 232, ../sass/screen.scss */ +/* line 268, ../sass/screen.scss */ .container .content section.directory article.entry { width: 80%; max-width: 600px; @@ -312,7 +347,7 @@ article:last-child { position: relative; margin-left: 6%; } -/* line 239, ../sass/screen.scss */ +/* line 275, ../sass/screen.scss */ .container .content section.directory article.entry .entry-image { display: block; float: right; @@ -327,31 +362,31 @@ article:last-child { margin-bottom: 10px; transform: translateX(10px); } -/* line 253, ../sass/screen.scss */ +/* line 289, ../sass/screen.scss */ .container .content section.directory article.entry .entry-image img { width: auto; height: auto; max-width: 100%; max-height: 100%; } -/* line 261, ../sass/screen.scss */ +/* line 297, ../sass/screen.scss */ .container .content section.directory article.entry ul.links { margin-top: 10px; border-top: 1px solid #90001C; padding-top: 10px; } -/* line 269, ../sass/screen.scss */ +/* line 305, ../sass/screen.scss */ .container .content section.actuhome { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: top; } -/* line 275, ../sass/screen.scss */ +/* line 311, ../sass/screen.scss */ .container .content section.actuhome article + article { margin: 0; } -/* line 279, ../sass/screen.scss */ +/* line 315, ../sass/screen.scss */ .container .content section.actuhome article.actu { position: relative; background: none; @@ -361,7 +396,7 @@ article:last-child { min-width: 300px; flex: 1; } -/* line 288, ../sass/screen.scss */ +/* line 324, ../sass/screen.scss */ .container .content section.actuhome article.actu .actu-header { position: relative; box-shadow: -4px 5px 1px rgba(153, 118, 0, 0.3); @@ -375,7 +410,7 @@ article:last-child { background-position: center center; background-repeat: no-repeat; } -/* line 301, ../sass/screen.scss */ +/* line 337, ../sass/screen.scss */ .container .content section.actuhome article.actu .actu-header h2 { position: absolute; width: 100%; @@ -385,11 +420,11 @@ article:last-child { text-shadow: 0 0 5px rgba(153, 118, 0, 0.8); background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); } -/* line 309, ../sass/screen.scss */ +/* line 345, ../sass/screen.scss */ .container .content section.actuhome article.actu .actu-header h2 a { color: #fff; } -/* line 315, ../sass/screen.scss */ +/* line 351, ../sass/screen.scss */ .container .content section.actuhome article.actu .actu-misc { background: white; box-shadow: -2px 2px 1px rgba(153, 118, 0, 0.2); @@ -399,17 +434,17 @@ article:last-child { padding: 15px; padding-top: 5px; } -/* line 324, ../sass/screen.scss */ +/* line 360, ../sass/screen.scss */ .container .content section.actuhome article.actu .actu-misc .actu-minical { display: block; } -/* line 327, ../sass/screen.scss */ +/* line 363, ../sass/screen.scss */ .container .content section.actuhome article.actu .actu-misc .actu-dates { display: block; text-align: right; font-size: 0.9em; } -/* line 334, ../sass/screen.scss */ +/* line 370, ../sass/screen.scss */ .container .content section.actuhome article.actu .actu-overlay { display: block; background: none; @@ -421,81 +456,81 @@ article:last-child { z-index: 5; opacity: 0; } -/* line 350, ../sass/screen.scss */ +/* line 386, ../sass/screen.scss */ .container .content section.actulist article.actu { display: flex; width: 100%; padding: 0; } -/* line 355, ../sass/screen.scss */ +/* line 391, ../sass/screen.scss */ .container .content section.actulist article.actu .actu-image { width: 30%; max-width: 200px; background-size: cover; background-position: center center; } -/* line 361, ../sass/screen.scss */ +/* line 397, ../sass/screen.scss */ .container .content section.actulist article.actu .actu-infos { padding: 15px; flex: 1; } -/* line 365, ../sass/screen.scss */ +/* line 401, ../sass/screen.scss */ .container .content section.actulist article.actu .actu-infos .actu-dates { font-weight: bold; font-size: 0.9em; } -/* line 375, ../sass/screen.scss */ +/* line 411, ../sass/screen.scss */ .container .aside-wrap + .content { max-width: 70%; } -/* line 380, ../sass/screen.scss */ +/* line 416, ../sass/screen.scss */ .calendar { color: rgba(0, 0, 0, 0.8); width: 200px; } -/* line 384, ../sass/screen.scss */ +/* line 420, ../sass/screen.scss */ .calendar td, .calendar th { text-align: center; vertical-align: middle; border: 2px solid transparent; padding: 1px; } -/* line 391, ../sass/screen.scss */ +/* line 427, ../sass/screen.scss */ .calendar th { font-weight: bold; } -/* line 395, ../sass/screen.scss */ +/* line 431, ../sass/screen.scss */ .calendar td { font-size: 0.8em; width: 28px; height: 28px; } -/* line 400, ../sass/screen.scss */ +/* line 436, ../sass/screen.scss */ .calendar td.out { opacity: 0.3; } -/* line 403, ../sass/screen.scss */ +/* line 439, ../sass/screen.scss */ .calendar td.today { border-bottom-color: #000; } -/* line 406, ../sass/screen.scss */ +/* line 442, ../sass/screen.scss */ .calendar td:nth-child(7), .calendar td:nth-child(6) { background: rgba(0, 0, 0, 0.2); } -/* line 409, ../sass/screen.scss */ +/* line 445, ../sass/screen.scss */ .calendar td.hasevent { position: relative; font-weight: bold; color: #90001C; font-size: 1em; } -/* line 415, ../sass/screen.scss */ +/* line 451, ../sass/screen.scss */ .calendar td.hasevent > a { padding: 3px; color: #90001C !important; } -/* line 420, ../sass/screen.scss */ +/* line 456, ../sass/screen.scss */ .calendar td.hasevent ul.cal-events { text-align: left; display: none; @@ -508,11 +543,11 @@ article:last-child { padding: 5px; background-color: #90001C; } -/* line 433, ../sass/screen.scss */ +/* line 469, ../sass/screen.scss */ .calendar td.hasevent ul.cal-events .datename { display: none; } -/* line 436, ../sass/screen.scss */ +/* line 472, ../sass/screen.scss */ .calendar td.hasevent ul.cal-events:before { top: -12px; left: 38px; @@ -521,33 +556,33 @@ article:last-child { border: 6px solid transparent; border-bottom-color: #90001C; } -/* line 444, ../sass/screen.scss */ +/* line 480, ../sass/screen.scss */ .calendar td.hasevent ul.cal-events a { color: #fff; } -/* line 449, ../sass/screen.scss */ +/* line 485, ../sass/screen.scss */ .calendar td.hasevent > a:hover { background-color: #90001C; color: #fff !important; } -/* line 453, ../sass/screen.scss */ +/* line 489, ../sass/screen.scss */ .calendar td.hasevent > a:hover + ul.cal-events { display: block; } -/* line 461, ../sass/screen.scss */ +/* line 497, ../sass/screen.scss */ #calendar-wrap .details { border-top: 1px solid #90001C; margin-top: 15px; padding-top: 10px; } -/* line 466, ../sass/screen.scss */ +/* line 502, ../sass/screen.scss */ #calendar-wrap .details li.datename { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; } -/* line 467, ../sass/screen.scss */ +/* line 503, ../sass/screen.scss */ #calendar-wrap .details li.datename:after { content: " :"; } diff --git a/gestioncof/cms/static/cofcms/sass/screen.scss b/gestioncof/cms/static/cofcms/sass/screen.scss index 0f2001f8..f99b9129 100644 --- a/gestioncof/cms/static/cofcms/sass/screen.scss +++ b/gestioncof/cms/static/cofcms/sass/screen.scss @@ -33,6 +33,7 @@ h2 { font-size: 1.6em; } + a { color: $lien; text-decoration: none; @@ -64,8 +65,10 @@ header { padding: 0 15px; } nav { + display: inline-flex; ul { display: inline-flex; + flex-wrap: wrap; li { display: inline-block; & > * { @@ -188,6 +191,39 @@ article { margin-left: auto; margin-right: 6px; + h3 { + font-weight: bold; + font-size: 1.2em; + } + + h4 { + font-weight: bold; + font-style: italic; + } + + b, strong { + font-weight: bold; + } + + i { + font-style: italic; + } + + .intro, article.paragraph, article.entry .desc { + ul, ol { + padding-left: 1em; + li { + + } + } + ul li { + list-style: disc; + } + ol li { + list-style: arabic; + } + } + .intro { border-bottom: 3px solid darken($fond, 50%); margin: 20px 0; diff --git a/gestioncof/cms/templates/cofcms/base_nav.html b/gestioncof/cms/templates/cofcms/base_nav.html index b7ce4c66..f8b3fa65 100644 --- a/gestioncof/cms/templates/cofcms/base_nav.html +++ b/gestioncof/cms/templates/cofcms/base_nav.html @@ -4,7 +4,11 @@
  • {% if item.link_page %} - {{ item.link_page.title }} + {% if item.link_page.seo_title %} + {{ item.link_page.seo_title }} + {% else %} + {{ item.link_page.title }} + {% endif %} {% else %}