File tree Expand file tree Collapse file tree 7 files changed +52
-15
lines changed
Expand file tree Collapse file tree 7 files changed +52
-15
lines changed Original file line number Diff line number Diff line change 22layout : layouts/base.vto
33 ---
44
5- {{# Artigo #}}
6- <article >
7- <header >
8- <h1 >{{ title }}</h1 >
9- </header >
5+ <header class =" header" >
6+ <h1 class =" header-title" >{{ title }}</h1 >
7+ </header >
108
11- <div >
12- {{ for block of body }}
13- {{ await comp[block .type ](block) }}
14- {{ / for }}
15- </div >
16- </article >
9+ <div class =" blocks" >
10+ {{ for block of body }}
11+ {{ await comp[block .type ](block) }}
12+ {{ / for }}
13+ </div >
1714
18- {{# Menú #}}
1915<nav >
2016 <ul >
21- {{ for p of search .pages (` menu=true lang=${ lang} ` , " order=asc" ) }}
17+ {{ for p of search .pages (` type=about lang=${ lang} ` , " order=asc" ) }}
2218 <li {{ if p.url == url }} class =" is-active" {{ /if }} >
2319 <a href =" {{ p .url }}" >{{ p .title }}</a >
2420 </li >
Original file line number Diff line number Diff line change 1+ .blocks {
2+ display : grid;
3+ grid-column : full;
4+ grid-template-columns : subgrid;
5+ }
6+ .section {
7+ grid-column : center;
8+ }
9+
10+ .section-text {
11+ font-size : var (--size-2 );
12+ line-height : var (--line-text );
13+ }
14+ .section-image {
15+ grid-column : content;
16+ display : grid;
17+ grid-template-columns : subgrid;
18+
19+ figcaption {
20+ grid-row : 1 ;
21+ grid-column : content-start / center-start;
22+ text-align : right;
23+ font-size : var (--size-0 );
24+ }
25+ picture {
26+ grid-row : 1 ;
27+ grid-column : center-start / content-end;
28+ }
29+ img {
30+ display : block;
31+ max-width : 100% ;
32+ border-radius : var (--border-radius );
33+ }
34+ }
Original file line number Diff line number Diff line change 22 display : grid;
33 row-gap : var (--space-s );
44 margin-bottom : 100px ;
5- grid-column : center ;
5+ grid-column : content ;
66 align-content : start;
77 max-width : 800px ;
8+
9+ @media (width > 1200px) {
10+ grid-column-start : center-start;
11+ }
812}
913
1014.header-title {
Original file line number Diff line number Diff line change 3232 --line-xshort : 1.1 ;
3333 --line-short : 1.3 ;
3434 --line-base : 1.4 ;
35+ --line-text : 1.6 ;
3536
3637 /* FX */
3738 --border-radius : 6px ;
Original file line number Diff line number Diff line change 2121 Javier Pérez (tesoureiro), Antonio Doñate (vogal) e M.ª del Rosario
2222 Domínguez (vogal).
2323 type: text
24- - image : /about/images /55c3b7c86bc95-asemblea-2006.jpg
24+ - image : /img/about /55c3b7c86bc95-asemblea-2006.jpg
2525 text : " Primeira asemblea da DAG, 30 de xuño de 2006"
2626 mode : normal
2727 type : image
Original file line number Diff line number Diff line change 11layout : layouts/about.vto
22main_menu : about
3+ type : about
Original file line number Diff line number Diff line change 1212@import "styles/components/members.css" layer(components);
1313@import "styles/components/filter.css" layer(components);
1414@import "styles/components/link.css" layer(components);
15+ @import "styles/components/blocks.css" layer(components);
You can’t perform that action at this time.
0 commit comments