commit 42f0fe7cf0394ffa72a47c67e10e98e053c4c4c2 Author: Enric Pineda Date: Sun May 21 23:02:51 2023 +0200 Commit inicial a Forgejo diff --git a/agenda.php b/agenda.php new file mode 100644 index 0000000..f9a6f9b --- /dev/null +++ b/agenda.php @@ -0,0 +1,40 @@ + + + + +
+
+

+
+
+ + + + +
+
+ 'publicacions', +'cat' => '32', + 'posts_per_page' => 20, + 'orderby' => 'date', + 'order' => 'DESC' + ); + $consulta = new WP_Query($args); + while ($consulta->have_posts()): + $consulta->the_post(); + the_title('

','

'); +the_excerpt(); + +endwhile; + +?> + +
+ +
+ + diff --git a/agendakej.php b/agendakej.php new file mode 100644 index 0000000..49386a1 --- /dev/null +++ b/agendakej.php @@ -0,0 +1,40 @@ + + + + +
+
+

+
+
+ + + + +
+
+ 'events', + + 'posts_per_page' => 20, + 'orderby' => 'date', + 'order' => 'DESC' + ); + $consulta = new WP_Query($args); + while ($consulta->have_posts()): + $consulta->the_post(); + the_title('

','

'); +the_excerpt(); + +endwhile; + +?> + +
+ +
+ + diff --git a/archive-kej.php b/archive-kej.php new file mode 100644 index 0000000..a55dfcd --- /dev/null +++ b/archive-kej.php @@ -0,0 +1,40 @@ + + + + +
+
+

+
+
+ + + + +
+
+ 'post', + 'category_name' => 'noticies-kej', + 'posts_per_page' => 20, + 'orderby' => 'date', + 'order' => 'DESC' + ); + $consulta = new WP_Query($args); + while ($consulta->have_posts()): + $consulta->the_post(); +the_title('

','

'); +the_excerpt(); + +endwhile; + +?> + +
+ +
+ + diff --git a/archive.php b/archive.php new file mode 100644 index 0000000..796eec4 --- /dev/null +++ b/archive.php @@ -0,0 +1,47 @@ + + + + +
+
+

+
+
+ + + + +
+
+ 'post', + 'category_name' => 'anuncis-i-noticies', + + 'posts_per_page' => 20, + 'orderby' => 'date', + 'order' => 'DESC' + ); + $consulta = new WP_Query($args); + while ($consulta->have_posts()): + $consulta->the_post(); + ?> +
+
+
+ ',''); +the_excerpt(); +echo "

"; +endwhile; + +?> + +
+ +
+ + diff --git a/css/glide.core.min.css b/css/glide.core.min.css new file mode 100644 index 0000000..60a1094 --- /dev/null +++ b/css/glide.core.min.css @@ -0,0 +1 @@ +.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows{-webkit-touch-callout:none;user-select:none}.glide__bullets{-webkit-touch-callout:none;user-select:none}.glide--rtl{direction:rtl} diff --git a/css/glide.theme.min.css b/css/glide.theme.min.css new file mode 100644 index 0000000..4dbfee5 --- /dev/null +++ b/css/glide.theme.min.css @@ -0,0 +1 @@ +.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:white;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,0.5);border-radius:4px;box-shadow:0 0.25em 0.5em 0 rgba(0,0,0,0.1);text-shadow:0 0.25em 0.5em rgba(0,0,0,0.1);opacity:1;cursor:pointer;transition:opacity 150ms ease, border 300ms ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:none}.glide__arrow:hover{border-color:white}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:0.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translateX(-50%)}.glide__bullet{background-color:rgba(255,255,255,0.5);width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all 300ms ease-in-out;cursor:pointer;line-height:0;box-shadow:0 0.25em 0.5em 0 rgba(0,0,0,0.1);margin:0 0.25em}.glide__bullet:focus{outline:none}.glide__bullet:hover,.glide__bullet:focus{border:2px solid white;background-color:rgba(255,255,255,0.5)}.glide__bullet--active{background-color:white}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing} diff --git a/fonts/AkkurBol_eo.woff2 b/fonts/AkkurBol_eo.woff2 new file mode 100644 index 0000000..fbbdadd Binary files /dev/null and b/fonts/AkkurBol_eo.woff2 differ diff --git a/fonts/Akkurat-Bold.ttf b/fonts/Akkurat-Bold.ttf new file mode 100644 index 0000000..4b1e0bc Binary files /dev/null and b/fonts/Akkurat-Bold.ttf differ diff --git a/fonts/Akkurat-Bold.woff2 b/fonts/Akkurat-Bold.woff2 new file mode 100644 index 0000000..1eb1ffc Binary files /dev/null and b/fonts/Akkurat-Bold.woff2 differ diff --git a/fonts/Akkurat.otf b/fonts/Akkurat.otf new file mode 100644 index 0000000..68f3498 Binary files /dev/null and b/fonts/Akkurat.otf differ diff --git a/fonts/Akkurat_eo.woff2 b/fonts/Akkurat_eo.woff2 new file mode 100644 index 0000000..b871e83 Binary files /dev/null and b/fonts/Akkurat_eo.woff2 differ diff --git a/fonts/akkurat-demo.html b/fonts/akkurat-demo.html new file mode 100644 index 0000000..0ac7ae2 --- /dev/null +++ b/fonts/akkurat-demo.html @@ -0,0 +1,618 @@ + + + + + + + + + + + + + Akkurat Regular Specimen + + + + + + +
+ + + +
+ + +
+ +
+
+
AaBb
+
+
+ +
+
A​B​C​D​E​F​G​H​I​J​K​L​M​N​O​P​Q​R​S​T​U​V​W​X​Y​Z​a​b​c​d​e​f​g​h​i​j​k​l​m​n​o​p​q​r​s​t​u​v​w​x​y​z​1​2​3​4​5​6​7​8​9​0​&​.​,​?​!​@​(​)​#​$​%​*​+​-​=​:​;
+
+
+
+ + + + + + + + + + + + + + + + +
10abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
11abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
12abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
13abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
14abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
16abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
18abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
20abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
24abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
30abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
36abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
48abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
60abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
72abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
90abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
+ +
+ +
+ + + +
+ + +
+
◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼body
body
body
body
+
+ bodyAkkurat Regular +
+
+ bodyArial +
+
+ bodyVerdana +
+
+ bodyGeorgia +
+ + + +
+ + +
+ +
+

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+ +
+
+
+

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+ +
+ +
+ +
+
+

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+
+
+

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+
+ +
+ +
+ +
+
+

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+
+
+ +
+ + + +
+
+

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+ +
+ +
+
+

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+ +
+
+ +
+ +
+
+

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+
+
+

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+
+ +
+ +
+ +
+
+

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

+
+
+ +
+ + + + +
+ +
+ +
+ +
+

Lorem Ipsum Dolor

+

Etiam porta sem malesuada magna mollis euismod

+ + +
+
+
+
+

Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

+ + +

Pellentesque ornare sem

+ +

Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit.

+ +

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

+ +

Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur.

+ +

Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla.

+ +

Cras mattis consectetur

+ +

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum.

+ +

Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.

+
+ + +
+ +
+ + + + + + +
+
+
+ +

Language Support

+

The subset of Akkurat Regular in this kit supports the following languages:
+ + Albanian, Basque, Breton, Chamorro, Danish, Dutch, English, Faroese, Finnish, French, Frisian, Galician, German, Icelandic, Italian, Malagasy, Norwegian, Portuguese, Spanish, Alsatian, Aragonese, Arapaho, Arrernte, Asturian, Aymara, Bislama, Cebuano, Corsican, Fijian, French_creole, Genoese, Gilbertese, Greenlandic, Haitian_creole, Hiligaynon, Hmong, Hopi, Ibanag, Iloko_ilokano, Indonesian, Interglossa_glosa, Interlingua, Irish_gaelic, Jerriais, Lojban, Lombard, Luxembourgeois, Manx, Mohawk, Norfolk_pitcairnese, Occitan, Oromo, Pangasinan, Papiamento, Piedmontese, Potawatomi, Rhaeto-romance, Romansh, Rotokas, Sami_lule, Samoan, Sardinian, Scots_gaelic, Seychelles_creole, Shona, Sicilian, Somali, Southern_ndebele, Swahili, Swati_swazi, Tagalog_filipino_pilipino, Tetum, Tok_pisin, Uyghur_latinized, Volapuk, Walloon, Warlpiri, Xhosa, Yapese, Zulu, Latinbasic, Ubasic, Demo

+

Glyph Chart

+

The subset of Akkurat Regular in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.

+
+ +

 

+

!

!
+

"

"
+

#

#
+

$

$
+

%

%
+

&

&
+

'

'
+

(

(
+

)

)
+

*

*
+

+

+
+

,

,
+

-

-
+

.

.
+

/

/
+

0

0
+

1

1
+

2

2
+

3

3
+

4

4
+

5

5
+

6

6
+

7

7
+

8

8
+

9

9
+

:

:
+

&#59;

;
+

<

<
+

&#61;

=
+

&#62;

>
+

&#63;

?
+

&#64;

@
+

&#65;

A
+

&#66;

B
+

&#67;

C
+

&#68;

D
+

&#69;

E
+

&#70;

F
+

&#71;

G
+

&#72;

H
+

&#73;

I
+

&#74;

J
+

&#75;

K
+

&#76;

L
+

&#77;

M
+

&#78;

N
+

&#79;

O
+

&#80;

P
+

&#81;

Q
+

&#82;

R
+

&#83;

S
+

&#84;

T
+

&#85;

U
+

&#86;

V
+

&#87;

W
+

&#88;

X
+

&#89;

Y
+

&#90;

Z
+

&#91;

[
+

&#92;

\
+

&#93;

]
+

&#94;

^
+

&#95;

_
+

&#96;

`
+

&#97;

a
+

&#98;

b
+

&#99;

c
+

&#100;

d
+

&#101;

e
+

&#102;

f
+

&#103;

g
+

&#104;

h
+

&#105;

i
+

&#106;

j
+

&#107;

k
+

&#108;

l
+

&#109;

m
+

&#110;

n
+

&#111;

o
+

&#112;

p
+

&#113;

q
+

&#114;

r
+

&#115;

s
+

&#116;

t
+

&#117;

u
+

&#118;

v
+

&#119;

w
+

&#120;

x
+

&#121;

y
+

&#122;

z
+

&#123;

{
+

&#124;

|
+

&#125;

}
+

&#126;

~
+

&#160;

 
+

&#161;

¡
+

&#162;

¢
+

&#163;

£
+

&#164;

¤
+

&#165;

¥
+

&#166;

¦
+

&#167;

§
+

&#168;

¨
+

&#169;

©
+

&#170;

ª
+

&#171;

«
+

&#172;

¬
+

&#173;

­
+

&#174;

®
+

&#175;

¯
+

&#176;

°
+

&#177;

±
+

&#178;

²
+

&#179;

³
+

&#180;

´
+

&#182;

+

&#183;

·
+

&#184;

¸
+

&#185;

¹
+

&#186;

º
+

&#187;

»
+

&#188;

¼
+

&#189;

½
+

&#190;

¾
+

&#191;

¿
+

&#192;

À
+

&#193;

Á
+

&#194;

Â
+

&#195;

Ã
+

&#196;

Ä
+

&#197;

Å
+

&#198;

Æ
+

&#199;

Ç
+

&#200;

È
+

&#201;

É
+

&#202;

Ê
+

&#203;

Ë
+

&#204;

Ì
+

&#205;

Í
+

&#206;

Î
+

&#207;

Ï
+

&#208;

Ð
+

&#209;

Ñ
+

&#210;

Ò
+

&#211;

Ó
+

&#212;

Ô
+

&#213;

Õ
+

&#214;

Ö
+

&#215;

×
+

&#216;

Ø
+

&#217;

Ù
+

&#218;

Ú
+

&#219;

Û
+

&#220;

Ü
+

&#221;

Ý
+

&#222;

Þ
+

&#223;

ß
+

&#224;

à
+

&#225;

á
+

&#226;

â
+

&#227;

ã
+

&#228;

ä
+

&#229;

å
+

&#230;

æ
+

&#231;

ç
+

&#232;

è
+

&#233;

é
+

&#234;

ê
+

&#235;

ë
+

&#236;

ì
+

&#237;

í
+

&#238;

î
+

&#239;

ï
+

&#240;

ð
+

&#241;

ñ
+

&#242;

ò
+

&#243;

ó
+

&#244;

ô
+

&#245;

õ
+

&#246;

ö
+

&#247;

÷
+

&#248;

ø
+

&#249;

ù
+

&#250;

ú
+

&#251;

û
+

&#252;

ü
+

&#253;

ý
+

&#254;

þ
+

&#255;

ÿ
+

&#338;

Œ
+

&#339;

œ
+

&#376;

Ÿ
+

&#710;

ˆ
+

&#732;

˜
+

&#8192;

 
+

&#8193;

+

&#8194;

+

&#8195;

+

&#8196;

+

&#8197;

+

&#8198;

+

&#8199;

+

&#8200;

+

&#8201;

+

&#8202;

+

&#8208;

+

&#8209;

+

&#8210;

+

&#8211;

+

&#8212;

+

&#8216;

+

&#8217;

+

&#8218;

+

&#8220;

+

&#8221;

+

&#8222;

+

&#8226;

+

&#8230;

+

&#8239;

+

&#8249;

+

&#8250;

+

&#8287;

+

&#8364;

+

&#8482;

+

&#9724;

+

&#64257;

+

&#64258;

+
+
+ + +
+
+ + +
+ +
+ +
+
+
+

Installing Webfonts

+ +

Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.

+ +

1. Upload your webfonts

+

You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.

+ +

2. Include the webfont stylesheet

+

A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the Fontspring blog post about it. The code for it is as follows:

+ + + +@font-face{ + font-family: 'MyWebFont'; + src: url('WebFont.eot'); + src: url('WebFont.eot?#iefix') format('embedded-opentype'), + url('WebFont.woff') format('woff'), + url('WebFont.ttf') format('truetype'), + url('WebFont.svg#webfont') format('svg'); +} + + +

We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:

+ <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /> + +

3. Modify your own stylesheet

+

To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:

+p { font-family: 'WebFont', Arial, sans-serif; } + +

4. Test

+

Getting webfonts to work cross-browser can be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.

+
+ + +
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/fonts/akkurat-webfont.woff b/fonts/akkurat-webfont.woff new file mode 100644 index 0000000..f22f653 Binary files /dev/null and b/fonts/akkurat-webfont.woff differ diff --git a/fonts/akkurat-webfont.woff2 b/fonts/akkurat-webfont.woff2 new file mode 100644 index 0000000..acfae97 Binary files /dev/null and b/fonts/akkurat-webfont.woff2 differ diff --git a/fonts/generator_config.txt b/fonts/generator_config.txt new file mode 100644 index 0000000..81e64f6 --- /dev/null +++ b/fonts/generator_config.txt @@ -0,0 +1,5 @@ +# Font Squirrel Font-face Generator Configuration File +# Upload this file to the generator to recreate the settings +# you used to create these fonts. + +{"mode":"optimal","formats":["woff","woff2"],"tt_instructor":"default","fix_gasp":"xy","fix_vertical_metrics":"Y","metrics_ascent":"","metrics_descent":"","metrics_linegap":"","add_spaces":"Y","add_hyphens":"Y","fallback":"none","fallback_custom":"100","options_subset":"basic","subset_custom":"","subset_custom_range":"","subset_ot_features_list":"","css_stylesheet":"stylesheet.css","filename_suffix":"-webfont","emsquare":"2048","spacing_adjustment":"0"} \ No newline at end of file diff --git a/fonts/specimen_files/grid_12-825-55-15.css b/fonts/specimen_files/grid_12-825-55-15.css new file mode 100644 index 0000000..3d6aef7 --- /dev/null +++ b/fonts/specimen_files/grid_12-825-55-15.css @@ -0,0 +1,129 @@ +/*Notes about grid: +Columns: 12 +Grid Width: 825px +Column Width: 55px +Gutter Width: 15px +-------------------------------*/ + + + +.section {margin-bottom: 18px; +} +.section:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;} +.section {*zoom: 1;} + +.section .firstcolumn, +.section .firstcol {margin-left: 0;} + + +/* Border on left hand side of a column. */ +.border { + padding-left: 7px; + margin-left: 7px; + border-left: 1px solid #eee; +} + +/* Border with more whitespace, spans one column. */ +.colborder { + padding-left: 42px; + margin-left: 42px; + border-left: 1px solid #eee; +} + + + +/* The Grid Classes */ +.grid1, .grid1_2cols, .grid1_3cols, .grid1_4cols, .grid2, .grid2_3cols, .grid2_4cols, .grid3, .grid3_2cols, .grid3_4cols, .grid4, .grid4_3cols, .grid5, .grid5_2cols, .grid5_3cols, .grid5_4cols, .grid6, .grid6_4cols, .grid7, .grid7_2cols, .grid7_3cols, .grid7_4cols, .grid8, .grid8_3cols, .grid9, .grid9_2cols, .grid9_4cols, .grid10, .grid10_3cols, .grid10_4cols, .grid11, .grid11_2cols, .grid11_3cols, .grid11_4cols, .grid12 +{margin-left: 15px;float: left;display: inline; overflow: hidden;} + + +.width1, .grid1, .span-1 {width: 55px;} +.width1_2cols,.grid1_2cols {width: 20px;} +.width1_3cols,.grid1_3cols {width: 8px;} +.width1_4cols,.grid1_4cols {width: 2px;} +.input_width1 {width: 49px;} + +.width2, .grid2, .span-2 {width: 125px;} +.width2_3cols,.grid2_3cols {width: 31px;} +.width2_4cols,.grid2_4cols {width: 20px;} +.input_width2 {width: 119px;} + +.width3, .grid3, .span-3 {width: 195px;} +.width3_2cols,.grid3_2cols {width: 90px;} +.width3_4cols,.grid3_4cols {width: 37px;} +.input_width3 {width: 189px;} + +.width4, .grid4, .span-4 {width: 265px;} +.width4_3cols,.grid4_3cols {width: 78px;} +.input_width4 {width: 259px;} + +.width5, .grid5, .span-5 {width: 335px;} +.width5_2cols,.grid5_2cols {width: 160px;} +.width5_3cols,.grid5_3cols {width: 101px;} +.width5_4cols,.grid5_4cols {width: 72px;} +.input_width5 {width: 329px;} + +.width6, .grid6, .span-6 {width: 405px;} +.width6_4cols,.grid6_4cols {width: 90px;} +.input_width6 {width: 399px;} + +.width7, .grid7, .span-7 {width: 475px;} +.width7_2cols,.grid7_2cols {width: 230px;} +.width7_3cols,.grid7_3cols {width: 148px;} +.width7_4cols,.grid7_4cols {width: 107px;} +.input_width7 {width: 469px;} + +.width8, .grid8, .span-8 {width: 545px;} +.width8_3cols,.grid8_3cols {width: 171px;} +.input_width8 {width: 539px;} + +.width9, .grid9, .span-9 {width: 615px;} +.width9_2cols,.grid9_2cols {width: 300px;} +.width9_4cols,.grid9_4cols {width: 142px;} +.input_width9 {width: 609px;} + +.width10, .grid10, .span-10 {width: 685px;} +.width10_3cols,.grid10_3cols {width: 218px;} +.width10_4cols,.grid10_4cols {width: 160px;} +.input_width10 {width: 679px;} + +.width11, .grid11, .span-11 {width: 755px;} +.width11_2cols,.grid11_2cols {width: 370px;} +.width11_3cols,.grid11_3cols {width: 241px;} +.width11_4cols,.grid11_4cols {width: 177px;} +.input_width11 {width: 749px;} + +.width12, .grid12, .span-12 {width: 825px;} +.input_width12 {width: 819px;} + +/* Subdivided grid spaces */ +.emptycols_left1, .prepend-1 {padding-left: 70px;} +.emptycols_right1, .append-1 {padding-right: 70px;} +.emptycols_left2, .prepend-2 {padding-left: 140px;} +.emptycols_right2, .append-2 {padding-right: 140px;} +.emptycols_left3, .prepend-3 {padding-left: 210px;} +.emptycols_right3, .append-3 {padding-right: 210px;} +.emptycols_left4, .prepend-4 {padding-left: 280px;} +.emptycols_right4, .append-4 {padding-right: 280px;} +.emptycols_left5, .prepend-5 {padding-left: 350px;} +.emptycols_right5, .append-5 {padding-right: 350px;} +.emptycols_left6, .prepend-6 {padding-left: 420px;} +.emptycols_right6, .append-6 {padding-right: 420px;} +.emptycols_left7, .prepend-7 {padding-left: 490px;} +.emptycols_right7, .append-7 {padding-right: 490px;} +.emptycols_left8, .prepend-8 {padding-left: 560px;} +.emptycols_right8, .append-8 {padding-right: 560px;} +.emptycols_left9, .prepend-9 {padding-left: 630px;} +.emptycols_right9, .append-9 {padding-right: 630px;} +.emptycols_left10, .prepend-10 {padding-left: 700px;} +.emptycols_right10, .append-10 {padding-right: 700px;} +.emptycols_left11, .prepend-11 {padding-left: 770px;} +.emptycols_right11, .append-11 {padding-right: 770px;} +.pull-1 {margin-left: -70px;} +.push-1 {margin-right: -70px;margin-left: 18px;float: right;} +.pull-2 {margin-left: -140px;} +.push-2 {margin-right: -140px;margin-left: 18px;float: right;} +.pull-3 {margin-left: -210px;} +.push-3 {margin-right: -210px;margin-left: 18px;float: right;} +.pull-4 {margin-left: -280px;} +.push-4 {margin-right: -280px;margin-left: 18px;float: right;} \ No newline at end of file diff --git a/fonts/specimen_files/specimen_stylesheet.css b/fonts/specimen_files/specimen_stylesheet.css new file mode 100644 index 0000000..aecc43c --- /dev/null +++ b/fonts/specimen_files/specimen_stylesheet.css @@ -0,0 +1,396 @@ +@import url('grid_12-825-55-15.css'); + +/* + CSS Reset by Eric Meyer - Released under Public Domain + http://meyerweb.com/eric/tools/css/reset/ +*/ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, table, +caption, tbody, tfoot, thead, tr, th, td + {margin: 0;padding: 0;border: 0;outline: 0; + font-size: 100%;vertical-align: baseline; + background: transparent;} +body {line-height: 1;} +ol, ul {list-style: none;} +blockquote, q {quotes: none;} +blockquote:before, blockquote:after, +q:before, q:after {content: ''; content: none;} +:focus {outline: 0;} +ins {text-decoration: none;} +del {text-decoration: line-through;} +table {border-collapse: collapse;border-spacing: 0;} + + + + +body { + color: #000; + background-color: #dcdcdc; +} + +a { + text-decoration: none; + color: #1883ba; +} + +h1{ + font-size: 32px; + font-weight: normal; + font-style: normal; + margin-bottom: 18px; +} + +h2{ + font-size: 18px; +} + +#container { + width: 865px; + margin: 0px auto; +} + + +#header { + padding: 20px; + font-size: 36px; + background-color: #000; + color: #fff; +} + +#header span { + color: #666; +} +#main_content { + background-color: #fff; + padding: 60px 20px 20px; +} + + +#footer p { + margin: 0; + padding-top: 10px; + padding-bottom: 50px; + color: #333; + font: 10px Arial, sans-serif; +} + +.tabs { + width: 100%; + height: 31px; + background-color: #444; +} +.tabs li { + float: left; + margin: 0; + overflow: hidden; + background-color: #444; +} +.tabs li a { + display: block; + color: #fff; + text-decoration: none; + font: bold 11px/11px 'Arial'; + text-transform: uppercase; + padding: 10px 15px; + border-right: 1px solid #fff; +} + +.tabs li a:hover { + background-color: #00b3ff; + +} + +.tabs li.active a { + color: #000; + background-color: #fff; +} + + + +div.huge { + + font-size: 300px; + line-height: 1em; + padding: 0; + letter-spacing: -.02em; + overflow: hidden; +} +div.glyph_range { + font-size: 72px; + line-height: 1.1em; +} + +.size10{ font-size: 10px; } +.size11{ font-size: 11px; } +.size12{ font-size: 12px; } +.size13{ font-size: 13px; } +.size14{ font-size: 14px; } +.size16{ font-size: 16px; } +.size18{ font-size: 18px; } +.size20{ font-size: 20px; } +.size24{ font-size: 24px; } +.size30{ font-size: 30px; } +.size36{ font-size: 36px; } +.size48{ font-size: 48px; } +.size60{ font-size: 60px; } +.size72{ font-size: 72px; } +.size90{ font-size: 90px; } + + +.psample_row1 { height: 120px;} +.psample_row1 { height: 120px;} +.psample_row2 { height: 160px;} +.psample_row3 { height: 160px;} +.psample_row4 { height: 160px;} + +.psample { + overflow: hidden; + position: relative; +} +.psample p { + line-height: 1.3em; + display: block; + overflow: hidden; + margin: 0; +} + +.psample span { + margin-right: .5em; +} + +.white_blend { + width: 100%; + height: 61px; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO1JREFUeNrs3TsKgFAMRUE/eer+NxztxMYuEWQG3ECKwwUF58ycAKixOAGAyAKILAAiCyCyACILgMgCiCyAyAIgsgAiCyCyAIgsgMgCiCwAIgsgsgAiC4DIAogsACIL0CWuZ3UGgLrIhjMA1EV2OAOAJQtgyQLwjOzmDAAiCyCyAIgsQFtkd2cAEFkAkQVAZAHaIns4A4AlC2DJAiCyACILILIAiCzAV5H1dQGAJQsgsgCILIDIAvwisl58AViyAJYsACILILIAIgvAe2T9EhxAZAFEFgCRBeiL7HAGgLrIhjMAWLIAliwAt1OAAQDwygTBulLIlQAAAABJRU5ErkJggg==); + position: absolute; + bottom: 0; +} +.black_blend { + width: 100%; + height: 61px; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPJJREFUeNrs3TEKhTAQRVGjibr/9QoxhY2N3Ywo50A28IrLwP9g6b1PAMSYTQAgsgAiC4DIAogsgMgCILIAIgsgsgCILIDIAogsACILILIAIguAyAKILIDIAiCyACILgMgCZCnjLWYAiFGvB0BQZJsZAFyyAC5ZAO6RXc0AILIAIguAyAKkRXYzA4DIAogsACILkBbZ3QwALlkAlywAIgsgsgAiC4DIArwVWf8uAHDJAogsACILILIAv4isH74AXLIALlkARBZAZAFEFoDnyPokOIDIAogsACILkBfZZgaAuMhWMwC4ZAE+p4x3mAEgxinAAJ+XBbPWGkwAAAAAAElFTkSuQmCC); + position: absolute; + bottom: 0; +} +.fullreverse { + background: #000 !important; + color: #fff !important; + margin-left: -20px; + padding-left: 20px; + margin-right: -20px; + padding-right: 20px; + padding: 20px; + margin-bottom:0; +} + + +.sample_table td { + padding-top: 3px; + padding-bottom:5px; + padding-left: 5px; + vertical-align: middle; + line-height: 1.2em; +} + +.sample_table td:first-child { + background-color: #eee; + text-align: right; + padding-right: 5px; + padding-left: 0; + padding: 5px; + font: 11px/12px "Courier New", Courier, mono; +} + +code { + white-space: pre; + background-color: #eee; + display: block; + padding: 10px; + margin-bottom: 18px; + overflow: auto; +} + + +.bottom,.last {margin-bottom:0 !important; padding-bottom:0 !important;} + +.box { + padding: 18px; + margin-bottom: 18px; + background: #eee; +} + +.reverse,.reversed { background: #000 !important;color: #fff !important; border: none !important;} + +#bodycomparison { + position: relative; + overflow: hidden; + font-size: 72px; + height: 90px; + white-space: nowrap; +} + +#bodycomparison div{ + font-size: 72px; + line-height: 90px; + display: inline; + margin: 0 15px 0 0; + padding: 0; +} + +#bodycomparison div span{ + font: 10px Arial; + position: absolute; + left: 0; +} +#xheight { + float: none; + position: absolute; + color: #d9f3ff; + font-size: 72px; + line-height: 90px; +} + +.fontbody { + position: relative; +} +.arialbody{ + font-family: Arial; + position: relative; +} +.verdanabody{ + font-family: Verdana; + position: relative; +} +.georgiabody{ + font-family: Georgia; + position: relative; +} + +/* @group Layout page + */ + +#layout h1 { + font-size: 36px; + line-height: 42px; + font-weight: normal; + font-style: normal; +} + +#layout h2 { + font-size: 24px; + line-height: 23px; + font-weight: normal; + font-style: normal; +} + +#layout h3 { + font-size: 22px; + line-height: 1.4em; + margin-top: 1em; + font-weight: normal; + font-style: normal; +} + + +#layout p.byline { + font-size: 12px; + margin-top: 18px; + line-height: 12px; + margin-bottom: 0; +} +#layout p { + font-size: 14px; + line-height: 21px; + margin-bottom: .5em; +} + +#layout p.large{ + font-size: 18px; + line-height: 26px; +} + +#layout .sidebar p{ + font-size: 12px; + line-height: 1.4em; +} + +#layout p.caption { + font-size: 10px; + margin-top: -16px; + margin-bottom: 18px; +} + +/* @end */ + +/* @group Glyphs */ + +#glyph_chart div{ + background-color: #d9f3ff; + color: black; + float: left; + font-size: 36px; + height: 1.2em; + line-height: 1.2em; + margin-bottom: 1px; + margin-right: 1px; + text-align: center; + width: 1.2em; + position: relative; + padding: .6em .2em .2em; +} + +#glyph_chart div p { + position: absolute; + left: 0; + top: 0; + display: block; + text-align: center; + font: bold 9px Arial, sans-serif; + background-color: #3a768f; + width: 100%; + color: #fff; + padding: 2px 0; +} + + +#glyphs h1 { + font-family: Arial, sans-serif; +} +/* @end */ + +/* @group Installing */ + +#installing { + font: 13px Arial, sans-serif; +} + +#installing p, +#glyphs p{ + line-height: 1.2em; + margin-bottom: 18px; + font: 13px Arial, sans-serif; +} + + + +#installing h3{ + font-size: 15px; + margin-top: 18px; +} + +/* @end */ + +#rendering h1 { + font-family: Arial, sans-serif; +} +.render_table td { + font: 11px "Courier New", Courier, mono; + vertical-align: middle; +} + + diff --git a/fonts/stylesheet.css b/fonts/stylesheet.css new file mode 100644 index 0000000..860753b --- /dev/null +++ b/fonts/stylesheet.css @@ -0,0 +1,12 @@ +/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on June 9, 2021 */ + + + +@font-face { + font-family: 'akkuratregular'; + src: url('akkurat-webfont.woff2') format('woff2'), + url('akkurat-webfont.woff') format('woff'); + font-weight: normal; + font-style: normal; + +} \ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..30931dc --- /dev/null +++ b/footer.php @@ -0,0 +1,43 @@ +
+ +
+ + + + diff --git a/front-page.php b/front-page.php new file mode 100644 index 0000000..5debb7c --- /dev/null +++ b/front-page.php @@ -0,0 +1,147 @@ + + + + + + +
+ +
+ +

+ 'post', + 'category_name' => 'anuncis-i-noticies', + 'posts_per_page' => 1 +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + + ?> +
+
+
+', '' ); ?> + + +
+ +
+
+ 'post', + 'category_name' => 'anuncis-i-noticies', + 'posts_per_page' => 3, + 'offset' => 1 +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + ?> +
+ ', '' ); + ?> +
+ +
+ +
+
+

Twitter

+
+ +
+

Instagram

+ +
+
+
+ +
+
+ + +

+ + 'events', + //'category_name' => 'esdeveniments', + 'posts_per_page' => '5' +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + ?> +
+ +
', '' ); ?>
+
+ '.$date->format('Y-m-d')."
"; +echo ' '.$llocfinal; + ?>
+
+ + + + + +
+
+ diff --git a/frontkej-page-original.php b/frontkej-page-original.php new file mode 100644 index 0000000..9e13f97 --- /dev/null +++ b/frontkej-page-original.php @@ -0,0 +1,130 @@ + + + + + + +
+ +
+

+ 'post', + 'category_name' => 'noticies-kej', + 'posts_per_page' => 1 +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + ?> +
+
+
+ ', '' ); ?> + +
+ +
+
+ 'post', + 'category_name' => 'noticies-kej', + 'posts_per_page' => 3, + 'offset' => 1 +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + ?> +
+ ', '' ); + ?> +
+ +
+
+
+

+ + 'events', + //'category_name' => 'esdeveniments', + 'posts_per_page' => '5' +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + ?> +
+ +
', '' ); ?>
+
+ '.$date->format('Y-m-d')."
"; +echo ' '.$llocfinal; + ?>
+
+ + +
+
+ + diff --git a/frontkej-page.php b/frontkej-page.php new file mode 100644 index 0000000..4290fe4 --- /dev/null +++ b/frontkej-page.php @@ -0,0 +1,147 @@ + + + + + + +
+ +
+ +

+ 'post', + 'category_name' => 'noticies-kej', + 'posts_per_page' => 1 +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + + ?> +
+
+
+', '' ); ?> + + +
+ +
+
+ 'post', + 'category_name' => 'noticies-kej', + 'posts_per_page' => 3, + 'offset' => 1 +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + ?> +
+ ', '' ); + ?> +
+ +
+ +
+
+

Twitter

+
+ +
+

Instagram

+ +
+
+
+ +
+
+ + +

+ + 'events', + //'category_name' => 'esdeveniments', + 'posts_per_page' => '5' +); +$post_query = new WP_Query($arguments); +if ( $post_query -> have_posts() ) : + while ( $post_query -> have_posts() ) : $post_query -> the_post(); + ?> +
+ +
', '' ); ?>
+
+ '.$date->format('Y-m-d')."
"; +echo ' '.$llocfinal; + ?>
+
+ + + + + +
+
+ + diff --git a/funcions.js b/funcions.js new file mode 100644 index 0000000..7594259 --- /dev/null +++ b/funcions.js @@ -0,0 +1,25 @@ +var show = function (elem) { + elem.style.display = 'block'; +}; + +var hide = function (elem) { + elem.style.display = 'none'; +}; + +var toggle = function (elem) { + + // If the element is visible, hide it + if (window.getComputedStyle(elem).display === 'block') { + hide(elem); + return; + } + + // Otherwise, show it + show(elem); + +}; + +var montruMenuo = function () { + var objekto = document.querySelector('#menupral'); + toggle(objekto); +} diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..45277e5 --- /dev/null +++ b/functions.php @@ -0,0 +1,132 @@ +post_parent==$pid||is_page($pid))) + return true; // we're at the page or at a sub page + else + return false; // we're elsewhere +}; + +function register_my_menus() { + register_nav_menus( + array( + 'menusuperior' => __( 'Menú superior' ), + 'lateral-portada' => __( 'Menú lateral portada' ), + 'menusupkej' => __( 'Menú superior KEJ'), + 'lateralportadakej' => __ ( 'Menú lateral portada KEJ'), + 'interiorkea' => __ ('Menú interior KEA'), + 'interiorkej' => __ ('Menú INterior KEJ') + ) + ); + } + +add_action( 'wp_enqueue_scripts', 'add_theme_scripts' ); +add_action( 'init', 'register_my_menus' ); + +add_theme_support( 'post-thumbnails' ); + +function area_widgets_interior() { + + register_sidebar( array( + 'name' => 'Lateral pàgines interiors', + 'id' => 'lateral-interiors', + 'description' => 'La banda de la dreta de les pàgines interiors', + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

', + ) ); + +} + +add_action( 'widgets_init', 'area_widgets_interior' ); + + +// Cadenes de text a traduir +pll_register_string("entrada-correu", "Accés al correu"); +pll_register_string("donem-suport", "Donem suport"); +pll_register_string("noticies", "Notícies"); +pll_register_string("cercar", "Cercar"); +pll_register_string("compartir", "Compartir"); +pll_register_string("arxiu", "Arxiu de notícies"); +pll_register_string("agenda", "Agenda"); +pll_register_string("quan", "Quan?"); +pll_register_string("on", "On?"); +pll_register_string("gener", "de gener"); +pll_register_string("febrer", "de febrer"); +pll_register_string("març", "de març"); +pll_register_string("abril", "d'abril"); +pll_register_string("maig", "de maig"); +pll_register_string("juny", "de juny"); +pll_register_string("juliol", "de juliol"); +pll_register_string("agost", "d'agost"); +pll_register_string("setembre", "de setembre"); +pll_register_string("octubre", "d'octubre"); +pll_register_string("novembre", "de novembre"); +pll_register_string("desembre", "de desembre"); +pll_register_string("agenda-esdeveniments", "Agenda d'esdeveniments"); +pll_register_string("privacitat", "Política de privacitat"); +pll_register_string("cookies", "Política de cookies"); +pll_register_string("avis-legal", "Avś legal"); +pll_register_string("darrers-numeros-publicats", "Darrers números publicats"); +pll_register_string("descarrega", "Descàrrega"); +pll_register_string("numeros-publicats", "Números publicats"); +pll_register_string("arxiu-publicats", "Accedeix a l'arxiu"); +pll_register_string("descarrega-ke", "Descarrega't aquest número de KE"); +pll_register_string("resultats-cerca", "Resultats de cerca"); +pll_register_string("llegeix-mes", "Llegeix més"); +pll_register_string("no-resultats", "No hi ha resultats de cerca"); +pll_register_string("compra-butiko","Compra el llibre a la Butiko KEA"); + +add_action('init', 'events_init'); +function events_init() { + $args = array( + 'labels' => array( + 'name' => __('Esdeveniments'), + 'singular_name' => __('Esdeveniment'), + ), + 'public' => true, + 'has_archive' => true, + 'rewrite' => array("slug" => "esdeveniments"), + 'supports' => array('thumbnail','editor','title','custom-fields') + ); + register_post_type( 'events' , $args ); +} + +add_action('init', 'publicacions_init'); +function publicacions_init() { + $args = array( + 'labels' => array( + 'name' => __('Publicacions'), + 'singular_name' => __('Publicació'), + ), + 'public' => true, + 'has_archive' => true, + 'rewrite' => array("slug" => "publicacions"), + 'supports' => array('thumbnail','editor','title','custom-fields') + ); + register_post_type( 'publicacions' , $args ); +} + +function reg_cat() { + register_taxonomy_for_object_type('category','publicacions'); +} +add_action('init', 'reg_cat'); + +function esRevista($idpost) { + $categories_post = array('111','113','115','117','125','123'); + if (in_array($idpost, $categories_post)) { + return true; + } else { + return false; + } +} +?> diff --git a/header-kej.php b/header-kej.php new file mode 100644 index 0000000..eba7ce8 --- /dev/null +++ b/header-kej.php @@ -0,0 +1,52 @@ + + + + + + <?php bloginfo( 'name' ); ?> + + + + + + + + + +
+
+ +
+ +
1));?>
+
+ +
+
+
+ + + +
+ +
+
+
+
+ diff --git a/header.php b/header.php new file mode 100644 index 0000000..8a1a854 --- /dev/null +++ b/header.php @@ -0,0 +1,54 @@ + + + + + + <?php bloginfo( 'name' ); ?> + + + + + + + + + +
+
+ +
+ +
1));?>
+
+
+
+
+
+
+
+ + + +
+ +
+
+
+
+ diff --git a/img/calendar-svgrepo-com.svg b/img/calendar-svgrepo-com.svg new file mode 100644 index 0000000..d12478e --- /dev/null +++ b/img/calendar-svgrepo-com.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/fons-general.jpeg b/img/fons-general.jpeg new file mode 100644 index 0000000..7f4e7d3 Binary files /dev/null and b/img/fons-general.jpeg differ diff --git a/img/icona-correu.svg b/img/icona-correu.svg new file mode 100644 index 0000000..ab548ac --- /dev/null +++ b/img/icona-correu.svg @@ -0,0 +1,140 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/icona-facebook.svg b/img/icona-facebook.svg new file mode 100644 index 0000000..3506a23 --- /dev/null +++ b/img/icona-facebook.svg @@ -0,0 +1,70 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/img/icona-fgc.png b/img/icona-fgc.png new file mode 100644 index 0000000..66f2359 Binary files /dev/null and b/img/icona-fgc.png differ diff --git a/img/icona-instagram.svg b/img/icona-instagram.svg new file mode 100644 index 0000000..94707d0 --- /dev/null +++ b/img/icona-instagram.svg @@ -0,0 +1,70 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/img/icona-twitter.svg b/img/icona-twitter.svg new file mode 100644 index 0000000..6436c13 --- /dev/null +++ b/img/icona-twitter.svg @@ -0,0 +1,140 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/icona-youtube.svg b/img/icona-youtube.svg new file mode 100644 index 0000000..c1d687f --- /dev/null +++ b/img/icona-youtube.svg @@ -0,0 +1,135 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/icona_correu_kea.png b/img/icona_correu_kea.png new file mode 100644 index 0000000..ad5d001 Binary files /dev/null and b/img/icona_correu_kea.png differ diff --git a/img/iconabuscar-blanc.svg b/img/iconabuscar-blanc.svg new file mode 100644 index 0000000..6429b25 --- /dev/null +++ b/img/iconabuscar-blanc.svg @@ -0,0 +1,93 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/img/iconabuscar.svg b/img/iconabuscar.svg new file mode 100644 index 0000000..ba5ed64 --- /dev/null +++ b/img/iconabuscar.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/iconamenu.png b/img/iconamenu.png new file mode 100644 index 0000000..2a96dca Binary files /dev/null and b/img/iconamenu.png differ diff --git a/img/iconamenu.svg b/img/iconamenu.svg new file mode 100644 index 0000000..e4de1a6 --- /dev/null +++ b/img/iconamenu.svg @@ -0,0 +1,81 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/img/location-sign-svgrepo-com.svg b/img/location-sign-svgrepo-com.svg new file mode 100644 index 0000000..539de9f --- /dev/null +++ b/img/location-sign-svgrepo-com.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/logo-kea-vector-blanc.svg b/img/logo-kea-vector-blanc.svg new file mode 100644 index 0000000..07f3fd7 --- /dev/null +++ b/img/logo-kea-vector-blanc.svg @@ -0,0 +1,411 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/logo-kea-vector.svg b/img/logo-kea-vector.svg new file mode 100644 index 0000000..fe71ce2 --- /dev/null +++ b/img/logo-kea-vector.svg @@ -0,0 +1,339 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/logo-telegram_.jpg b/img/logo-telegram_.jpg new file mode 100644 index 0000000..ceb9057 Binary files /dev/null and b/img/logo-telegram_.jpg differ diff --git a/img/logo_esperanto.jpg b/img/logo_esperanto.jpg new file mode 100644 index 0000000..c27be69 Binary files /dev/null and b/img/logo_esperanto.jpg differ diff --git a/img/logo_footer_2.png b/img/logo_footer_2.png new file mode 100644 index 0000000..e89a5f1 Binary files /dev/null and b/img/logo_footer_2.png differ diff --git a/img/logo_footer_3.png b/img/logo_footer_3.png new file mode 100644 index 0000000..15caf6e Binary files /dev/null and b/img/logo_footer_3.png differ diff --git a/img/logo_footer_4.png b/img/logo_footer_4.png new file mode 100644 index 0000000..1135e31 Binary files /dev/null and b/img/logo_footer_4.png differ diff --git a/img/logo_footer_5.png b/img/logo_footer_5.png new file mode 100644 index 0000000..6c95c98 Binary files /dev/null and b/img/logo_footer_5.png differ diff --git a/img/provaigual-2.png b/img/provaigual-2.png new file mode 100644 index 0000000..738e0a4 Binary files /dev/null and b/img/provaigual-2.png differ diff --git a/index.php b/index.php new file mode 100644 index 0000000..abafbbc --- /dev/null +++ b/index.php @@ -0,0 +1,18 @@ + + +
+ + + +

+

+ +
+ + diff --git a/js/glide.min.js b/js/glide.min.js new file mode 100644 index 0000000..9a70ff5 --- /dev/null +++ b/js/glide.min.js @@ -0,0 +1,6 @@ +/*! + * Glide.js v3.4.1 + * (c) 2013-2019 Jędrzej Chałubek (http://jedrzejchalubek.com/) + * Released under the MIT License. + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Glide=e()}(this,function(){"use strict";var n={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perTouch:!1,touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",throttle:10,direction:"ltr",peek:0,breakpoints:{},classes:{direction:{ltr:"glide--ltr",rtl:"glide--rtl"},slider:"glide--slider",carousel:"glide--carousel",swipeable:"glide--swipeable",dragging:"glide--dragging",cloneSlide:"glide__slide--clone",activeNav:"glide__bullet--active",activeSlide:"glide__slide--active",disabledArrow:"glide__arrow--disabled"}};function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t};function o(t,e){for(var n=0;n":"<","<":">","=":"="};function A(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function M(i,r,o){var s=[function(e,n){return{modify:function(t){return t+n.Gaps.value*e.index}}},function(t,e){return{modify:function(t){return t+e.Clones.grow/2}}},function(n,i){return{modify:function(t){if(0<=n.settings.focusAt){var e=i.Peek.value;return u(e)?t-e.before:t-e}return t}}},function(o,s){return{modify:function(t){var e=s.Gaps.value,n=s.Sizes.width,i=o.settings.focusAt,r=s.Sizes.slideWidth;return"center"===i?t-(n/2-r/2):t-r*i-e*i}}}].concat(i._t,[A]);return{mutate:function(t){for(var e=0;e")?(o.Transition.after(function(){s.emit("translate.jump"),u.set(0)}),u.set(i*n+e*n)):u.set(t.movement)}),s.on("destroy",function(){u.remove()}),u},Transition:function(n,i,t){var r=!1,e={compose:function(t){var e=n.settings;return r?t+" 0ms "+e.animationTimingFunc:t+" "+this.duration+"ms "+e.animationTimingFunc},set:function(t){var e=0"))&&(e._o=!1,i.emit("run.offset",e.move)),i.emit("run.after",e.move),o.enable()}))},calculate:function(){var t=this.move,e=this.length,n=t.steps,i=t.direction,r=function(t){return"number"==typeof t}(y(n))&&0!==y(n);switch(i){case">":">"===n?o.index=e:this.isEnd()?o.isType("slider")&&!o.settings.rewind||(this._o=!0,o.index=0):r?o.index+=Math.min(e-o.index,-y(n)):o.index++;break;case"<":"<"===n?o.index=0:this.isStart()?o.isType("slider")&&!o.settings.rewind||(this._o=!0,o.index=e):r?o.index-=Math.min(o.index,y(n)):o.index--;break;case"=":o.index=n}},isStart:function(){return 0===o.index},isEnd:function(){return o.index===this.length},isOffset:function(t){return this._o&&this.move.direction===t}};return d(t,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?y(e)?y(e):e:0}}}),d(t,"length",{get:function(){var t=o.settings,e=n.Html.slides.length;return o.isType("slider")&&"center"!==t.focusAt&&t.bound?e-1-(y(t.perView)-1)+y(t.focusAt):e-1}}),d(t,"offset",{get:function(){return this._o}}),t},Swipe:function(d,h,v){var n=new H,p=0,m=0,g=0,i=!1,r=!!L&&{passive:!0},t={mount:function(){this.bindSwipeStart()},start:function(t){if(!i&&!d.disabled){this.disable();var e=this.touches(t);p=null,m=y(e.pageX),g=y(e.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),v.emit("swipe.start")}},move:function(t){if(!d.disabled){var e=d.settings,n=e.touchAngle,i=e.touchRatio,r=e.classes,o=this.touches(t),s=y(o.pageX)-m,u=y(o.pageY)-g,a=Math.abs(s<<2),c=Math.abs(u<<2),l=Math.sqrt(a+c),f=Math.sqrt(c);if(!(180*(p=Math.asin(f/l))/Math.PI"+s))):h.Move.make(),h.Html.root.classList.remove(e.classes.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),v.emit("swipe.end")}},bindSwipeStart:function(){var e=this,t=d.settings;t.swipeThreshold&&n.on(z[0],h.Html.wrapper,function(t){e.start(t)},r),t.dragThreshold&&n.on(z[1],h.Html.wrapper,function(t){e.start(t)},r)},unbindSwipeStart:function(){n.off(z[0],h.Html.wrapper,r),n.off(z[1],h.Html.wrapper,r)},bindSwipeMove:function(){var e=this;n.on(j,h.Html.wrapper,b(function(t){e.move(t)},d.settings.throttle),r)},unbindSwipeMove:function(){n.off(j,h.Html.wrapper,r)},bindSwipeEnd:function(){var e=this;n.on(D,h.Html.wrapper,function(t){e.end(t)})},unbindSwipeEnd:function(){n.off(D,h.Html.wrapper)},touches:function(t){return-1")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return n.on(["destroy","update"],function(){r.unbind()}),n.on("update",function(){r.mount()}),n.on("destroy",function(){i.destroy()}),r},Autoplay:function(e,n,t){var i=new H,r={mount:function(){this.start(),e.settings.hoverpause&&this.bind()},start:function(){var t=this;e.settings.autoplay&&l(this._i)&&(this._i=setInterval(function(){t.stop(),n.Run.make(">"),t.start()},this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",n.Html.root,function(){t.stop()}),i.on("mouseout",n.Html.root,function(){t.start()})},unbind:function(){i.off(["mouseover","mouseout"],n.Html.root)}};return d(r,"time",{get:function(){var t=n.Html.slides[e.index].getAttribute("data-glide-autoplay");return y(t||e.settings.autoplay)}}),t.on(["destroy","update"],function(){r.unbind()}),t.on(["run.before","pause","destroy","swipe.start","update"],function(){r.stop()}),t.on(["run.after","play","swipe.end"],function(){r.start()}),t.on("update",function(){r.mount()}),t.on("destroy",function(){i.destroy()}),r},Breakpoints:function(t,e,n){var i=new H,r=t.settings,o=R(r.breakpoints),s=a({},r),u={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: "+e+"px)").matches)return t[e];return s}};return a(r,u.match(o)),i.on("resize",window,b(function(){t.settings=h(r,u.match(o))},t.settings.throttle)),n.on("update",function(){o=R(o),s=a({},r)}),n.on("destroy",function(){i.off("resize",window)}),u}};function G(){return i(this,G),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(G.__proto__||Object.getPrototypeOf(G)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(G,p),t(G,[{key:"mount",value:function(t){var e=0 + + + +
+
+

+
+
+ + + + +
+
+ +

+ +
+

+
+ 'publicacions', +'cat' => '32', + 'posts_per_page' => 20, + 'orderby' => 'meta_value_num', + 'meta_key' => 'numero', + 'order' => 'DESC' + ); + $consulta = new WP_Query($args); + while ($consulta->have_posts()): + $consulta->the_post(); + ?>
+ ','

'); +?>
+ +
+ +
+ + diff --git a/page-kej.php b/page-kej.php new file mode 100644 index 0000000..bfc4b31 --- /dev/null +++ b/page-kej.php @@ -0,0 +1,40 @@ + + + + + +
+ ');" /> +
+

+

+
+ + +
+ +
+
+
+ + + + +
+ + + +
+ + diff --git a/page.php b/page.php new file mode 100644 index 0000000..507e067 --- /dev/null +++ b/page.php @@ -0,0 +1,38 @@ + + + + + +
+ ');" /> +
+

+

+
+ + +
+ +
+
+
+ + +
+ + + +
+ + diff --git a/search.php b/search.php new file mode 100644 index 0000000..4d71631 --- /dev/null +++ b/search.php @@ -0,0 +1,48 @@ + + + + + +
+
+

+

+
+ + +
+ +
+ + + + +
+

+ + + + +
+ + + +

+ + +
+
+ + +
+ + + +
+ + diff --git a/searchform.php b/searchform.php new file mode 100644 index 0000000..3b483c7 --- /dev/null +++ b/searchform.php @@ -0,0 +1,5 @@ +
+ " value="" /> + " src="" class="sercxilo-telefono" /> + " src="" class="sercxilo-granda" /> +
diff --git a/single-events.php b/single-events.php new file mode 100644 index 0000000..f1307bc --- /dev/null +++ b/single-events.php @@ -0,0 +1,69 @@ + + + + + +
+
+

+

+
+ + +
+ +
+
+
+ +

+

Data; + $llocfinal = $post->Lloc; + //echo $datafinal; + $mesos = array( + "01" => "de gener", + "02" => "de febrer", + "03" => "de març", + "04" => "d'abril", + "05" => "de maig", + "06" => "de juny", + "07" => "de juliol", + "08" => "d'agost", + "09" => "de setembre", + "10" => "d'octubre", + "11" => "de novembre", + "12" => "de desembre" + ); + $dataformat = DateTime::createFromFormat('Ymd', $datafinal); + $elmes = $mesos[$dataformat->format("m")]; + echo $dataformat->format("d"); + if (get_bloginfo('language') == "eo") {echo "a ";} else {echo " ";} +pll_e($elmes); + echo " de ".$dataformat->format("Y"); + ?>

+

+

+

+ +

+ +

+ + + +
+ + diff --git a/single-kej.php b/single-kej.php new file mode 100644 index 0000000..34e8360 --- /dev/null +++ b/single-kej.php @@ -0,0 +1,45 @@ + + + + + +
+
+ +

+

+
+ + +
+ +
+
+
+ + + +

+ '; + + } else { + echo 'a href="/arxiu-de-noticies/">'; + } ?> + +

+
+ + + +
+ + diff --git a/single-publicacions.php b/single-publicacions.php new file mode 100644 index 0000000..95b191a --- /dev/null +++ b/single-publicacions.php @@ -0,0 +1,66 @@ + + + + + + + +
+ +
+

+ +

+
+
+ 'imatge-responsive'] );?> +

+ + + + +

+ term_id) === true) { + $fitxer = get_field('arxiu_descarrega'); + if ($fitxer) { + $adreca_fitxer = $fitxer['url']; + ?> +

+

+ +

+ +

">

+ + + +
+ + + +
+ + \ No newline at end of file diff --git a/single.php b/single.php new file mode 100644 index 0000000..9624637 --- /dev/null +++ b/single.php @@ -0,0 +1,44 @@ + + + + + +
+
+ +

+

+
+ + +
+ +
+
+
+ + + +

+ '; + +else: + echo ''; + endif; ?> + +

+
+ + + +
+ + diff --git a/style.css b/style.css new file mode 100644 index 0000000..0dd8ec5 --- /dev/null +++ b/style.css @@ -0,0 +1,367 @@ +/* +Theme Name: KEA +Theme URI: https://github.com/enricpineda/temawp-kea +Author: Enric Pineda +Author URI: https://enricpineda.cat/ +Description: El tema principal de la nova web de KEA +Version: 0.1 +Requires at least: 5.0 +Tested up to: 5.4 +Requires PHP: 5.6 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: kea + +*/ + + + + +@font-face {font-family: 'akkurat'; + src: url('fonts/Akkurat_eo.woff2') format('woff2'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'akkurat'; + src: url('fonts/AkkurBol_eo.woff2') format ('woff2'); + font-weight: bold; + font-style: normal; +} +body {margin: 0;padding: 0;font-family: 'Open sans', sans-serif;} + +p { font-size: 16px;line-height: 1.5em;} + +a { + color: rgb(0,139,25); + text-decoration: none; +} + +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { + color: rgb(43,44,40); +} + +a:hover { + color: rgb(0,225,43); + text-decoration: underline; +} + +.lang-item { + list-style-type: none; +} + +#capapeu { + box-sizing: border-box; + background-color: #666666; + padding: 0.75em 0; +} + +#capapeu a {color: #fff;} +#capapeu a:hover {text-decoration: underline;} +.portada-publicacio {padding-right: 1em;} + +#principal {padding: 0.75em;} + +.titular-primer {font-size: 2em; margin: 0; padding: 0.5em 0 0 0;} +.miniicona {width: 20px; height: auto; vertical-align: middle;} +.link-butiko {background-color:#00871d; color: #FFF; text-decoration: none; padding: 1em; border-radius: 10px; margin: 1em auto 0 auto;} +.link-butiko:hover {color: #FFF;} + +/* Estils mòbil */ +@media only screen and (max-width: 768px) { + h1,h2,h3,h4,h5,h6 {margin: 1em 0.5em;} + p {margin: 1em 0.5em;} +#capapeu {width: 100vw;} +#footer {width: 100vw; box-sizing: border-box; padding: 0.75em; color: #FFF;} +#footer div {width: 100%;} +.donemsuport-llistat {margin: 0; padding: 0.75em; display:flex; flex-direction: row; flex-wrap: wrap;} +.donemsuport-llistat li {list-style-type: none; flex-grow: 1;} + + +#logo-xarxes {display: flex;flex-flow: column;} + +#logo {order: 2; box-sizing: border-box;padding: 0.75em;} + +#logo img {width: 100%;height: auto;} + +#idiomes-xarxes-correu { + order: 1; + width: 100vw; + box-sizing: border-box; + background-color: #000; + color: #fff; +} +#idiomes-xarxes-correu a { + color: #fff; +} +#idiomes-cap { + width: 49%; + display: inline-block; + box-sizing: border-box; + padding: 0.75em; +} +#correu-cap { + width: 49%; + display: inline-block; + box-sizing: border-box; + text-align: right; + padding: 0.75em; +} +#xarxes-cap { + display: none; +} +#iconaburguer { + width: 19%; + display: inline-block; +} +#cercador { + width: 79%; + display: inline-block; + text-align: right; + box-sizing: border-box; + height: 36px; + padding: 5px 0; +} +#cercador input[type=text] { + width: 80%; + border: 0; +} +#cercador img { + height: 23px; + width: auto; + vertical-align: middle; + margin-left: 10px; +} + +.sercxilo-telefono { + display: inline-block; + height: 23px; + width: auto; + vertical-align: middle; + margin-left: 10px; +} +.sercxilo-granda { + display: none; +} + +#menupral { + display: none; + width: 100%; +} + +#menupral ul { + margin: 0; + padding: 0.75em; + box-sizing: border-box; +} + +/*#menupral ul ul {display:none;}*/ +.sub-menu {display: none; background-color: #FFF;} +.submenu li {list-style-type: none; margin: 0; padding: 0.75em 0; border-bottom: 1px dashed rgb(43,44,40); width: 100%;} + +#menupral ul li { + list-style-type: none; + margin: 0; + padding: 0.75em 0; + border-bottom: 1px dashed rgb(43,44,40); + width: 100%; +} + +#menupral ul li a { + color: rgb(43,44,40); + text-decoration: none; +} + +nav { + display: flex; + flex-direction: row; + flex-wrap: wrap; + width: 100vw; + padding: 0.75em; + background-color: rgb(0,225,43); + box-sizing: border-box; +} + +.submenuo {display: none;} +#twitter {display: none;} +#menulateral {padding: 0; margin: 0 0.75em 0 0;} +#menulateral ul {margin: 0; padding: 0;} +#menulateral ul li {list-style-type: none; font-family: 'akkurat'; font-size: 1.2em; margin: 0; padding: 0.75em 0; border-bottom: 2px dashed #999; font-weight: bold;} + +#carousel {display: none;} + +.titol_post {width: 100%; height: 10em; background-repeat: no-repeat; background-position: center center; background-size: cover; margin: 0; background-attachment: fixed; background-blend-mode: multiply; background-color:#00e12b; } +.titol_post_alt {width: 100%; height: 10em;} + +.titol-post-text {width: 90%; margin: 0px auto; padding: 3em 0; color: #fff; text-align: center;} +.post-text-principal {width: 100%; box-sizing: border-box; padding:1em 0;} +.post-columna-dreta {display: flex; flex-direction: column;} + +} + +/* Estils escriptori */ + +@media only screen and (min-width: 769px) { + +header {width: 1200px; margin: 0px auto;} +#principal {width: 1200px; margin: 0px auto; display: flex; flex-direction: row; justify-content: space-between;} +#principal-ke {width: 1200px; margin: 0px auto;} +#footer {width: 1200px; margin: 20px auto; display: flex; flex-direction: row; color: #fff;} +#footer div {flex-grow: 1;} +#capapeu {width: 100%;} +.donemsuport-llistat {display: flex; margin: 0; padding: 0.75em;} +.donemsuport-llistat li {list-style-type: none; display: inline-block; flex-grow: 1;} + +#menulateral { padding: 0; margin: 0 0 1.5em 0;} +#menulateral ul {margin: 0; padding: 0;} +#menulateral ul li {list-style-type: none; font-family: 'akkurat'; font-size: 1.2em; margin: 0; padding: 0.75em 0; border-bottom: 2px dashed #999; font-weight: bold;} +#twitter {width: 200px;} +#central {order: 1; width: 70%; display: flex; flex-flow: column; padding: 0;} +#agenda {order: 2; width: 30%; padding: 0 0 0 2em;} +.noticia-gran {display: flex; flex-direction: row;} +.imatge-noticia {order: 1; flex-grow: 1;} +.text-noticia {order:2; flex-grow: 3; box-sizing: border-box; margin: 0; padding: 0 0 0 1em;} +.container-secundaries {display: flex; flex-direction: row; margin: 1em 0;} +.noticiasecundaria {flex-grow: 1; margin: 0 1.5em 0 0; padding: 0.5em; border: 2px dashed #CCC;} +.noticiasecundaria h4 {margin: 0;} +.noticiasecundaria a {color: #000; font-size: 1.2em;} + +.container-xxss{display: flex; flex-direction: row; margin: 1em 0;} +.xxss {flex-grow: 1; margin: 0 1.5em 0 0;} + + +#logo-xarxes {display: flex;flex-flow: row;} +#logo {order: 1; box-sizing: border-box;padding: 0.75em; width: auto; flex-grow: 1;} +#logo img {width: 400px;height: auto;} +#idiomes-xarxes-correu {order: 2;flex-grow: 1; + box-sizing: border-box; +display: flex; +flex-flow: row-reverse; +flex-wrap: wrap; + } + #idiomes-cap { + order: 2; + width: 35%; + box-sizing: border-box; + padding: 0.75em; + text-align: right; + } + #correu-cap { + order: 1; + + box-sizing: border-box; + text-align: right; + padding: 0.75em; + } + #xarxes-cap { + order: 3; + width: 100%; + box-sizing: border-box; + text-align: right; + padding: 0.75em; + display: flex; + flex-direction: row-reverse; + } +#xarxes-cap > div { + margin: 0 0.25em; +} +#xarxes-cap img { + height: 32px; + width: auto; +} + + #iconaburguer { + display: none; + } + #cercador { + order: 2; + flex-grow: 1; + display: inline-block; + text-align: right; + padding: 1.25em 0.75em 1.25em 0; + } + #cercador img { + height: 23px; + width: auto; + vertical-align: middle; + margin-left: 10px; + } + + .sercxilo-granda { + height: 23px; + width: auto; + vertical-align: middle; + margin-left: 10px; + display: inline-block; + } + .sercxilo-telefono { + display: none; + } + + #menupral { +order: 1; +flex-grow: 5; +#background-color: #fff; + } + #menupral ul { + margin: 0; + padding: 0.50em; + box-sizing: border-box; + display:flex; + flex-direction: row; + } +#menupral ul ul { + position: absolute; top: 100%; display: none; background-color: #00e12b; z-index: 123456; width: 100%; +} +#menupral ul ul ul {position: absolute; top: -8px; left: 105%; display: none; background-color: #36ff5c; z-index: 123987; width: 100%;} + #menupral ul li{ + list-style-type: none; + margin: 0; + flex-grow: 1; + font-family: 'akkurat'; + font-weight: bold; + text-transform: uppercase; + position: relative; + } + +#menupral ul li a { + padding: 0.75em; + text-decoration: none; + display: block; + color: rgb(43,44,40); + } + + + nav { + width: 1200px; + margin: 0px auto; + box-sizing: border-box; + display: flex; + flex-direction: row; + background-image: url('img/provaigual-2.png'), url('img/provaigual-2.png'); + background-position: top left, bottom left; + background-repeat: repeat-x, repeat-x; + } + +#menupral ul li:hover {color: rgb(43,44,40);} +#menupral ul li:hover > a {color: rgb(43,44,40);} +#menupral ul li:hover > ul.sub-menu {display: block; width: auto;} +#menupral ul ul:hover {display: block;} +#menupral ul ul:hover ~ a {color: rgb(43,44,40);} +#menupral ul ul ul:hover ~ a {color: rgb(43,44,40);;} + +#carousel {width: 1200px; margin: 0px auto;} +#carousel img {width: 100%; height: auto;} + +.titol_post {width: 100%; background-repeat: no-repeat; background-position: center center; background-size: cover; margin: 1em 0 0.3em 0; background-attachment: fixed; background-blend-mode: multiply; background-color:#00871d;} +.titol-post-text {width: 1200px; margin: 0px auto; padding: 5em 0; color: #fff; text-align: center; font-weight: bold;} +.post-text-principal {width: 75%; box-sizing: border-box; padding: 0 1em 0 0;} +.post-columna-dreta {width: 23%; display: flex; flex-direction: column;} +.imatge-responsive {width: 100%; height: auto; margin: 1em 0;} +#central h2, #agenda h2 {width: 100%; font-family: 'akkurat'; font-size: 1.2em; margin: 0 0 1em 0; padding: 0.75em 0; border-bottom: 2px dashed #999; font-weight: bold;} +.logo-blanc-peu {width: 250px; height: auto; margin: 1em;} +.filaKE {display: flex; flex-direction: row;flex-wrap: wrap;} +.itemKE {width: 230px;} +}