Skip to content
Snippets Groups Projects
Verified Commit f25fe906 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

src/style.css: add new font and loots of changes

parent 90ba5a37
No related branches found
No related tags found
No related merge requests found
File added
File added
@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@400bbbh;600&display=swap'); html, body {
font-size: 20px;
}
.pencadre{
border:4px;
border-style:solid;
border-color: #034b6f;
background-color: #EEF3F9;
padding: 1em;
text-align: left ;
border-radius : 5px 4px 3px 2px;
font-weight: 300;
font-size: 22px;
}
@font-face {
font-family: 'Yanone Kaffeesatz';
src:url("../src/YanoneKaffeesatz-Bold.ttf");
}
@font-face {
font-family: 'Raleway';
src:url("../src/Raleway-Regular.ttf");
}
@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
h3 { /* Header 3 */ h3 { /* Header 3 */
font-family: 'Yanone Kaffeesatz', sans-serif; font-family: 'Yanone Kaffeesatz', sans-serif;
color: #729FCF ; color: #034b6f ;
} }
h2 { /* Header 2 */ h2 { /* Header 2 */
font-family: 'Yanone Kaffeesatz', sans-serif; font-family: 'Yanone Kaffeesatz', sans-serif;
color: darkblue ; color: #034b6f ;
} }
h1 { /* Header 1 */ h1 { /* Header 1 */
...@@ -15,21 +41,15 @@ h1 { /* Header 1 */ ...@@ -15,21 +41,15 @@ h1 { /* Header 1 */
color: #034b6f ; color: #034b6f ;
} }
#pencadre{ .toggle {
border:1px; display: none;
border-style:solid;
border-color: #034b6f;
background-color: #EEF3F9;
padding: 1em;
text-align: center ;
border-radius : 5px 4px 3px 2px;
} }
legend{ legend{
color: #034b6f ; color: #034b6f ;
} }
#pquestion { .pquestion {
color: darkgreen; color: darkgreen;
font-weight: bold; font-weight: bold;
} }
...@@ -39,11 +59,22 @@ legend{ ...@@ -39,11 +59,22 @@ legend{
justify-content: center; justify-content: center;
} }
pre.r { details summary {
background-color: #c4c4c4; padding: 1em;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 26px;
color: #034b6f ;
text-align: center;
} }
details summary::before {
pre:not([class]) { content: "▶";
background-color: #1a1a1a; }
color: white; details summary:hover::before {
content: "▷";
}
details summary:active::before {
content: "▼";
} }
details summary:focus::before {
content: "▼";
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment