Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.98 KB | None | 0 0
  1. CSS
  2.  
  3. /*This is just my second website, I'm sorry for how messy it is.
  4. I promise I'll use less classes in the future and get rid of all that useless stuff :)*/
  5.  
  6. * {
  7. margin: 0;
  8. padding: 0;
  9. box-sizing: border-box;
  10. font-family: 'rounded elegance', Arial, sans-serif;
  11. }
  12.  
  13. @font-face {
  14. font-family: 'rounded elegance';
  15. src: url('rounded_elegance-webfont.woff') format('woff'),
  16. url('rounded_elegance-webfont.ttf') format('truetype'),
  17. url('rounded_elegance-webfont.woff2') format('woff2')
  18. }
  19.  
  20. ::selection {
  21. background: rgb(0, 0, 0); /* WebKit/Blink Browsers */
  22. color: white
  23. }
  24. ::-moz-selection {
  25. background: rgb(0, 0, 0); /* Gecko Browsers */
  26. color: white
  27. }
  28.  
  29. h1 {
  30. margin-left: 5rem;
  31. margin-top: 3rem;
  32. margin-bottom: -4rem;
  33. font-size: 4rem
  34. }
  35.  
  36. h2 {
  37. font-size: 1.2rem;
  38. color: black;
  39. text-align: justify;
  40. }
  41.  
  42. h3 {
  43. font-size: 4rem
  44. }
  45.  
  46. nav {
  47. background: rgb(0, 0, 0);
  48. background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0.817) 61%, rgba(0, 0, 0, 0) 100%);
  49. background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.817) 61%, rgba(0, 0, 0, 0) 100%);
  50. background: linear-gradient(180deg, rgba(0, 0, 0, 0.817) 61%, rgba(0, 0, 0, 0) 100%);
  51. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#050059",endColorstr="#050059",GradientType=1);
  52. position: fixed;
  53. z-index: 99;
  54. width: 100%
  55. }
  56.  
  57. nav img {
  58. z-index: 99;
  59. display: block;
  60. margin-left: auto;
  61. margin-right: auto;
  62. height: 3.5rem;
  63. padding: 0.7rem;
  64. margin-bottom: 0.5rem;
  65. cursor: pointer;
  66. }
  67.  
  68. /*-----------------------------------------------*/
  69.  
  70. .face-hero img {
  71. width: 100%
  72. }
  73.  
  74. .face-hero h3{
  75. color: white;
  76. font-weight: bold;
  77. vertical-align: middle;
  78. text-align: left;
  79. top: 1px;
  80. }
  81.  
  82. .face-text, .face-bottom {
  83. line-height: 8vw;
  84. font-size: 9vw;
  85. padding: 10vw 6vw;
  86. }
  87. .face-bottom {
  88. margin-top: -3rem;
  89. }
  90. .hey-text {
  91. font-size: 4vw;
  92. margin: 55rem 70vw;
  93. }
  94.  
  95. /*-----------------------------------------------*/
  96.  
  97. .intro-text {
  98. position: relative;
  99. color: white;
  100. font-weight: 200
  101. }
  102. .intro-title {
  103. margin-top: -20rem;
  104. color: white;
  105. }
  106.  
  107. /*-----------------------------------------------*/
  108.  
  109. .web-ex-container {
  110. display: grid;
  111. grid-template-columns: 1fr 1fr;
  112. position: relative;
  113. background-color: rgb(235, 235, 235);
  114. }
  115.  
  116. .web-ex1 img {
  117. width: 100%;
  118. filter: brightness(70%)
  119. }
  120. .web-ex1 h3, h2 {
  121. padding: 5rem;
  122. color: white;
  123. font-weight: bold;
  124. position: absolute;
  125. text-align: left;
  126. white-space: normal;
  127. }
  128. .web-ex1 h3 {
  129. top: 0.5rem;
  130. margin-left: 0
  131. }
  132. .web-ex1 h2 {
  133. top: 16rem;
  134. z-index: 10;
  135. width: 50%;
  136. }
  137.  
  138. .web-ex2 img {
  139. width: 100%;
  140. filter: brightness(70%)
  141. }
  142. .web-ex2 h3, h2 {
  143. padding: 5rem;
  144. color: white;
  145. font-weight: bold;
  146. position: absolute;
  147. text-align: left;
  148. }
  149. .web-ex2 h3 {
  150. top: 0.5rem;
  151. margin-left: 0
  152. }
  153. .web-ex2 h2 {
  154. top: 16rem;
  155. }
  156.  
  157. /*-----------------------------------------------*/
  158.  
  159. .web-ex1-div img {
  160. transition: transform 0.15s;
  161. transition-timing-function: ease-in-out;
  162. }
  163.  
  164. .web-ex1-div:hover img {
  165. filter: brightness(40%);
  166. transform: scale(0.97, 0.97)
  167. }
  168.  
  169. .web-ex1-div:hover .web-ex1{
  170. cursor: pointer;
  171. }
  172.  
  173. .web-ex2-div img{
  174. transition: transform 0.1s;
  175. transition-timing-function: ease-in-out
  176. }
  177.  
  178. .web-ex2-div:hover img {
  179. filter: brightness(40%);
  180. transform: scale(0.97, 0.97)
  181. }
  182.  
  183. .web-ex2-div:hover .web-ex2{
  184. cursor: pointer
  185. }
  186. /*-----------------------------------------------*/
  187.  
  188. .logo-showcase-top {
  189. margin-top: 5.5rem;
  190. }
  191.  
  192. .logo-showcase-top h2 {
  193. position: relative;
  194. color: black;
  195. font-weight: 200;
  196. margin-bottom: -2rem
  197. }
  198.  
  199. .logo-showcase-list {
  200. display: grid;
  201. grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  202. margin-bottom: -1rem;
  203. margin-right: 4rem
  204. }
  205.  
  206. .logo-showcase-list img {
  207. width: 3.7rem;
  208. margin-bottom: 4rem;
  209. margin-left: 5rem;
  210. transition: transform 0.1s;
  211. transition-timing-function: ease-in-out;
  212. z-index: 5;
  213. }
  214.  
  215. .logo-showcase-list div {
  216. display: none
  217. }
  218.  
  219. .logo-showcase-big {
  220. background-color: rgb(235, 235, 235);
  221. }
  222.  
  223. .logo-showcase-list img:hover {
  224. cursor: pointer;
  225. transform: scale(1.3, 1.3);
  226. }
  227.  
  228. .logo-showcase-big img {
  229. width: 100%
  230. }
  231.  
  232. .logo-showcase-big :not(.showthat) {
  233. display: none;
  234. }
  235.  
  236. /*-----------------------------------------------*/
  237.  
  238. .games-showcase-intro h2 {
  239. position: relative;
  240. color: black;
  241. font-weight: 200
  242. }
  243.  
  244. .games-showcase-list {
  245. display: grid;
  246. grid-template-columns: 1fr 1fr;
  247. background-color: rgb(235, 235, 235)
  248. }
  249.  
  250. .games-showcase-list img {
  251. position: relative;
  252. height: 100%;
  253. transition: transform 0.15s;
  254. transition-timing-function: ease-in-out;
  255. filter: brightness(60%);
  256. overflow: visible;
  257. width: 100%
  258. }
  259.  
  260. .games-showcase-list h2, h3 {
  261. position: absolute;
  262. color: white;
  263. z-index: 2;
  264. margin: 4rem;
  265. }
  266.  
  267. .games-showcase-list h3 {
  268. font-size: 3rem;
  269. padding-bottom: 2rem;
  270. font-weight: bold;
  271. }
  272.  
  273. .games-showcase-list h2 {
  274. margin-left: -1rem;
  275. width: 50%
  276. }
  277.  
  278. .games-showcase-list a {
  279. cursor: pointer;
  280. }
  281.  
  282. .game1:hover img {
  283. filter: brightness(40%);
  284. transform: scale(0.97, 0.97);
  285. }
  286. .game2:hover img {
  287. filter: brightness(40%);
  288. transform: scale(0.97, 0.97);
  289. }
  290. .game3:hover img {
  291. filter: brightness(40%);
  292. transform: scale(0.97, 0.97);
  293. }
  294. .game4:hover img {
  295. filter: brightness(40%);
  296. transform: scale(0.97, 0.97);
  297. }
  298.  
  299. /*-----------------------------------------------*/
  300.  
  301. .footer {
  302. display: grid;
  303. background-color: rgb(0, 0, 0);
  304. height: 3rem;
  305. grid-template-areas: "aa cc bb";
  306. grid-template-columns: 1fr 1fr 1fr;
  307. position: relative;
  308. filter: brightness(50%);
  309. }
  310.  
  311. .footer img {
  312. height: 1.5rem;
  313. margin: auto;
  314. grid-area: cc;
  315. cursor: pointer;
  316. transition: transform 0.1s;
  317. transition-timing-function: ease-in-out;
  318. }
  319.  
  320. .footer img:hover {
  321. transform: translateY(-0.3rem);
  322. }
  323.  
  324. .footer h2 {
  325. padding: 0.8rem;
  326. font-size: 0.85rem;
  327. }
  328.  
  329. .aa {
  330. grid-area: aa;
  331. cursor: pointer;
  332. margin-left: 1rem;
  333. }
  334. .bb {
  335. margin-left:auto;
  336. grid-area: bb;
  337. margin-right: 8rem;
  338. }
  339.  
  340. /*-----------------------------------------------*/
  341.  
  342. .conclusion {
  343. display: grid;
  344. grid-template-columns: 1fr 1fr 1fr;
  345. height: 23rem;
  346. }
  347.  
  348. .conclusion img {
  349. height: 10rem;
  350. filter: invert();
  351. margin-top: 6rem;
  352. }
  353.  
  354. .phone {
  355. display:table-cell;
  356. vertical-align:middle;
  357. text-align:center;
  358. }
  359. .phone:hover {
  360. background-color: black;
  361. cursor: pointer;
  362. }
  363. .phone:hover img {
  364. filter: none
  365. }
  366. .mail {
  367. display:table-cell;
  368. vertical-align:middle;
  369. text-align:center;
  370. }
  371. .mail:hover {
  372. background-color: black;
  373. cursor: pointer;
  374. }
  375. .mail:hover img {
  376. filter: none
  377. }
  378. .smile {
  379. display:table-cell;
  380. vertical-align:middle;
  381. text-align:center;
  382. }
  383. .smile:hover {
  384. background-color: black;
  385. cursor: pointer;
  386. }
  387. .smile:hover img {
  388. filter: none
  389. }
  390. /*-----------------------------------------------*/
  391.  
  392. @media screen and (max-width: 1070px) {
  393. h1 {
  394. font-size: 4rem;
  395. margin-top: 3.2rem;
  396. margin-bottom: -3rem
  397. }
  398.  
  399. h2 {
  400. font-size: 1.5rem;
  401. margin-bottom: 2.5vh
  402. }
  403. h3 {
  404. font-size: 8rem
  405. }
  406. nav img {
  407. height: 7rem;
  408. padding: 2rem
  409. }
  410. /*----------------------------*/
  411. .face-hero {
  412. height: 100%
  413. }
  414. .face-text {
  415. padding-top: 12rem;
  416. padding-left: 1.5rem;
  417. line-height: 4.5rem;
  418. }
  419. .face-bottom {
  420. padding-top: 4rem;
  421. margin-top: 4rem;
  422. padding-left: 1.5rem
  423. }
  424. .intro-title {
  425. margin-top: -20rem;
  426. transform: translateY(-7rem);
  427. }
  428. .intro-text {
  429. transform: translateY(-7rem);
  430. }
  431. /*----------------------------*/
  432. .web-ex1 h3 {
  433. margin-top: 3rem
  434. }
  435. .web-ex1 h2 {
  436. width: 100%;
  437. margin-top: -8rem
  438. }
  439. .web-ex2 h3 {
  440. margin-top: 44rem
  441. }
  442. .web-ex2 h2 {
  443. margin-top: 32.4rem
  444. }
  445. .web-ex-container {
  446. grid-template-columns: 1fr
  447. }
  448. /*----------------------------*/
  449. .logo-showcase-list {
  450. grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  451. margin-right:0 ;
  452. }
  453.  
  454. .logo-showcase-top h2 {
  455. margin-bottom: 2.5rem
  456. }
  457.  
  458.  
  459. .logo-showcase-top {
  460. margin-top: -6rem;
  461. }
  462.  
  463. .logo-showcase-list img {
  464. width: 8rem;
  465. margin-top: -4rem;
  466. padding: 1rem;
  467. margin-left: 2rem
  468. }
  469.  
  470. .logo-showcase-list div {
  471. display: inline-block
  472. }
  473. /*----------------------------*/
  474. .games-showcase-list {
  475. grid-template-columns: 1fr
  476. }
  477. .games-showcase-list img {
  478. transform: translateY(0.5rem);
  479. }
  480. .games-showcase-list h2 {
  481. width: 100%;
  482. margin-top: 8rem
  483. }
  484. .games-showcase-list h3 {
  485. font-size: 4rem;
  486. margin-top: 7rem
  487. }
  488. /*-----------------------------------------------*/
  489. .footer {
  490. height: 6rem;
  491. }
  492. .footer h2 {
  493. font-size: 1.5rem;
  494. margin-left: 4rem;
  495. margin-top: 2rem;
  496. margin-bottom: 0rem;
  497. padding: 0
  498. }
  499. .footer img {
  500. height: 2.5rem;
  501. }
  502. .bb {
  503. margin-right: 17.5rem
  504. }
  505. }
  506. /*----------------------TODO; change host for N on top of page, make smile page -------------------------*/
  507.  
  508. HTML
  509.  
  510. <!DOCTYPE html>
  511. <html>
  512. <head>
  513. <title>Nathan Francois' resume</title>
  514. <link href="main.css" rel="stylesheet" type="text/css">
  515. <link rel="icon" href="noirextreme.ico" type="image/x-icon">
  516. <meta charset="utf-8">
  517. </head>
  518. <body>
  519. <nav>
  520. <img src="https://i.postimg.cc/qM9ZVtL0/9f-EPm0d-62x.png" onclick='location.href="index.html"' title="home">
  521. </nav>
  522. <div class="face-hero">
  523. <div>
  524. <img src="herobanner_pretty.png">
  525. <h3 class="face-text">NATHAN<br/> FRANÇOIS</h3>
  526. <h3 style="display: none" class="hey-text">hey</h3>
  527. </div>
  528. </div>
  529. <div class="intro-container">
  530. <h1 class="intro-title">ABOUT</h1>
  531. <h2 class="intro-text">
  532. I'm 18 from Wavre, I study graphic design at IPES (6th grade of humanités). <br/>
  533. I love all things design, I already have a year and a half of training behind me, more about that below.<br/>
  534. I'm looking for an internship in something design related, web, paper, anything really, I mainly want to learn new stuff.<br/>
  535. </h1>
  536. </div>
  537. <!-- <div class="web-ex-container">
  538. <div class="web-ex1-div" onclick='location.href="https://www.noirextreme.com/irsl_static"'>
  539. <div class="web-ex1">
  540. <img src="Screenshot_2019-09-15 IRSL Racing.jpg">
  541. <h3>IRSL Racing</h3>
  542. <h2>
  543. IRSL is a made up company for a game I'm playing called starbase, I organize and livestream space races. <br/>
  544. The website is used to display news about races, eg. placements and upcoming competitions as well as a betting platform using in-game credits.<br/>
  545. (It's just a static placeholder while I figure out how to use Drupal.)<br/>
  546. </h2>
  547. </div>
  548. </div>
  549. <div class="web-ex2-div" onclick='location.href="https://www.noirextreme.com/soon"'>
  550. <div class="web-ex2">
  551. <img src="Screenshot_2019-09-15 IRSL Racing.jpg">
  552. <h3>Attrap</h3>
  553. <h2>
  554. Attrap is another made up company, this one is based on one of my sister's ideas to make a VR controller which would limit the user's grip when they grab an object in-game.<br/>
  555. The store section is obviously placeholder, but if the project evolves further it might end up being functional.<br/>
  556. (Also placeholder)
  557. </h2>
  558. </div>
  559. </div>
  560. </div>
  561. -->
  562. <div class="logo-showcase">
  563. <div class="logo-showcase-top">
  564. <h1>DESIGN</h1>
  565. <h2>
  566. Here's a selections logos I've made so far! <br/>
  567. I've used Adobe Illustrator, Xd and GIMP to make these, but for other projects I've also used InDesign and Photoshop.
  568. </h2>
  569. <div class="logo-showcase-list">
  570. <div></div>
  571. <img onclick="logo_show('1')" src="FFFichier 88@2x-8.png">
  572. <div></div>
  573. <img onclick="logo_show('2')" src="VVVFichier 84@2x-8.png">
  574. <div></div>
  575. <img onclick="logo_show('3')" src="amicaleFichier 83@2x-8.png">
  576. <div></div>
  577. <img onclick="logo_show('4')" src="EAT OUT.png">
  578. <div></div>
  579. <div></div>
  580. <div></div>
  581. <img onclick="logo_show('5')" src="schools.png">
  582. <div></div>
  583. <img onclick="logo_show('6')" src="donut.png">
  584. <div></div>
  585. <img onclick="logo_show('7')" src="pilar.png">
  586. <div></div>
  587. <img onclick="logo_show('8')" src="IRSL_small.png">
  588. <div></div>
  589. </div>
  590. <div id='0' class="logo-showcase-big">
  591. <img id="1" src="FF bigg.png">
  592. <img id="2" class="showthat" src="VVVFichier 1@2x-8.png">
  593. <img id="3" src="amicaleFichier 1@2x-8.png" style="padding: 2vw">
  594. <img id="4" src="eat outFichier 4@2x-8.png">
  595. <img id="5" src="JBFichier 1@2x-8.png" style="padding: 2vw">
  596. <img id="6" src="donut big.png" style="padding: 2vw">
  597. <img id="7" src="Pilar bigg.png">
  598. <img id="8" src="IRSL_big.png">
  599. </div>
  600. </div>
  601. </div>
  602. <div class="games-showcase">
  603. <div class="games-showcase-intro">
  604. <h1>GAMES</h1>
  605. <h2>I've played around with gamedev quite a bit, take a look.</h2>
  606. </div>
  607. <div class="games-showcase-list">
  608. <a class="game1" href="https://www.youtube.com/watch?v=UqlHen4KJqk" target="_blank" rel="noopener noreferrer">
  609. <h3>Angels Fall Flat</h3>
  610. <h2>This game is a space dogfighting game I'm making, so far I have movement down, next up is hitboxes and shooting.</h2>
  611. <img src="MmXwlVP_4x.png">
  612. </a>
  613. <a class="game2" href="https://www.noirextreme.com/soon" target="_blank" rel="noopener noreferrer">
  614. <h3>Evangelion game</h3>
  615. <h2>A physics based robot fighting game I have yet to work on, you can look at the art I've already made though.</h2>
  616. <img src="PHMoT8m_2x.png">
  617. </a>
  618. <a class="game3" href="https://www.lexaloffle.com/bbs/?tid=34806" target="_blank" rel="noopener noreferrer">
  619. <h3>De-TTD</h3>
  620. <h2>This game is a small demake (remaking a game from scratch often with a twist or limitation, in this case its the pico8 engine) of Transport Tycoon, ironically there is currently no form of transportation included.</h2>
  621. <img src="Screenshot_20190928_001014.png">
  622. </a>
  623. <a class="game4" href="https://www.tt-forums.net/viewtopic.php?f=26&t=76964" target="_blank" rel="noopener noreferrer">
  624. <h3>The Belgian Trainset</h3>
  625. <h2>A mod (game modification) for the game OpenTTD featuring belgian trains of my making. It has been completed with the help of another modder going by "Neko". As of writing this it's been downloaded over 23.5k times.</h2>
  626. <img src="Screenshot from 2018-11-20 21-25-33.png">
  627. </a>
  628. </div>
  629. </div>
  630. <div class="conclusion">
  631. <a class="phone" href="https://www.noirextreme.com/contact" target="_blank" rel="noopener noreferrer">
  632. <img id="8" src="phone.png">
  633. </a>
  634. <a class="mail" href="https://www.noirextreme.com/contact" target="_blank" rel="noopener noreferrer">
  635. <img id="8" src="mail.png">
  636. </a>
  637. <a class="smile" href="https://www.noirextreme.com/soon" target="_blank" rel="noopener noreferrer">
  638. <img id="8" src="smile.png">
  639. </a>
  640. </div>
  641. <div class="footer">
  642. <div class="aa">
  643. <h2 onclick='location.href="https://www.noirextreme.com/soon"'>source code</h2>
  644. </div>
  645. <img class="cc" src="QeTMX7b_71x.png" onclick="topFunction()" title="back to top" draggable="false">
  646. <div class="bb">
  647. <h2>by me, 2019</h2>
  648. </div>
  649. </div>
  650. </body>
  651. </html>
  652.  
  653. <script>
  654. function topFunction() {
  655. document.body.scrollTop = 0;
  656. document.documentElement.scrollTop = 0;
  657. }
  658. </script>
  659. <script>
  660. function logo_show(id) {
  661. var nodes = document.getElementById('0').children;
  662. for(var i=0; i<nodes.length; i++) {
  663. if (nodes[i].nodeName.toLowerCase() == 'img') {
  664. nodes[i].style.display = "none";
  665. }
  666. }
  667. document.getElementById(id).style.display = "block";
  668. }
  669. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement