From e0903be7f7b051dd95b98736223bbc12231f9914 Mon Sep 17 00:00:00 2001 From: raida Date: Tue, 5 Mar 2019 17:38:45 +0100 Subject: [PATCH] Respect du Responsive Design --- assets/css/main.css | 28 ++++++++--------- assets/css/perso.css | 68 +++++++++++++++++++++++++++++++++++++++++ assets/js/.main.js.swo | Bin 24576 -> 0 bytes assets/js/.main.js.swp | Bin 24576 -> 0 bytes assets/js/perso.js | 16 ++++++++++ index.html | 3 +- 6 files changed, 100 insertions(+), 15 deletions(-) delete mode 100644 assets/js/.main.js.swo delete mode 100644 assets/js/.main.js.swp create mode 100644 assets/js/perso.js diff --git a/assets/css/main.css b/assets/css/main.css index f6639d6..7c07066 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -78,7 +78,7 @@ input, select, textarea { width: device-width; } - @media screen and (max-width: 480px) { + @media screen and (max-width: 824px) { html, body { min-width: 320px; @@ -123,7 +123,7 @@ input, select, textarea { } - @media screen and (max-width: 736px) { + @media screen and (max-width: 940px) { html { font-size: 11pt; @@ -131,7 +131,7 @@ input, select, textarea { } - @media screen and (max-width: 360px) { + @media screen and (max-width: 376px) { html { font-size: 10pt; @@ -238,7 +238,7 @@ input, select, textarea { font-size: 0.6rem; } - @media screen and (max-width: 736px) { + @media screen and (max-width: 940px) { h1 { font-size: 1.75rem; @@ -360,7 +360,7 @@ input, select, textarea { width: calc(25% - 0.375rem); } - @media screen and (max-width: 480px) { + @media screen and (max-width: 824px) { form > .fields { width: calc(100% + 3rem); @@ -701,7 +701,7 @@ input, select, textarea { width: 100%; } - @media screen and (max-width: 736px) { + @media screen and (max-width: 940px) { .image.main { margin: 2rem 0; @@ -709,7 +709,7 @@ input, select, textarea { } - @media screen and (max-width: 480px) { + @media screen and (max-width: 824px) { .image.main { margin: 1.5rem 0; @@ -839,7 +839,7 @@ input, select, textarea { width: 100%; } - @media screen and (max-width: 480px) { + @media screen and (max-width: 824px) { ul.actions:not(.fixed) { -moz-flex-direction: column; @@ -1213,7 +1213,7 @@ input, select, textarea { } - @media screen and (max-width: 736px) { + @media screen and (max-width: 940px) { #wrapper { padding: 2rem 1rem; @@ -1221,7 +1221,7 @@ input, select, textarea { } - @media screen and (max-width: 480px) { + @media screen and (max-width: 824px) { #wrapper { padding: 1rem; @@ -1421,7 +1421,7 @@ input, select, textarea { } - @media screen and (max-width: 736px) { + @media screen and (max-width: 940px) { #header > * { margin-top: 2rem; @@ -1452,7 +1452,7 @@ input, select, textarea { } - @media screen and (max-width: 480px) { + @media screen and (max-width: 824px) { #header { padding: 1.5rem 0; @@ -1591,7 +1591,7 @@ input, select, textarea { background-color: rgba(255, 255, 255, 0.175); } - @media screen and (max-width: 736px) { + @media screen and (max-width: 940px) { #main article { padding: 3.5rem 2rem 0.5rem 2rem ; @@ -1607,7 +1607,7 @@ input, select, textarea { } - @media screen and (max-width: 480px) { + @media screen and (max-width: 824px) { #main article { padding: 3rem 1.5rem 0.5rem 1.5rem ; diff --git a/assets/css/perso.css b/assets/css/perso.css index 520c39b..bfdc76e 100644 --- a/assets/css/perso.css +++ b/assets/css/perso.css @@ -13,6 +13,10 @@ border-radius: 0 4px 4px 0; } +#header nav ul.simple { + display: none; +} + #header nav ul li { display: block; position: relative; @@ -43,6 +47,34 @@ display: block; } +@media screen and (max-width: 824px) { + + #header nav ul { + max-width: none; + width: -moz-max-content; + width: -webkit-max-content; + width: -ms-max-content; + width: max-content; + } + + #header nav ul li { + width: 100%; + } + +} + +@media screen and (max-width: 528px) { + + #header nav ul.left, #header nav ul.right { + display: none; + } + + #header nav ul.simple { + display: block; + } + +} + @@ -83,6 +115,42 @@ padding: 10px; } +@media screen and (max-width: 940px) { + + #header .soutien { + margin-top: calc(2.75rem + 2rem); + } + + #header .soutien img { + height: 100px; + } + +} + +@media screen and (max-width: 824px) { + + #header .soutien { + margin-top: calc(2*3rem + 2rem); + } + + #header .soutien .left, #header .soutien .right { + float: none; + } + +} + +@media screen and (max-width: 528px) { + + #header .soutien { + margin-top: calc(2rem); + } + + #header .soutien img { + height: 70px; + } + +} + .left { float: left; } diff --git a/assets/js/.main.js.swo b/assets/js/.main.js.swo deleted file mode 100644 index 5f78edd0374719dd3be016e51dcf6d153692fb66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24576 zcmeI3d5|2{dB6u)juEnOnFKNkWD>|EkVznuKqi6TGzo-_p4=bM z=<`g&_nOar=jcDoM~-lS`nkUCGfF?#JU?MRKWaXs^d9qlm-!rRtN--R^v}ax%Ky}) zZ#U`f?K6+Fk4yrY1TqO^638TwNg$IzCV@->nFKNkWD>|EkV&9}1guIfcM;EjDjj&v z|0DnX`Ac%SufbR0^Y93K5``zLq|9)df;f_KC3K@pb1e=g1C{sW$e@4?e>5}t%7;EV7W+yfs4 z8!E6JmO~Gm2QObt8F&cZ4}Sz6xG)57gg3zHCAr+U;ahM5j==}OgBxKhYyklm!N28m zxgWzf;66AG$6yMYa3j1Ku7KrmF8q*zcm)0$9)wT9{cs*vK0IT5j@H$umr_pbv7D#F~3Ik%i>6Sx>C#po0bB^|!_jl{b+4W=LUTAs9W|eDBd9q`(@_FjG zR(31UT~FF5|I)*tyB&mHW7PK=)`X?H7A5zERVPrrU+6XJMWeo|N~ny1827!paNGd7 z3o}ys*;sRItme2A(P-q8w&ZJGS-oElbX9B;g+kQK&TWvw*WD;tjfU-3_IpLuWTOgw z#lkfeXNoqVG@E+MH7~GxH}8-i*9?)cxu7#5C-u;@iOW<%RYMc{ic$n-aMj2jGTjME zwpFecV|CDtNro*FI(nfSIX56GcFmeiG$qfYk+rGsdHE#DqKhuh}zW-pt^* zGgF8(K-E(U%Dz{t?e`kR;b@kTU}lFI0;L7-Q1e9uVRL*u^-is>zFqgG>;-0UJcSnN znCe#D@+XBAL~}fOTVK_-Dz;w=s@`-l=||rr>m^-Zo6y1p)^2iF~H%ApDiX$zm z(HlzaO>4wl+*jWYo4%V2!r5y|XGLk#6B=+`{qmjlPxfR%1?;SW`B*nvRZv#fT?gfyJp-N6@?Ai!s79^F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w!2(q9L87vOQY1LXPtA=n82gAe}-d7xs{B8` z+1u4;!1ZXo*45(FN_m>iw&-$gYq3jAUEkdP-Yz$Gw5ODp4xwl(BHhW39!dIsx>gBV zk-G5Hr7OzCQ6BLkm+2F~W}CTApWQ%du;;?hS diff --git a/assets/js/.main.js.swp b/assets/js/.main.js.swp deleted file mode 100644 index 602ff6740a91583a9acbd1065c3fd5f6d5e79a3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24576 zcmeI3ZIB$rd4LD>ftL^AN@6GiPFlxVyN6D@CkY`W&=&$(XCrhV34S0V&+X3Lj&65m z*_pjNVaXUO2__Y6{KFyC&z9c-=nT9k2!qa={TEaFF1IZe^)Pa zoOT$-^7vGrYP@D{ZthgE9H%ntwkyP})Z=EO;zp4dN0q}-rRn-X`EYdV1o9ZU1ab-d z2ohLvVEwwax~pG0v{L=-&m8y>(#l`WC6G%Xmq0FoTmrcSatY)T$R&_V;3rK2acik_ zCxt%K6#NGBeMaB+QuBMleDCQC$6cU5Uozjv&9_ZwiTSgbi>xoC#;ZQ|CC&r{R+jLI5s&04|61P=PYM2Yz_ANM%5m%izIj&j8txGuXPy=s zVRgoCZA4yA7-viN`%N$G#HFcDP>uaCD2=EOW?rvU)PX=!DEDMlD93GodfIF6 zc7s~OYnO^`FY@p3%2N$*elnb2Gv&`0`^r&{s_n4R*dMk^VS(4 zD`jfJd;54a@SSR>-S&cbhbds)uX%m1?&gs)(N0cc@iH%%^Kf6jZLb;5dJD>i^F^xf z6_jIG&KDgrl8DMvej}D6*3%C~atl<&pHija$*^{$Tz4Z=5I*jgbgVxsA5x){ZC>XPbIoCyG@x=eDf8qEsDH&5qk0tJoxUeO6tMrH$J5 z;!Zor=m`C#DQPfZOh9Gnea~JWg`q1NCg(3bWv`rqQpX1`E94cH%INuZ3$Pw%RO4ipjcUcap(~ z+N#Wgq@3hg8W~B3CbPEL<o;9l zn?_Q+mOJe+6uGr*Dd*>-CPV*brEW#L8;wz=K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764kgWM_j1y~M$$321P;R*OO z$X$Xq+zylA!i_Kidtn@Q!zOqa{2aW+oq;#uU*So31b!WEhiRCCHLw(3=FY&2@DK1j zJO^^$;8XArd>C$oD`6vyK?Rn>GLX9lC*TG6CVUz0fd zg6R2~kp0NunmM`E^_XUT$l6P(&+ZUi+~Il!ka`65AtvKDHh#*@c1$;6cFAB5b?Sj! zA80l2ne&m_`As1fJ6&$ll699kU7nsQm)W3fveu`A*KIT(rI+b%SPWqP?=GU5~|Uk(|tvBXw0yIn4|#mR=5Cr@iAz)zb#b?ByiYUdRtU z9OGlx`v;3oK>wy%8+R+K(Hp~!DbP12QXdZ^nd_W#xO8a*cW$oN!u zK^D=z)FkQEGo}S|@1^fK(pXdh2Ww#0d(f+bcDrq`4$@IiN2iFkxLT2nmRZl`nFX53 zUYkjSt#;cDIYzd094FgT++C6CzTLYk4B&d}xz&m4`(o~~m69{#$zRzcG;0mcAW$V8 zh0Q^8u_hU-W%4$ca?&Whw{mnmsQ_0sBFSZ&UFw{4cV=ZGzSCLGNP=cD6NGX1n%vvA zZZbFfq@>9ah(jVyX1Vknf~}if0Lkp7hxc?%m%VnH1WEYG6PbQy=R2K*`IC-G`TbP8 zHH~DXofp2p*X_1_qlazC{>LPzN0pufEosjqKRX)r4Ic!U`#${vq_|s@Wg(Z!;!6=* z9y8@"); + $menu.children("ul").each(function(index) { + $(this).children("li").each(function(index) { + $menu_simple.append($(this).clone()); + }); + }); + + $menu.append($menu_simple); + }); + +})(jQuery); diff --git a/index.html b/index.html index cc0541d..c9712dd 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@

Le fournisseur réseau de l'université Paris-Saclay.

-