diff --git a/html_int/cdc.md b/html_int/cdc.md new file mode 100644 index 0000000..6f0af07 --- /dev/null +++ b/html_int/cdc.md @@ -0,0 +1,37 @@ +# menu +en dur + +# template +home anim + ---acceuil p5 + p3 / 8 +blog (tumblr) +actualite +vitrine -> 1 seul md same as acceuil +--- contact same as acceuil + + + + +# content +meta yaml + +author +date +cat +titre +gal + + +# md +unique + +accceuil +contact +vitrine + +post +actualite + +avoir +blog (flux rss) + + diff --git a/html_int/home.html b/html_int/home.html new file mode 100644 index 0000000..eb09531 --- /dev/null +++ b/html_int/home.html @@ -0,0 +1,387 @@ + + + + + + + LA PETITE ECOLE + + + + + +
+ + +
+ +
+ +
+ +
+ +
+ + +
+ +
+

Welcome to la petit ecole

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+

+This establishes the main-axis, thus defining the direction flex items are placed in the flex container. Flexbox is (aside from optional wrapping) a single-direction layout concept. Think of flex items as primarily laying out either in horizontal rows or vertical columns. + +.container { + flex-direction: row | row-reverse | column | column-reverse; +} + + row (default): left to right in ltr; right to left in rtl + row-reverse: right to left in ltr; left to right in rtl + column: same as row but top to bottom + column-reverse: same as row-reverse but bottom to top + +flex-wrap +two rows of boxes, the first wrapping down onto the second + +By default, flex items will all try to fit onto one line. You can change that and allow the items to wrap as needed with this property. + +.container { + flex-wrap: nowrap | wrap | wrap-reverse; +} + + nowrap (default): all flex items will be on one line + wrap: flex items will wrap onto multiple lines, from top to bottom. + wrap-reverse: flex items will wrap onto multiple lines from bottom to top. + +There are some visual demos of flex-wrap h + + +

+ +
+
+ crabe +
+ crabe +
+ crabe +
+ +
+
+
+ + + + + + + diff --git a/html_int/img/p02.svg b/html_int/img/p02.svg new file mode 100644 index 0000000..8e150ae --- /dev/null +++ b/html_int/img/p02.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/html_int/img/picto/picto_pe_07.svg b/html_int/img/picto/picto_pe_07.svg new file mode 100644 index 0000000..2057a1c --- /dev/null +++ b/html_int/img/picto/picto_pe_07.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/html_int/index.js b/html_int/index.js index 4e4f47e..f72cb3f 100644 --- a/html_int/index.js +++ b/html_int/index.js @@ -1,11 +1,33 @@ $(document).ready(function(){ + if ($('#homeSpacer')){ + $('#content').css({height:'0',overflow:'hidden'}); + $('#homeSpacer').click(function(){ + $(this).css('height','0'); + $('#content').css({height:'auto',overflow:'auto'}); + $('nav').css('z-index','1000'); + $("body").css('overflow','auto'); + + }); + } + function getRndInteger(min, max) { + return Math.floor(Math.random() * (max - min + 1) ) + min; + } + + var sun_x = getRndInteger(0, 850); + var sun_y = getRndInteger(0, 550); + var shape_x = getRndInteger(-1500, 200); + var shape_y = getRndInteger(0, 500); + + + $('.picto_sun').css({top:sun_y , left:sun_x,}); + $('.picto_shape').css({top:shape_y , left:shape_x,}); + $('#topBtn').click(function(){ $('.menuItem').toggleClass('open') }); - $('.menuItem').click(function(){ $('.menuItem').removeClass('active'); $('.menuItem').toggleClass('open'); diff --git a/html_int/style.css b/html_int/style.css index 72966e5..0827f61 100644 --- a/html_int/style.css +++ b/html_int/style.css @@ -52,26 +52,33 @@ table { /*edit variable here*/ :root{ - --menu_h: 70px; - --base_padding:20px; - --hover_color-menu: #fae5d4; - --menu-font-size : 3em; + --menu_h: 70px; + --base_padding:20px; + --hover_color-menu: #fae5d4; + --menu-font-size : 3em; } body{ - font-family: 'courier_primeregular'; - background-size:cover; + font-family: 'courier_primeregular'; min-height:100vh; font-size:10px; - height:auto; + height:auto; + background:url('img/gradient-back.svg') no-repeat center center; + background-size:cover; +} + + +#homeSpacer{ + height:calc(100vh - var(--menu_h)); + transition:all 0.6s ease; + z-index:1000; } nav{ position: fixed; width: 100%; - z-index: 1000; - + cursor: pointer; } #menu #topBtn{ @@ -102,7 +109,6 @@ nav{ .open{ height:calc(var(--menu_h)) !important; border: solid 3px var(--hover_color-menu)!important; - } @@ -158,23 +164,30 @@ nav{ } #content{ - position: absolute; - top:0px; - background:url('img/gradient-back.svg') no-repeat center center; - background-size: cover; - background-attachment: fixed; - min-height: 100vh; +// min-height: 100vh; /*! z-index: -1; */ } -.picto{ +.picto_sun{ width: 250px; height: 250px; - position: absolute; - top:250px; - left:450px; - z-index: 0; + position: fixed; + z-index: -1; } +.picto_shape{ + width: 2250px; + height: 950px; + position: fixed; + z-index: -1; + opacity:0.8; +} +.yellow_filter{ + filter: invert(58%) sepia(80%) saturate(3514%) hue-rotate(343deg) brightness(107%) contrast(87%); +} + +.pink_filter{ + filter: invert(92%) sepia(27%) saturate(4960%) hue-rotate(292deg) brightness(137%) contrast(104%); +} @keyframes pulse { 0% { @@ -193,6 +206,11 @@ nav{ /*! fill:yellow; */ } +#content{ + position : relative; + +} + #logo{ position: absolute; width:150px; @@ -229,4 +247,4 @@ nav{ .wrapper .gal .gal-img img{ max-width: 100%; height:auto; -} \ No newline at end of file +}