Browse Source

Détails techniques + manifeste sur le site, lessphp > lesserphp

master
Miraty 2 weeks ago
parent
commit
bff42ed258
23 changed files with 8501 additions and 120 deletions
  1. +4
    -2
      404.php
  2. +8
    -8
      README.md
  3. +661
    -0
      bibli/lesserphp/LICENSE
  4. +97
    -0
      bibli/lesserphp/README.md
  5. +1400
    -0
      bibli/lesserphp/docs/docs.md
  6. +4019
    -0
      bibli/lesserphp/lessc.inc.php
  7. +20
    -0
      bibli/parsedown/LICENSE.txt
  8. +1712
    -0
      bibli/parsedown/Parsedown.php
  9. +86
    -0
      bibli/parsedown/README.md
  10. +23
    -11
      cgu.php
  11. +1
    -1
      clr.php
  12. +61
    -0
      details-techniques.php
  13. +6
    -0
      img/logos/onion.svg
  14. +5
    -3
      inc/debut.php
  15. +24
    -14
      inc/footer.php
  16. +7
    -4
      inc/page.php
  17. +18
    -0
      inc/url.php
  18. +32
    -29
      index.php
  19. +67
    -0
      manifeste-sur-le-contenu.php
  20. +180
    -0
      services.php
  21. +69
    -47
      style.less
  22. +1
    -1
      style.min.css
  23. BIN
      style.min.css.gz

+ 4
- 2
404.php View File

@@ -4,8 +4,10 @@ head("404.php"); ?>
<div id="page404">
<img id ="img404" src="img/404fourmie.png" alt="Le texte 'erreur 404' en train d'être mangé par des fourmis"/>

<p>La page à laquelle vous avez tenté d'accéder a été Antièrement dévorée par une armée de fourmis affamées !</p>
<p>
La page à laquelle vous avez tenté d'accéder a été Antièrement dévorée par une armée de fourmis affamées !
</p>

<a href="./" class="boutton big smallspecial icon-home">Page d'accueil</a>
<a href="." class="boutton big smallspecial icon-home">Page d'accueil</a>
</div>
<?php include "inc/footer.php"; ?>

+ 8
- 8
README.md View File

@@ -1,19 +1,19 @@
# Présentation

Voici le code source de mon site : <https://www.antopie.org>.
Voici le code source de mon site : <https://antopie.org>.
Il devrait fonctionner simplement avec la dernière version de PHP et un serveur Web.

# Bibliothèques utilisées

Le dossier bibli contient des dépendances incluses dans ce site.

| Nom | Description | Source |
| -------- | ----------------------- | ---------------------------------------- |
| ubuntu | La police Ubuntu | https://design.ubuntu.com/font/ |
| fontello | Pack d'icônes | http://fontello.com/ |
| lessphp | Compilateur Less en PHP | https://github.com/leafo/lessphp |
| Konami-JS | Le code de Konami | https://snaptortoise.github.io/konami-js |
| Gomez CSS | Gomez de Fez en CSS | https://github.com/maisano/gomez-css |
| Nom | Description | Source |
| -------- | ----------------------- | ------------------------------------------ |
| ubuntu | La police Ubuntu | https://design.ubuntu.com/font/ |
| fontello | Pack d'icônes | http://fontello.com/ |
| lesserphp | Compilateur Less en PHP | https://github.com/MarcusSchwarz/lesserphp |
| Konami-JS | Le code de Konami | https://snaptortoise.github.io/konami-js |
| Gomez CSS | Gomez de Fez en CSS | https://github.com/maisano/gomez-css |

# Licence



+ 661
- 0
bibli/lesserphp/LICENSE View File

@@ -0,0 +1,661 @@
For ease of distribution, lessphp 0.5.1 is under a dual license.
You are free to pick which one suits your needs.




MIT LICENSE




Copyright (c) 2013 - 2015 Leaf Corcoran, http://leafo.net/lessphp
Copyright (c) 2016 - Marcus Schwarz, https://www.maswaba.de

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.




GPL VERSION 3




GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble

The GNU General Public License is a free, copyleft license for
software and other kinds of works.

The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.

Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

The precise terms and conditions for copying, distribution and
modification follow.

TERMS AND CONDITIONS

0. Definitions.

"This License" refers to version 3 of the GNU General Public License.

"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.

To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

A "covered work" means either the unmodified Program or a work based
on the Program.

To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

1. Source Code.

The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.

A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

The Corresponding Source for a work in source code form is that
same work.

2. Basic Permissions.

All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.

3. Protecting Users' Legal Rights From Anti-Circumvention Law.

No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

4. Conveying Verbatim Copies.

You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

5. Conveying Modified Source Versions.

You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.

b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".

c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.

d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.

A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

6. Conveying Non-Source Forms.

You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.

b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.

c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.

d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.

e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.

A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

7. Additional Terms.

"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or

b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or

c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or

d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or

e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or

f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.

All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

8. Termination.

You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

9. Acceptance Not Required for Having Copies.

You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

10. Automatic Licensing of Downstream Recipients.

Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.

An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

11. Patents.

A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".

A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

12. No Surrender of Others' Freedom.

If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

13. Use with the GNU Affero General Public License.

Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

14. Revised Versions of this License.

The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

15. Disclaimer of Warranty.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. Limitation of Liability.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

17. Interpretation of Sections 15 and 16.

If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.


+ 97
- 0
bibli/lesserphp/README.md View File

@@ -0,0 +1,97 @@
[![Build Status](https://travis-ci.org/MarcusSchwarz/lesserphp.svg)](https://travis-ci.org/MarcusSchwarz/lesserphp)

# lesserphp v0.5.4
### <http://github.com/MarcusSchwarz/lesserphp>

`lesserphp` is a compiler for LESS written in PHP. It is based on lessphp bei leafo.
The documentation is great,
so check it out: <http://leafo.net/lessphp/docs/>.

Here's a quick tutorial:

### How to use in your PHP project

The only file required is `lessc.inc.php`, so copy that to your include directory.

The typical flow of **lesserphp** is to create a new instance of `lessc`,
configure it how you like, then tell it to compile something using one built in
compile methods.

The `compile` method compiles a string of LESS code to CSS.

```php
<?php
require "lessc.inc.php";

$less = new lessc;
echo $less->compile(".block { padding: 3 + 4px }");
```

The `compileFile` method reads and compiles a file. It will either return the
result or write it to the path specified by an optional second argument.

```php
<?php
echo $less->compileFile("input.less");
```

The `checkedCompile` method is like `compileFile`, but it only compiles if the output
file doesn't exist or it's older than the input file:

```php
<?php
$less->checkedCompile("input.less", "output.css");
```

If there any problem compiling your code, an exception is thrown with a helpful message:

```php
<?php
try {
$less->compile("invalid LESS } {");
} catch (\Exception $e) {
echo "fatal error: " . $e->getMessage();
}
```

The `lessc` object can be configured through an assortment of instance methods.
Some possible configuration options include [changing the output format][1],
[setting variables from PHP][2], and [controlling the preservation of
comments][3], writing [custom functions][4] and much more. It's all described
in [the documentation][0].


[0]: http://leafo.net/lessphp/docs/
[1]: http://leafo.net/lessphp/docs/#output_formatting
[2]: http://leafo.net/lessphp/docs/#setting_variables_from_php
[3]: http://leafo.net/lessphp/docs/#preserving_comments
[4]: http://leafo.net/lessphp/docs/#custom_functions


### How to use from the command line

An additional script has been included to use the compiler from the command
line. In the simplest invocation, you specify an input file and the compiled
css is written to standard out:

$ plessc input.less > output.css

Using the -r flag, you can specify LESS code directly as an argument or, if
the argument is left off, from standard in:

$ plessc -r "my less code here"

Finally, by using the -w flag you can watch a specified input file and have it
compile as needed to the output file:

$ plessc -w input-file output-file

Errors from watch mode are written to standard out.

The -f flag sets the [output formatter][1]. For example, to compress the
output run this:

$ plessc -f=compressed myfile.less

For more help, run `plessc --help`


+ 1400
- 0
bibli/lesserphp/docs/docs.md
File diff suppressed because it is too large
View File


+ 4019
- 0
bibli/lesserphp/lessc.inc.php
File diff suppressed because it is too large
View File


+ 20
- 0
bibli/parsedown/LICENSE.txt View File

@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2013-2018 Emanuil Rusev, erusev.com

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 1712
- 0
bibli/parsedown/Parsedown.php
File diff suppressed because it is too large
View File


+ 86
- 0
bibli/parsedown/README.md View File

@@ -0,0 +1,86 @@
> I also make [Caret](https://caret.io?ref=parsedown) - a Markdown editor for Mac and PC.

## Parsedown

[![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
<!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->

Better Markdown Parser in PHP

[Demo](http://parsedown.org/demo) |
[Benchmarks](http://parsedown.org/speed) |
[Tests](http://parsedown.org/tests/) |
[Documentation](https://github.com/erusev/parsedown/wiki/)

### Features

* One File
* No Dependencies
* Super Fast
* Extensible
* [GitHub flavored](https://help.github.com/articles/github-flavored-markdown)
* Tested in 5.3 to 7.1 and in HHVM
* [Markdown Extra extension](https://github.com/erusev/parsedown-extra)

### Installation

Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).

### Example

``` php
$Parsedown = new Parsedown();

echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
```

More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI).

### Security

Parsedown is capable of escaping user-input within the HTML that it generates. Additionally Parsedown will apply sanitisation to additional scripting vectors (such as scripting link destinations) that are introduced by the markdown syntax itself.

To tell Parsedown that it is processing untrusted user-input, use the following:
```php
$parsedown = new Parsedown;
$parsedown->setSafeMode(true);
```

If instead, you wish to allow HTML within untrusted user-input, but still want output to be free from XSS it is recommended that you make use of a HTML sanitiser that allows HTML tags to be whitelisted, like [HTML Purifier](http://htmlpurifier.org/).

In both cases you should strongly consider employing defence-in-depth measures, like [deploying a Content-Security-Policy](https://scotthelme.co.uk/content-security-policy-an-introduction/) (a browser security feature) so that your page is likely to be safe even if an attacker finds a vulnerability in one of the first lines of defence above.

#### Security of Parsedown Extensions

Safe mode does not necessarily yield safe results when using extensions to Parsedown. Extensions should be evaluated on their own to determine their specific safety against XSS.

### Escaping HTML
> ⚠️  **WARNING:** This method isn't safe from XSS!

If you wish to escape HTML **in trusted input**, you can use the following:
```php
$parsedown = new Parsedown;
$parsedown->setMarkupEscaped(true);
```

Beware that this still allows users to insert unsafe scripting vectors, such as links like `[xss](javascript:alert%281%29)`.

### Questions

**How does Parsedown work?**

It tries to read Markdown like a human. First, it looks at the lines. It’s interested in how the lines start. This helps it recognise blocks. It knows, for example, that if a line starts with a `-` then perhaps it belongs to a list. Once it recognises the blocks, it continues to the content. As it reads, it watches out for special characters. This helps it recognise inline elements (or inlines).

We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.

**Is it compliant with CommonMark?**

It passes most of the CommonMark tests. Most of the tests that don't pass deal with cases that are quite uncommon. Still, as CommonMark matures, compliance should improve.

**Who uses it?**

[Laravel Framework](https://laravel.com/), [Bolt CMS](http://bolt.cm/), [Grav CMS](http://getgrav.org/), [Herbie CMS](http://www.getherbie.org/), [Kirby CMS](http://getkirby.com/), [October CMS](http://octobercms.com/), [Pico CMS](http://picocms.org), [Statamic CMS](http://www.statamic.com/), [phpDocumentor](http://www.phpdoc.org/), [RaspberryPi.org](http://www.raspberrypi.org/), [Symfony demo](https://github.com/symfony/symfony-demo) and [more](https://packagist.org/packages/erusev/parsedown/dependents).

**How can I help?**

Use it, star it, share it and if you feel generous, [donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2).

+ 23
- 11
cgu.php View File

@@ -2,13 +2,14 @@
<?php include "inc/debut.php";
head("cgu.php"); ?>

<h1>Conditions d'utilisation</h1>
<h1>Conditions générales d'utilisation</h1>

<article>

<section>
<h2>Préambule</h2>
<p>
En utilisant les services <span style="color: red;">Antopie</span>, vous acceptez d’être lié·e par
les conditions suivantes.<br>
L'utilisation des services <span style="color: red;">Antopie</span> vous lie aux conditions suivantes.<br>
<span style="color: red;">Antopie</span> se réserve le droit de mettre à jour et modifier ces conditions à tout moment. <br>
Ces conditions sont dérivées de <a href="https://framasoft.org/fr/cgu/">celles de Framasoft</a>.
</p>
@@ -30,9 +31,20 @@ head("cgu.php"); ?>
pas une renonciation à ce droit ou à cette disposition.</li>
<li>Les conditions d'utilisation actuelles remplacent les anciennes versions.
</li>
<li>
Vous ne devez pas tenter de nuire aux services <span style="color: red;">Antopie</span> ou à celleux les utilisant.
</li>
<li>Les services étant hébergés en France par une personne de nationnalité française,
vous devez respecter au moins la législation en vigueur en France.
</li>
<li>
Savoir orthographier correctement le mot « spatule » n'est pas nécessaire pour utiliser les services <span style="color: red;">Antopie</span>.
</li>





</ul>

<h2>Garantie</h2>
@@ -47,15 +59,14 @@ head("cgu.php"); ?>

<h2>Données personnelles</h2>

<p>Conformément à l’article 34 de la loi « Informatique et Libertés »,
<span style="color: red;">Antopie</span> garantit à l’utilisateurice un droit d’opposition, d’accès et de
rectification sur les données nominatives læ concernant. L'utilisateurice
a la possibilité d’exercer ce droit en envoyant un
<a href="mailto:miraty+legal@antopie.org">email</a> à l'administrateurice.</p>

<ul>
<li>Malgré ce que certaines interfaces pourraient laisser supposer,
vous n'avez jamais besoin de donner votre identité pour utiliser les services.</li>
<li>Conformément à l’article 34 de la loi « Informatique et Libertés »,
<span style="color: red;">Antopie</span> garantit à l’utilisateurice un droit d’opposition, d’accès et de
rectification sur les données nominatives læ concernant. L'utilisateurice
a la possibilité d’exercer ce droit en envoyant un
<a href="mailto:miraty+legal@antopie.org">email</a> à l'admin.</li>
<li>Malgré ce que certaines interfaces pourraient laisser penser,
il n'est jamais nécessaire de révéler votre identité pour utiliser les services.</li>
<li>Tout comme d’autres services en ligne, <span style="color: red;">Antopie</span> enregistre
automatiquement certaines informations concernant votre
utilisation du service (exemple : type de navigateur, adresse IP, date et
@@ -65,5 +76,6 @@ head("cgu.php"); ?>
</ul>
</section>

</article>

<?php include "inc/footer.php"; ?>

+ 1
- 1
clr.php View File

@@ -1,5 +1,5 @@
<!-- Code source : https://code.antopie.org/miraty/web/src/branch/master/clr.php -->
<!DOCTYPE HTML>
<!DOCTYPE html>
<html>
<?php
if (!isset($_GET['clr']))


+ 61
- 0
details-techniques.php View File

@@ -0,0 +1,61 @@

<?php include "inc/debut.php";
head("details-techniques.php"); ?>

<h1>Détails techniques sur l'infrastructure d'Antopie</h1>

<article>

<h2>Matériel</h2>

Une tour nommée Pastèque avec :

<ul>
<li>12 Go de RAM</li>
<li>Disque dur d'1,5 To</li>
<li>Intel Core i5 64 bits 4 cœurs 3.4GHz</li>
</ul>

<h2>Système</h2>

<a href="https://yunohost.org/">YunoHost</a> 3.8 (basé sur <a href="https://www.debian.org/">Debian</a> 9) et son écosystème : Nginx, Postfix, Fail2ban...

<h2>DNS</h2>

Le domaine <code>antopie.org</code> est enregistré chez <a href="https://www.gandi.net/">Gandi</a> et administré sur leur interface Web LiveDNS.
<br>
<a href="https://fr.wikipedia.org/wiki/Domain_Name_System_Security_Extensions">DNSSEC</a> est activé dessus.
<br>
Il est enregistré dans la <a href="https://hstspreload.org">HSTS Preload List</a>.

<h2>Internet</h2>

Pastèque est connectée à Internet via une connexion du FAI Free en fibre optique (FTTH) à Paris.
<br>
Le débit maximal disponible varie entre 50 Mo/s (400 Mbit/s) et 100 Mo/s (800 Mbit/s).
<br>
Adresse IPv6 : <code>2a01:e34:ec23:b760:5604:a6ff:fec4:58bd</code>
<br>
Adresse IPv4 : <code>78.194.59.118</code>
<br>
En raison d'un problème de mails, Pastèque utilise actuellement et temporairement un VPN de <a href="https://milkywan.fr/">MilkyWan</a>.
<br>
Adresse IPv6 du VPN : <code>2a0b:cbc0:1103:2::106f</code>
<br>
Adresse IPv4 du VPN : <code>45.13.104.169</code>

<h2>Sauvegarde</h2>

Des sauvegardes sont faites régulièrement avec le <a href="https://yunohost.org/#/backup">système intégré à YunoHost</a>.
<br>
PeerTube et Nextcloud ne sont pas sauvegardées car cela prendrait trop de place.
<br>
Les sauvegardes sont copiées sur un disque dans la même pièce.

<h2>Relai Tor</h2>

Pastèque héberge aussi <a href="https://metrics.torproject.org/rs.html#details/BE8737597F2E6B4F805893202C935125829A902E">un relai Tor</a>. Il ne tourne pas quand le VPN est actif.

</article>

<?php include "inc/footer.php"; ?>

+ 6
- 0
img/logos/onion.svg View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="180px" height="180px" viewBox="0 0 180 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="tor-glyph" stroke="none" stroke-width="1" fill="#ffffff" fill-rule="evenodd">
<path d="M90.1846205,163.631147 L90.1846205,152.721073 C124.743583,152.621278 152.726063,124.581416 152.726063,89.9975051 C152.726063,55.4160892 124.743583,27.3762266 90.1846205,27.2764318 L90.1846205,16.366358 C130.768698,16.4686478 163.633642,49.3909741 163.633642,89.9975051 C163.633642,130.606531 130.768698,163.531352 90.1846205,163.631147 Z M90.1846205,125.444642 C109.677053,125.342352 125.454621,109.517381 125.454621,89.9975051 C125.454621,70.4801242 109.677053,54.6551533 90.1846205,54.5528636 L90.1846205,43.6452847 C115.704663,43.7450796 136.364695,64.4550091 136.364695,89.9975051 C136.364695,115.542496 115.704663,136.252426 90.1846205,136.35222 L90.1846205,125.444642 Z M90.1846205,70.9167267 C100.640628,71.0165216 109.090758,79.5165493 109.090758,89.9975051 C109.090758,100.480956 100.640628,108.980984 90.1846205,109.080778 L90.1846205,70.9167267 Z M0,89.9975051 C0,139.705328 40.2921772,180 90,180 C139.705328,180 180,139.705328 180,89.9975051 C180,40.2921772 139.705328,0 90,0 C40.2921772,0 0,40.2921772 0,89.9975051 Z" id="tor-glyph" fill="#ffffff"></path>
</g>
</svg>

+ 5
- 3
inc/debut.php View File

@@ -2,6 +2,8 @@

function head($adresse) {

require "url.php";

require "page.php";

?>
@@ -28,7 +30,7 @@ function head($adresse) {
<script>
var gomez = new Konami(function() { var div = document.getElementById('gomeza'), display = getComputedStyle(div, null).display; if(display == "block") { document.getElementById("gomeza").style.display = "none"; } else { document.getElementById("gomeza").style.display = "block"; }});
</script>
<?php require("bibli/lessphp/lessc.inc.php");
<?php require("bibli/lesserphp/lessc.inc.php");
$less = new lessc;
$less->setFormatter("compressed");
$less->checkedCompile("style.less", "style.min.css"); ?>
@@ -54,8 +56,8 @@ function head($adresse) {
?>" id="LRI" src="img/lri.png">
</aside>
<header>
<a id="header" href=".">
<div class="logo"><img src="img/antopiev5-600.png" max-width="600px" width="100%" alt="Antopie" /></div>
<a id="lienHeader" href=".">
<div class="logo"><img src="img/antopiev5-600.png" width="80%" alt="Antopie" /></div>
</a>
</header>



+ 24
- 14
inc/footer.php View File

@@ -3,15 +3,33 @@
<footer>
<div class="liensfooter centre">
<div class="lienfooter">
<a href="cgu.php" class="boutton big small icon-balance-scale" >
<a href="<?php formerUrlLocale("cgu"); ?>" class="bouton icon-balance-scale" >
Conditions d'utilisation
</a>
</div>
<div class="lienfooter">
<a href="https://code.antopie.org/miraty/web/" class="boutton icon-git" >
<a href="<?php echo clearnetOrOnion("https://code.antopie.org", "http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion"); ?>/miraty/web/" class="bouton icon-git" >
Code source
</a>
</div>

<?php if ($_SERVER['HTTP_HOST'] == "antopie.org") { ?>
<div class="lienfooter">
<a href="http://antopieee25qeh4bvllwomq5pzrjmpvldbn2b653okyopkq5h7f7ilad.onion" class="bouton" >
Onion
</a>
</div>
<?php } else { ?>

<div class="lienfooter">
<a href="https://antopie.org" class="bouton" >
Clearnet
</a>
</div>

<?php } ?>


</div>
<div class="interlude">
<div class="traitinterlude">
@@ -29,7 +47,7 @@
Antièrement libre
<?php break;
case 2: ?>
https://www.antopie.org
100% indépendAnt
<?php break;
case 3: ?>
À l'Antipode des GAFAM
@@ -41,7 +59,7 @@
Pour la liberté d'Anternet !
<?php break;
case 6: ?>
Le slogan trop marrAnt !
Fourmidable !
<?php break;
case 7: ?>
Sans publicités gênAntes
@@ -52,12 +70,6 @@
case 9: ?>
Un site fourmilitAnt
<?php break;
case 10: ?>
Fourmiedable !
<?php break;
case 11: ?>
100% indépendAnt
<?php break;

} ?>
</div>
@@ -65,11 +77,9 @@
</div>
<div class="textefooter">
Fait avec <a href="https://datalove.fr/">datalove</a> par un·e <a href="https://anargeek.net/fr.html">anargeek</a> à Paris.<br>
Le <a href="https://code.antopie.org/miraty/web">code source de ce site</a> est publié sous <a href="LICENSE.html"><abbr title="GNU Affero General Public License">AGPL</abbr></a> version 3 ou toute version ultérieure.
<br>
Créé par Miraty avec HTML, Less et PHP ; servi par Nginx sous Debian/YunoHost.
Le <a href="<?php echo clearnetOrOnion("https://code.antopie.org", "http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion"); ?>/miraty/web">code source de ce site</a> est publié sous <a href="LICENSE.html"><abbr title="GNU Affero General Public License version 3 ou toute version ultérieure">AGPLv3+</abbr></a>.
<br>
Images Ant, Antopie et erreur 404 créées par Zarkaa sous <abbr title="Creative Commons - Attribution - Partage dans les mêmes conditions">CC-BY-SA</abbr>.
Images A, Ant, Antopie et erreur 404 créées par Zarkaa sous <abbr title="Creative Commons - Attribution - Partage dans les mêmes conditions">CC BY-SA</abbr>.
</div>
<div class="gomeza" id="gomeza" onclick='var div = document.getElementById("gomeza"), display = getComputedStyle(div, null).display; document.getElementById("gomeza").style.display = "none";'>
<span class="gomez run"></span>


+ 7
- 4
inc/page.php View File

@@ -1,4 +1,3 @@

<?php
switch ($adresse) {
case "index.php":
@@ -17,9 +16,13 @@ switch ($adresse) {
$page['titre'] = "À propos du navigateur Web";
$page['description'] = "Obtennez des informations envoyées par votre navigateur Web telles que votre adresse IP, le site d'où vous venez, votre agent utilisateur, etc...";
break;
case "contenu.php":
$page['titre'] = "Règles sur le contenu";
$page['description'] = "Règles régissant les contenus publiés sur Antopie";
case "manifeste-sur-le-contenu.php":
$page['titre'] = "Manifeste sur le contenu";
$page['description'] = "Manifeste concernant le contenu hébergé par Antopie";
break;
case "details-techniques.php":
$page['titre'] = "Détails techniques";
$page['description'] = "Détails techniques sur l'infrastructure d'Antopie";
break;
default:
$page['titre'] = "Erreur : La page n'existe pas";


+ 18
- 0
inc/url.php View File

@@ -0,0 +1,18 @@
<?php
// Les URL n'ont pas le .php sur le site d'Antopie
function formerUrlLocale($page) {
if ($_SERVER['HTTP_HOST'] == "antopie.org" OR $_SERVER['HTTP_HOST'] == "antopieee25qeh4bvllwomq5pzrjmpvldbn2b653okyopkq5h7f7ilad.onion") {
echo $page;
} else {
echo $page . ".php";
}
}

// Détermine si il faut utiliser les liens en .onion ou pas
function clearnetOrOnion($clearnetUrl, $onionUrl) {
if ($_SERVER['HTTP_HOST'] == "antopieee25qeh4bvllwomq5pzrjmpvldbn2b653okyopkq5h7f7ilad.onion") {
return $onionUrl;
} else {
return $clearnetUrl;
}
}

+ 32
- 29
index.php View File

@@ -4,18 +4,21 @@ head("index.php"); ?>
<div id="pres">

<p>
Antopie propose des services Internet, administrés par et hébergés chez <a href="https://miraty.antopie.org">Miraty</a> grâce à <a href="https://yunohost.org">YunoHost</a>.
Antopie propose des services Internet, administrés par et hébergés chez <a href="<?php echo clearnetOrOnion("https://miraty.antopie.org", "http://miratyww5h7xhki2ttodapygnukmnrywn4osw3d32llc4sggzmyso5id.onion"); ?>">Miraty</a> grâce à <a href="https://yunohost.org">YunoHost</a>.
</p>
<p>
L'utilisation de ces services est régie par les <a href="cgu.php">conditions d'utilisation d'Antopie</a>.
</p>
<p>
Le <a href="https://wiki.antopie.org/fr/manifeste-sur-le-contenu">manifeste sur le contenu</a> explique la politique d'Antopie.
</p>
<p>
Vous pouvez suivre le compte <a rel="me" href="https://miaou.drycat.fr/@Antopie">@Antopie@miaou.drycat.fr</a> par le Fédiverse ou <a href="https://miaou.drycat.fr/@Antopie.rss">par flux RSS</a> pour être informé·e des pannes et nouveaux services.
Le compte <a rel="me" href="https://miaou.drycat.fr/@Antopie">@Antopie@miaou.drycat.fr</a> (<a href="https://miaou.drycat.fr/@Antopie.rss">RSS</a>) informe des pannes, mises à jour et nouveaux services.
</p>

<a href="<?php formerUrlLocale("manifeste-sur-le-contenu"); ?>" class="bouton">Manifeste sur le contenu</a>
<a href="<?php formerUrlLocale("details-techniques"); ?>" class="bouton">Détails techniques</a>
<a href="<?php formerUrlLocale("cgu"); ?>" class="bouton">Conditions d'utilisation</a>

</div>


<div id="pres-links">

</div>

<div id="services" class="grille-services">
@@ -41,21 +44,21 @@ $logoService = array(
);

$urlService = array(
'plume' => 'blog',
'peertube' => 'video',
'gitea' => 'code',
'libreqr' => 'qr',
'bitwarden' => 'mdp',
'nextcloud' => 'nuage',
'synapse' => 'matrix',
'riot' => 'riot',
'privatebin' => 'texte',
'jirafeau' => 'up',
'rssbridge' => 'rss',
'searx' => 'searx',
'etherpad' => 'pad',
'diagrams' => 'draw',
'opensondage' => 'sondage',
'plume' => clearnetOrOnion('https://blog.antopie.org', 'http://antblogn2vnc4hncjiow4jn7yidxe64l2o2qhj2tyla33jjhrrf5v2ad.onion'),
'peertube' => 'https://video.antopie.org',
'gitea' => clearnetOrOnion('https://code.antopie.org', 'http://antcode5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion'),
'libreqr' => clearnetOrOnion('https://qr.antopie.org', 'http://libreqrh5gsyzaaexx4vwyp6k2sd5keg5svyj2gpbkhg7zzyjvswiiyd.onion'),
'bitwarden' => clearnetOrOnion('https://mdp.antopie.org', 'http://antmdpizuaquzfz5kzv3tz3k2funlcgma5gxtujxs5sl6z7wyk76x3qd.onion'),
'nextcloud' => 'https://nuage.antopie.org',
'synapse' => 'https://matrix.antopie.org',
'riot' => 'https://riot.antopie.org',
'privatebin' => clearnetOrOnion('https://texte.antopie.org', 'http://anttxt2u75lbrpl23szr6qtgzx5kkcz7larjmg24udwypceuslzel5qd.onion'),
'jirafeau' => clearnetOrOnion('https://up.antopie.org', 'http://antuplo4vcln7ftoatr5iualwb3py7ccii6t32gemzannhu4blj2xqid.onion'),
'rssbridge' => clearnetOrOnion('https://rss.antopie.org', 'http://antrssv5553pjemejxyszija6ceii4soc5ozk6pdj7y3vauzioavdkid.onion'),
'searx' => clearnetOrOnion('https://searx.antopie.org', 'http://antsrxhuvxylfgvu6c33m6gzlp3dsrxfnil7z3ppfya2vqvs4hkuy7qd.onion'),
'etherpad' => 'https://pad.antopie.org',
'diagrams' => 'https://draw.antopie.org',
'opensondage' => clearnetOrOnion('https://sondage.antopie.org', 'http://antaskuzziqjodxfighsptanvhrwmb7h5nsgjwei2dvvtsuqgjsaxvad.onion'),
);

$nomService = array(
@@ -109,7 +112,7 @@ $descService = array(
'searx' => '<a href="https://fr.wikipedia.org/wiki/M%C3%A9tamoteur">Métamoteur</a> anonymé : combine plusieurs moteurs de recherche sur une seule page.',
'etherpad' => 'Éditez un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'diagrams' => 'Créez des graphiques pour représenter des idées.',
'opensondage' => 'Planifiez un rendez-vous ou prenez des décisions rapidement et simplement.'
'opensondage' => 'Planifiez un rendez-vous ou prenez des décisions.'
);

$siteOfficielService = array(
@@ -169,10 +172,10 @@ $paquetYnhService = array(
foreach($descService as $codeService => $descService) { ?>
<div>
<div class="zoneLien">
<a class="lienService" href="https://<?= $urlService[$codeService] ?>.antopie.org<?php if ($codeService == "synapse") { echo "/_matrix/static/"; } ?>">
<a class="lienService" href="<?= $urlService[$codeService] ?><?php if ($codeService == "synapse") { echo "/_matrix/static/"; } ?>">
<div class="logoService"><img class="elLogoServ" src="img/logos/<?= $logoService[$codeService] ?>" alt=""/></div>
<div class="titreService"><?= $nomService[$codeService] ?></div>
<div class="urlService"><?= $urlService[$codeService] ?>.antopie.org</div>
<!--<div class="urlService"><?= $urlService[$codeService] ?></div>-->
</a>
</div>
<div class="descService"><?= $descService ?></div>
@@ -192,15 +195,15 @@ $paquetYnhService = array(
<br>

<p>
Vous trouverez également votre IP, agent utilisateur, référent HTTP et langues demandées sur <a href="navigateur.php">cette page</a>.
Vous trouverez également votre IP, agent utilisateur, référent HTTP et langues demandées sur <a href="<?php formerUrlLocale("navigateur"); ?>">cette page</a>.
</p>

<p>
Antopie n'a pas besoin de dons pour être financée, si vous avez toutefois suffisamment d'argent, vous pouvez par exemple <a href="https://www.laquadrature.net/donner/">soutenir La Quadrature du Net</a> ou un projet libre sur <a href="https://liberapay.com/explore/">Liberapay</a>.
Antopie n'a pas besoin de dons pour être financée, si vous avez toutefois suffisamment d'argent, vous pouvez par exemple <a href="https://www.laquadrature.net/donner/">soutenir La Quadrature du Net</a>, <a href="https://joinpeertube.org/roadmap">la v3 de PeerTube</a> ou un projet libre sur <a href="https://liberapay.com/explore/">Liberapay</a>.
</p>

<address id="contact">
N'hésitez pas à me contacter par mail : <a href="mailto:miraty+web@antopie.org">miraty+web@antopie.org</a>, le Fédiverse : <a href="https://plero.antopie.org/miraty" rel="me">@miraty@plero.antopie.org</a> ou Matrix : @miraty:matrix.antopie.org.
Vous pouvez me contacter par mail : <a href="mailto:miraty+web@antopie.org">miraty+web@antopie.org</a>, le Fédiverse : <a href="https://plero.antopie.org/miraty" rel="me">@miraty@plero.antopie.org</a> ou Matrix : @miraty:matrix.antopie.org.
</address>




+ 67
- 0
manifeste-sur-le-contenu.php View File

@@ -0,0 +1,67 @@
<?php include "inc/debut.php";
head("manifeste-sur-le-contenu.php"); ?>

<h1>Manifeste sur le contenu</h1>

<article>

Antopie refuse d'héberger du contenu soutenant une vision du monde droitiste. Cela inclut :

<ul>
<li>Fascisme, racisme, capacitisme, essentialisme</li>
<li>Capitalisme, publicité</li>
<li>Sexisme, homophobie, transphobie</li>
<li>Théisme, conspirationnisme, spiritualisme</li>
</ul>

Antopie encourage la diffusion d'idées gauchistes. Cela inclut :

<ul>
<li>Librisme, datalove, kopimisme</li>
<li>Anarchisme, communisme, socialisme</li>
<li>Féminisme, queer</li>
<li>Écologisme, véganisme, décroissance</li>
<li>Éducation populaire, pensée critique</li>
</ul>

<p>
L'utilisation de licences libres est encouragée.
</p>

<p style="font-weight: bold;">
Les contenus qui n'ont pas spécifiquement d'impact politique sont également les bienvenus.
</p>

<p>
Ces règles s'appliquent principalement aux contenus hébergés publiquement par Antopie sur <a href="https://video.antopie.org">PeerTube</a> et <a href="<?php echo clearnetOrOnion("https://blog.antopie.org", "http://antblogn2vnc4hncjiow4jn7yidxe64l2o2qhj2tyla33jjhrrf5v2ad.onion"); ?>">Plume</a>.
</p>

<p>
Les contenus accessibles par la fédération ou par une URL communiquée en privé sont moins concernés pas ce manifeste.
</p>

<p>
Ces règles sont édictées pour que vous puissiez vous faire une idée de la modération et du but d'Antopie. Il ne s'agit pas d'une vérité absolue. Je garde ma liberté de ne pas modérer ou de modérer pour d'autres raisons.
</p>

<h2>Ce n'est pas une atteinte à la liberté d'expression</h2>

<p>
Internet est un réseau libre et vous y dites ce que vous voulez. Cependant quand vous publiez du contenu par le serveur de quelqu'un d'autre, c'est aux yeux d'Internet cette personne qui s'exprime à votre place.
</p>

<p>
On peut comparer l'hébergement Internet à l'hébergement dans son sens original : vous êtes ici chez moi. Je permet à d'autres de venir discuter chez moi. Mais je ne souhaite pas que vous veniez chez moi pour dire des bêtises. Dans ce cas, je vous invite plutôt à <del>vous taire</del> aller dans une autre maison ou construire la vôtre.
</p>

<p>
L'avantage d'Internet étant que l'on peut passer très rapidement d'une maison à l'autre.
</p>

<p>
Cette comparaison fonctionne surtout car Antopie utilise des logiciels libres : avec des logiciels privateurs, vous ne pouvez pas construire votre propre maison.
</p>

</article>

<?php include "inc/footer.php"; ?>

+ 180
- 0
services.php View File

@@ -0,0 +1,180 @@
<?php include "inc/debut.php";
head("services.php"); ?>


<div id="services" class="grille-services">

<?php

$logoService = array(
'plume' => 'plume.png',
'peertube' => 'peertube.png',
'gitea' => 'gitea.png',
'libreqr' => 'qr.png',
'bitwarden' => 'bitwarden.png',
'nextcloud' => 'nextcloud.png',
'synapse' => 'matrix.png',
'riot' => 'riot.png',
'privatebin' => 'privatebin.png',
'jirafeau' => 'jirafeau.png',
'rssbridge' => 'rssbridge.png',
'searx' => 'searx.png',
'etherpad' => 'etherpad.png',
'diagrams' => 'diagrams.png',
'opensondage' => 'opensondage.png',
);

$urlService = array(
'plume' => 'blog',
'peertube' => 'video',
'gitea' => 'code',
'libreqr' => 'qr',
'bitwarden' => 'mdp',
'nextcloud' => 'nuage',
'synapse' => 'matrix',
'riot' => 'riot',
'privatebin' => 'texte',
'jirafeau' => 'up',
'rssbridge' => 'rss',
'searx' => 'searx',
'etherpad' => 'pad',
'diagrams' => 'draw',
'opensondage' => 'sondage',
);

$nomService = array(
'plume' => 'Plume',
'peertube' => 'PeerTube',
'gitea' => 'Gitea',
'libreqr' => 'LibreQR',
'bitwarden' => 'Bitwarden',
'nextcloud' => 'Nextcloud',
'synapse' => 'Synapse',
'riot' => 'Riot',
'privatebin' => 'PrivateBin',
'jirafeau' => 'Jirafeau',
'rssbridge' => 'RSS Bridge',
'searx' => 'Searx',
'etherpad' => 'Etherpad',
'diagrams' => 'Diagrammes',
'opensondage' => 'OpenSondage',
);

$infoThemeService = array(
'plume' => 'Thème sombre & rouge',
'peertube' => 'Thème rouge',
'gitea' => 'Thème sombre',
'libreqr' => 'Thème sombre',
'bitwarden' => NULL,
'nextcloud' => 'Thème sombre',
'synapse' => NULL,
'riot' => NULL,
'privatebin' => 'Thème sombre',
'jirafeau' => 'Thème sombre',
'rssbridge' => 'Thème sombre & rouge',
'searx' => 'Thème sombre',
'etherpad' => NULL,
'diagrams' => NULL,
'opensondage' => NULL,
);

$descService = array(
'plume' => 'Créez simplement un blog qui sera accessible via le Web, le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> et un flux <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>.',
'peertube' => 'Regardez ou publiez des vidéos sur le <a href="https://fr.wikipedia.org/wiki/Fediverse">Fédiverse</a> en <a href="https://fr.wikipedia.org/wiki/Pair_%C3%A0_pair">pair à pair</a>.',
'gitea' => '<a href="https://fr.wikipedia.org/wiki/Forge_(informatique)">Forge logicielle</a> simple basée sur <a href="https://fr.wikipedia.org/wiki/Git">Git</a>.',
'libreqr' => "Un générateur de <a href='https://fr.wikipedia.org/wiki/Code_QR'>codes QR</a> fait maison.",
'bitwarden' => 'Générez, enregistrez et synchronisez des mots ou phrases de passe fortes.',
'nextcloud' => 'Synchronisation de fichiers, de contacts (<a href="https://fr.wikipedia.org/wiki/CardDAV">CardDAV</a>), d’agenda (<a href="https://fr.wikipedia.org/wiki/CalDAV">CalDAV</a>), <a href="https://getcarnet.app/">Carnet</a> , et plein d’autres fonctionnalités grâce à des extensions.',
'synapse' => 'Un serveur <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>, qui est un protocole internet moderne pour la communication écrite, audio ou vidéo.',
'riot' => 'Client Web pour <a href="https://fr.wikipedia.org/wiki/Matrix_(protocole)">Matrix</a>.',
'privatebin' => 'Partagez des textes, codes sources ou <a href="https://fr.wikipedia.org/wiki/Markdown">Markdown</a> rapidement.',
'jirafeau' => 'Partagez rapidement n’importe quel fichier avec n’importe qui.',
'rssbridge' => 'Exportez les données de centaines de sites aux formats <a href="https://fr.wikipedia.org/wiki/Atom_Syndication_Format">Atom</a>, <a href="https://fr.wikipedia.org/wiki/JavaScript_Object_Notation">JSON</a>, <a href="https://fr.wikipedia.org/wiki/Hypertext_Markup_Language">HTML</a>, Mrss ou texte.',
'searx' => '<a href="https://fr.wikipedia.org/wiki/M%C3%A9tamoteur">Métamoteur</a> anonymé : combine plusieurs moteurs de recherche sur une seule page.',
'etherpad' => 'Éditez un texte sur plusieurs appareils en même temps. Utilisable avec <a href="https://pad.antopie.org/mypads/">MyPads</a>.',
'diagrams' => 'Créez des graphiques pour représenter des idées.',
'opensondage' => 'Planifiez un rendez-vous ou prenez des décisions rapidement et simplement.'
);

$siteOfficielService = array(
'plume' => 'joinplu.me',
'peertube' => 'joinpeertube.org',
'gitea' => 'gitea.io',
'libreqr' => NULL,
'bitwarden' => 'bitwarden.com',
'nextcloud' => 'nextcloud.com/fr_FR',
'synapse' => NULL,
'riot' => 'about.riot.im',
'privatebin' => 'privatebin.info',
'jirafeau' => NULL,
'rssbridge' => NULL,
'searx' => 'asciimoo.github.io/searx',
'etherpad' => 'etherpad.org',
'diagrams' => 'www.diagrams.net',
'opensondage' => NULL,
);

$gitService = array(
'plume' => 'github.com/Plume-org/Plume',
'peertube' => 'github.com/Chocobozzz/PeerTube',
'gitea' => 'github.com/go-gitea/gitea',
'libreqr' => 'code.antopie.org/miraty/libreqr',
'bitwarden' => 'github.com/dani-garcia/bitwarden_rs',
'nextcloud' => 'github.com/nextcloud/server',
'synapse' => 'github.com/matrix-org/synapse',
'riot' => 'github.com/vector-im/riot-web',
'privatebin' => 'github.com/PrivateBin/PrivateBin',
'jirafeau' => 'gitlab.com/mojo42/Jirafeau',
'rssbridge' => 'github.com/rss-bridge/rss-bridge',
'searx' => 'github.com/asciimoo/searx',
'etherpad' => 'github.com/ether/etherpad-lite',
'diagrams' => 'github.com/jgraph/drawio',
'opensondage' => 'framagit.org/framasoft/framadate/framadate'
);

$paquetYnhService = array(
'plume' => 'github.com/YunoHost-Apps/plume_ynh',
'peertube' => 'github.com/YunoHost-Apps/peertube_ynh',
'gitea' => 'github.com/YunoHost-Apps/gitea_ynh',
'libreqr' => 'code.antopie.org/miraty/qr_ynh',
'bitwarden' => 'github.com/YunoHost-Apps/bitwarden_ynh',
'nextcloud' => 'github.com/YunoHost-Apps/nextcloud_ynh',
'synapse' => 'github.com/YunoHost-Apps/synapse_ynh',
'riot' => 'github.com/YunoHost-Apps/riot_ynh',
'privatebin' => 'github.com/YunoHost-Apps/zerobin_ynh',
'jirafeau' => 'github.com/YunoHost-Apps/jirafeau_ynh',
'rssbridge' => 'github.com/YunoHost-Apps/rss-bridge_ynh',
'searx' => 'github.com/YunoHost-Apps/searx_ynh',
'etherpad' => 'github.com/YunoHost-Apps/etherpad_mypads_ynh',
'diagrams' => 'github.com/YunoHost-Apps/diagramsnet_ynh',
'opensondage' => 'github.com/YunoHost-Apps/opensondage_ynh',
);

foreach($descService as $codeService => $descService) { ?>
<div>
<div class="zoneLien">
<a class="lienService" href="https://<?= $urlService[$codeService] ?>.antopie.org<?php if ($codeService == "synapse") { echo "/_matrix/static/"; } ?>">
<div class="logoService"><img class="elLogoServ" src="img/logos/<?= $logoService[$codeService] ?>" alt=""/></div>
<div class="titreService"><?= $nomService[$codeService] ?></div>
<div class="urlService"><?= $urlService[$codeService] ?>.antopie.org</div>
</a>
</div>
<div class="descService"><?= $descService ?></div>
<div class="themeService"><?php if (!is_null($infoThemeService[$codeService])) { ?>· <?= $infoThemeService[$codeService] ?> ·<?php } ?></div>
<div class="metasService">
<?php if (!is_null($siteOfficielService[$codeService])) {
echo '<a class="icon-home metaService" aria-label="Site officiel" title="Site officiel de ' . $nomService[$codeService] . '" href="https://' . $siteOfficielService[$codeService] . '"></a>';
} ?>
<a class="icon-git metaService" aria-label="Code source" title="Code source de <?= $nomService[$codeService] ?>" href="https://<?= $gitService[$codeService] ?>"></a>
<a class="icon-ynh metaService" aria-label="Paquet YunoHost" title="Paquet YunoHost de <?= $nomService[$codeService] ?>" href="https://<?= $paquetYnhService[$codeService] ?>"></a></div>
</div>

<?php } ?>

</div>




<?php include "inc/footer.php"; ?>

+ 69
- 47
style.less View File

@@ -1,39 +1,41 @@
@fond: #2a2a2a;
@fond-footer: darken(@fond, 3%);
@fond-option-hover: lighten(@fond, 10%);
@texte-secondaire: #aaaaaa;
@texte-principal: white;
@couleur-lien: white;
@couleur-principale: red;
@fondSecondaire: #222222;
@fondOptionHover: lighten(@fond, 10%);
@texteSecondaire: #aaaaaa;
@texte: white;
@couleurL: white;
@couleurPrincipale: red;

.texte-secondaire {
color: @texte-secondaire;
color: @texteSecondaire;
}

::selection {
color: @fond;
background-color: @texte-principal;
background-color: @texte;
}

.boutton {
.bouton {
border: 2px solid grey;
padding: 10px;
padding-left: 15px;
padding-right: 15px;
margin: 5px;
display: inline-block;
border-radius: 14px;
color: @texte-principal;
color: @texte;
text-decoration: none;

&:hover {
color: @couleur-principale;
border: 2px solid @couleur-principale;
color: @couleurPrincipale;
border: 2px solid @couleurPrincipale;
}

}

html {
font-size: 20px;
scrollbar-color: @texte-principal @fond;
scrollbar-color: @texte @fond;
scrollbar-width: auto;
}

@@ -47,12 +49,12 @@ html {

a, a:visited {
text-decoration: underline;
color: @couleur-lien;
color: @couleurL;
transition: all 0.1s linear;

&:hover {
text-decoration: none;
color: @couleur-principale;
color: @couleurPrincipale;
}

}
@@ -74,14 +76,24 @@ a, a:visited {
text-align: center;
}

del {
text-decoration: line-through;
}

code, var, samp {
font-family: "Ubuntu Mono", monospace;
background-color: @fondSecondaire;
padding: 5px;
border-radius: 10px;
font-style: normal;
}

body, code {
body {
font-family: "Ubuntu", sans-serif;
padding: 0px;
margin: 0px;
background-color: @fond;
color: @texte-principal;
color: @texte;
font-size: 25px;
line-height: 35px;
}
@@ -121,7 +133,7 @@ address {
border: 2px @fond solid;
border-radius: 16px;
transition: border 0.2s linear;
color: white;
color: @texte;
text-decoration: none;
display: block;
padding-bottom: 10px;
@@ -129,7 +141,7 @@ address {
max-width: 210px;
&:hover {
border: 2px white solid;
color: white;
color: @texte;
}
}

@@ -169,7 +181,7 @@ address {
.elLogoServ {
max-width: 150px;
max-height: 100px;
color: white;
color: @texte;
}

.descService {
@@ -191,6 +203,34 @@ main {
justify-content: center;
}


article {
margin-left: 20%;
margin-right: 20%;

@media (max-width: 1400px) {
margin-left: 10%;
margin-right: 10%;
}

@media (max-width: 800px) {
margin-left: 0px;
margin-right: 0px;
}
}

#pres {
text-align: center;
line-height: 40px;
margin-left: 100px;
margin-right: 100px;

@media (max-width: 1400px) {
margin-left: 0px;
margin-right: 0px;
}
}

// FOOTER

.textefooter {
@@ -228,7 +268,7 @@ main {

footer {
text-align: center;
background-color: @fond-footer;
background-color: @fondSecondaire;
display: flex;
flex-direction: column;
}
@@ -240,7 +280,7 @@ footer {
}

.ant {
background-color: @fond-footer;
background-color: @fondSecondaire;
background-image: url(img/antpetitgris.png);
background-repeat: no-repeat;
background-position: center top;
@@ -264,32 +304,13 @@ footer {
margin: 10px;
}

.icon-heart-2 {
transition: 0.2s color;
&:hover {
color: red;
}
}

#pres {
text-align: center;
line-height: 40px;
margin-left: 100px;
margin-right: 100px;

@media (max-width: 1400px) {
margin-left: 0px;
margin-right: 0px;
}
}

/* ----------------------- HEADER ------------------------ */

#header {
#lienHeader {
margin: 0px;
border: 3px white solid;
border-top: none;
border-radius: 0px 0px 12px 12px;
//border: 3px white solid;
//border-top: none;
//border-radius: 0px 0px 12px 12px;
text-align: center;
font-size: 2em;
display: flex;
@@ -311,6 +332,7 @@ footer {
header {
display: flex;
justify-content: center;
background-color: @fondSecondaire;
}


@@ -320,7 +342,7 @@ header {
}

#header:hover {
background-color: @fond-option-hover;
background-color: @fondOptionHover;
transition: all 0.2s ease-in-out;
@media (max-width: 600px) {
background-color: inherit;
@@ -341,7 +363,7 @@ h1 {
}

h2 {
font-size: 200%;
font-size: 170%;
}

h3 {


+ 1
- 1
style.min.css View File

@@ -1 +1 @@
.texte-secondaire{color:#aaa;}::selection{color:#2a2a2a;background-color:white;}#warning{text-align:center;background-color:royalblue;}.boutton{border:2px solid grey;padding:10px;margin:5px;display:inline-block;border-radius:14px;color:white;text-decoration:none;}.boutton:hover{color:red;border:2px solid red;}html{font-size:20px;scrollbar-color:white #2a2a2a;scrollbar-width:auto;}@media all and (max-width: 640px){html{font-size:13px;}}a,a:visited{text-decoration:underline;color:white;transition:all 0.1s linear;}a:hover,a:visited:hover{text-decoration:none;color:red;}.logo{margin-bottom:10px;}#img404{padding-top:10px;padding-bottom:30px;width:30%;}@media (max-width: 1300px){#img404{width:766px;}}#page404{text-align:center;}body,code{font-family:"Ubuntu", sans-serif;padding:0px;margin:0px;background-color:#2a2a2a;color:white;font-size:25px;line-height:35px;}address{font-style:normal;}.grille-services{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:30px;padding-top:30px;}@media (max-width: 1500px){.grille-services{grid-template-columns:1fr 1fr 1fr;}}@media (max-width: 1000px){.grille-services{grid-template-columns:1fr 1fr;}}@media (max-width: 600px){.grille-services{grid-template-columns:1fr;}}.zoneLien{display:flex;flex-direction:row;justify-content:center;}.lienService,.lienService:visited{padding:20px;border:2px #2a2a2a solid;border-radius:16px;transition:border 0.2s linear;color:white;text-decoration:none;display:block;padding-bottom:10px;margin-bottom:10px;max-width:210px;}.lienService:hover,.lienService:visited:hover{border:2px white solid;color:white;}.themeService{text-align:center;font-size:0.8em;}.titreService{font-size:1.3em;text-align:center;}.urlService{margin-top:-6px;font-size:0.8em;color:grey;text-align:center;}.metaService{text-decoration:none;font-size:26px;}.metasService{display:flex;flex-direction:row;justify-content:center;font-size:0.8em;}.logoService{text-align:center;}.elLogoServ{max-width:150px;max-height:100px;color:white;}.descService{padding-top:5px;padding-bottom:10px;text-align:left;}main{margin:0px;margin-top:30px;margin-left:30px;margin-bottom:50px;margin-right:30px;}.centre{text-align:center;justify-content:center;}.textefooter{margin:10px;line-height:1.5em;width:60%;padding-left:20px;padding-right:20px;}.interlude{display:flex;justify-content:center;}.traitinterlude > hr{display:none;}.traitinterlude{border-top:2px gray dashed;width:650px;}.basfooter{display:flex;justify-content:space-around;margin-top:30px;margin-bottom:20px;}.corps{text-align:center;}footer{text-align:center;background-color:#222;display:flex;flex-direction:column;}.logofooter{padding-left:6%;margin-top:20px;text-align:center;}.ant{background-color:#222;background-image:url(img/antpetitgris.png);background-repeat:no-repeat;background-position:center top;display:inline-block;text-decoration:none;min-width:264px;min-height:80px;}.ant:hover{background-image:url(img/antpetit.png);}.liensfooter{display:flex;flex-direction:row;padding:20px;}.lienfooter{margin:10px;}.icon-heart-2{transition:0.2s color;}.icon-heart-2:hover{color:red;}#pres{text-align:center;line-height:40px;margin-left:100px;margin-right:100px;}@media (max-width: 1400px){#pres{margin-left:0px;margin-right:0px;}}#header{margin:0px;border:3px white solid;border-top:none;border-radius:0px 0px 12px 12px;text-align:center;font-size:2em;display:flex;justify-content:center;padding:30px;padding-bottom:20px;margin-left:35px;margin-right:35px;}@media (max-width: 600px){#header{border:none;padding:0px;margin-top:20px;margin-left:20px;margin-right:20px;}}header{display:flex;justify-content:center;}#header:active{box-shadow:2px 2px 3px white inset;}#header:hover{background-color:#444;transition:all 0.2s ease-in-out;}@media (max-width: 600px){#header:hover{background-color:inherit;}}h1,h2,h3,h4,h5,h6{font-weight:normal;line-height:100%;}h1{font-size:250%;text-align:center;}h2{font-size:200%;}h3{font-size:160%;}h4{font-size:140%;}h5{font-size:125%;}h6{font-size:110%;}#LRI{color:pink !important;aime:"les pizza ananas-champignons";width:200px;position:absolute;top:10px;left:10px;}@media (max-width: 1300px){#LRI{width:60px;position:absolute;top:2px;left:2px;}}@media (max-width: 1000px){#LRI{width:32px;position:absolute;top:2px;left:2px;}}.gomeza{display:none;position:fixed;bottom:0px;left:30px;z-index:100;}@media (max-width: 800px){.basfooter{flex-direction:column;}.textefooter{width:auto;margin:4%;margin-bottom:0px;}.logofooter{padding:0px;}.traitinterlude{width:80%;}}@media (max-width: 500px){.textefooter{padding-left:8%;padding-right:8%;margin:0px;}.liensfooter{flex-direction:column;}}
.texte-secondaire{color:#aaa;}::selection{color:#2a2a2a;background-color:white;}.bouton{border:2px solid grey;padding:10px;padding-left:15px;padding-right:15px;margin:5px;display:inline-block;border-radius:14px;color:white;text-decoration:none;}.bouton:hover{color:red;border:2px solid red;}html{font-size:20px;scrollbar-color:white #2a2a2a;scrollbar-width:auto;}@media all and (max-width: 640px){html{font-size:13px;}}a,a:visited{text-decoration:underline;color:white;transition:all 0.1s linear;}a:hover,a:visited:hover{text-decoration:none;color:red;}.logo{margin-bottom:10px;}#img404{padding-top:10px;padding-bottom:30px;width:30%;}@media (max-width: 1300px){#img404{width:766px;}}#page404{text-align:center;}del{text-decoration:line-through;}code,var,samp{font-family:"Ubuntu Mono", monospace;background-color:#222;padding:5px;border-radius:10px;font-style:normal;}body{font-family:"Ubuntu", sans-serif;padding:0px;margin:0px;background-color:#2a2a2a;color:white;font-size:25px;line-height:35px;}address{font-style:normal;}.grille-services{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:30px;padding-top:30px;}@media (max-width: 1500px){.grille-services{grid-template-columns:1fr 1fr 1fr;}}@media (max-width: 1000px){.grille-services{grid-template-columns:1fr 1fr;}}@media (max-width: 600px){.grille-services{grid-template-columns:1fr;}}.zoneLien{display:flex;flex-direction:row;justify-content:center;}.lienService,.lienService:visited{padding:20px;border:2px #2a2a2a solid;border-radius:16px;transition:border 0.2s linear;color:white;text-decoration:none;display:block;padding-bottom:10px;margin-bottom:10px;max-width:210px;}.lienService:hover,.lienService:visited:hover{border:2px white solid;color:white;}.themeService{text-align:center;font-size:0.8em;}.titreService{font-size:1.3em;text-align:center;}.urlService{margin-top:-6px;font-size:0.8em;color:grey;text-align:center;}.metaService{text-decoration:none;font-size:26px;}.metasService{display:flex;flex-direction:row;justify-content:center;font-size:0.8em;}.logoService{text-align:center;}.elLogoServ{max-width:150px;max-height:100px;color:white;}.descService{padding-top:5px;padding-bottom:10px;text-align:left;}main{margin:0px;margin-top:30px;margin-left:30px;margin-bottom:50px;margin-right:30px;}.centre{text-align:center;justify-content:center;}article{margin-left:20%;margin-right:20%;}@media (max-width: 1400px){article{margin-left:10%;margin-right:10%;}}@media (max-width: 800px){article{margin-left:0px;margin-right:0px;}}#pres{text-align:center;line-height:40px;margin-left:100px;margin-right:100px;}@media (max-width: 1400px){#pres{margin-left:0px;margin-right:0px;}}.textefooter{margin:10px;line-height:1.5em;width:60%;padding-left:20px;padding-right:20px;}.interlude{display:flex;justify-content:center;}.traitinterlude > hr{display:none;}.traitinterlude{border-top:2px gray dashed;width:650px;}.basfooter{display:flex;justify-content:space-around;margin-top:30px;margin-bottom:20px;}.corps{text-align:center;}footer{text-align:center;background-color:#222;display:flex;flex-direction:column;}.logofooter{padding-left:6%;margin-top:20px;text-align:center;}.ant{background-color:#222;background-image:url(img/antpetitgris.png);background-repeat:no-repeat;background-position:center top;display:inline-block;text-decoration:none;min-width:264px;min-height:80px;}.ant:hover{background-image:url(img/antpetit.png);}.liensfooter{display:flex;flex-direction:row;padding:20px;}.lienfooter{margin:10px;}#lienHeader{margin:0px;text-align:center;font-size:2em;display:flex;justify-content:center;padding:30px;padding-bottom:20px;margin-left:35px;margin-right:35px;}@media (max-width: 600px){#lienHeader{border:none;padding:0px;margin-top:20px;margin-left:20px;margin-right:20px;}}header{display:flex;justify-content:center;background-color:#222;}#header:active{box-shadow:2px 2px 3px white inset;}#header:hover{background-color:#444;transition:all 0.2s ease-in-out;}@media (max-width: 600px){#header:hover{background-color:inherit;}}h1,h2,h3,h4,h5,h6{font-weight:normal;line-height:100%;}h1{font-size:250%;text-align:center;}h2{font-size:170%;}h3{font-size:160%;}h4{font-size:140%;}h5{font-size:125%;}h6{font-size:110%;}#LRI{color:pink !important;aime:"les pizza ananas-champignons";width:200px;position:absolute;top:10px;left:10px;}@media (max-width: 1300px){#LRI{width:60px;position:absolute;top:2px;left:2px;}}@media (max-width: 1000px){#LRI{width:32px;position:absolute;top:2px;left:2px;}}.gomeza{display:none;position:fixed;bottom:0px;left:30px;z-index:100;}@media (max-width: 800px){.basfooter{flex-direction:column;}.textefooter{width:auto;margin:4%;margin-bottom:0px;}.logofooter{padding:0px;}.traitinterlude{width:80%;}}@media (max-width: 500px){.textefooter{padding-left:8%;padding-right:8%;margin:0px;}.liensfooter{flex-direction:column;}}

BIN
style.min.css.gz View File


Loading…
Cancel
Save