Merge branch 'master' of https://git.etud.insa-toulouse.fr/geindre/css-le-botlan
This commit is contained in:
commit
678a9e4a2c
3 changed files with 112 additions and 84 deletions
|
@ -7,6 +7,7 @@ See http://ocsigen.org/ and http://caml.inria.fr/ for information -->
|
||||||
<title>TP Ada S2</title>
|
<title>TP Ada S2</title>
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
||||||
<link media="all" href="../ystyle.css" rel="stylesheet" />
|
<link media="all" href="../ystyle.css" rel="stylesheet" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<script src="../Scripts/yfold.js"></script>
|
<script src="../Scripts/yfold.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
87
Y/ystyle.css
87
Y/ystyle.css
|
@ -1,5 +1,4 @@
|
||||||
/* POLICES */
|
/* POLICES */
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
src: url('https://fontlibrary.org//assets/fonts/poppins/fed70e8826194d3ab847c777f43c10ea/3352653dedd571bbc490c8be132b38cd/PoppinsLight.ttf') format('truetype');
|
src: url('https://fontlibrary.org//assets/fonts/poppins/fed70e8826194d3ab847c777f43c10ea/3352653dedd571bbc490c8be132b38cd/PoppinsLight.ttf') format('truetype');
|
||||||
|
@ -149,19 +148,12 @@ h1, h2, h3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* style des éléments a l'intérieur des cartes */
|
/* style des éléments a l'intérieur des cartes */
|
||||||
|
.card {}
|
||||||
.card {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.steps {
|
.steps {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.advice {
|
.advice {
|
||||||
margin: 3vw;
|
margin: 3vw;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
|
@ -170,6 +162,12 @@ h1, h2, h3 {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ascii {
|
||||||
|
font-size: 60%;
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0 25px 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -181,6 +179,7 @@ footer {
|
||||||
background: rgba(19, 19, 19, .8);
|
background: rgba(19, 19, 19, .8);
|
||||||
padding: 30px 50px;
|
padding: 30px 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
z-index: 2;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -207,9 +206,53 @@ footer .pcom a {
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* PAGE DE CODE */
|
/* PAGE DE CODE */
|
||||||
code:not(.inline), code:not(.command) {
|
code {
|
||||||
|
background: rgba(19, 19, 19, .8);
|
||||||
|
margin-top: 20px;
|
||||||
|
font-family: monospace;
|
||||||
|
color: #ffffcc;
|
||||||
|
display: inline;
|
||||||
|
padding: 2px 6px;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: 90%;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.output, samp {
|
||||||
|
display: block;
|
||||||
|
background: rgba(19, 19, 19, .8);
|
||||||
|
margin-top: 20px;
|
||||||
|
font-family: monospace;
|
||||||
|
color: #ccffcc;
|
||||||
|
border-radius: 12px;
|
||||||
|
tab-size: 2;
|
||||||
|
white-space: pre;
|
||||||
|
width: 80%;
|
||||||
|
display: block;
|
||||||
|
overflow-x: scroll;
|
||||||
|
font-size: 120%;
|
||||||
|
padding: 20px 50px 22px 25px;
|
||||||
|
border-left: 10px solid #494;
|
||||||
|
line-height: 1.55;
|
||||||
|
transition: all .3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
code.block {
|
||||||
|
border-radius: 12px;
|
||||||
|
tab-size: 2;
|
||||||
|
white-space: pre;
|
||||||
|
display: block;
|
||||||
|
overflow-x: scroll;
|
||||||
|
font-size: 120%;
|
||||||
|
padding: 20px 50px 22px 25px;
|
||||||
|
border-left: 10px solid #944;
|
||||||
|
line-height: 1.55;
|
||||||
|
transition: all .3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
code.page {
|
||||||
|
border-radius: 12px;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: rgba(19, 19, 19, .8);
|
background: rgba(19, 19, 19, .8);
|
||||||
|
@ -220,16 +263,13 @@ code:not(.inline), code:not(.command) {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
display: block;
|
display: block;
|
||||||
color: #ffffcc;
|
color: #ffffcc;
|
||||||
|
|
||||||
tab-size: 2;
|
tab-size: 2;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
padding: 20px 50px 22px 25px;
|
padding: 20px 50px 22px 25px;
|
||||||
border-left: 10px solid #444;
|
border-left: 10px solid #884;
|
||||||
line-height: 1.55;
|
line-height: 1.55;
|
||||||
|
|
||||||
transition: all .3s;
|
transition: all .3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,17 +398,6 @@ span.file {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
var, samp, code.inline, code.kw, code.command {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 2px 8px;
|
|
||||||
background: #222;
|
|
||||||
color: #ffffcc ;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 90%;
|
|
||||||
font-family: monospace;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
}
|
}
|
||||||
|
@ -403,6 +432,7 @@ span.lbutton:before{
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
padding: 0.1em 0.25em;
|
padding: 0.1em 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.lbutton:after {
|
span.lbutton:after {
|
||||||
content: "";
|
content: "";
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
@ -424,6 +454,7 @@ span.lbutton:after{
|
||||||
|
|
||||||
aside.yfold {
|
aside.yfold {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside .yfold-title, .card .yfold-title {
|
aside .yfold-title, .card .yfold-title {
|
||||||
|
@ -433,7 +464,6 @@ aside .yfold-title, .card .yfold-title {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MEDIA */
|
/* MEDIA */
|
||||||
|
|
||||||
@media (min-width: 1400px) {
|
@media (min-width: 1400px) {
|
||||||
footer {
|
footer {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -447,7 +477,6 @@ border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ANIMATION */
|
/* ANIMATION */
|
||||||
|
|
||||||
@-webkit-keyframes bgMove {
|
@-webkit-keyframes bgMove {
|
||||||
0% {
|
0% {
|
||||||
background-position: 0% 50%
|
background-position: 0% 50%
|
||||||
|
@ -538,6 +567,4 @@ border-radius: 12px;
|
||||||
100% {
|
100% {
|
||||||
transform: translateX(0%);
|
transform: translateX(0%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<title>D. Le Botlan</title>
|
<title>D. Le Botlan</title>
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
||||||
<link media="all" href="Y/ystyle.css" rel="stylesheet" />
|
<link media="all" href="Y/ystyle.css" rel="stylesheet" />
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<script src="Y/Scripts/yfold.js"></script>
|
<script src="Y/Scripts/yfold.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue