Advertisement
Guest User

askellajiongelma

a guest
Feb 3rd, 2021
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.01 KB | None | 0 0
  1. css
  2.  
  3. @charset "utf-8";
  4. /* FONTIT*/
  5.  
  6. @import url('https://fonts.googleapis.com/css?family=Forum|Great+Vibes|News+Cycle');
  7. @import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
  8. @import url('https://fonts.googleapis.com/css2?family=Slabo+27px&display=swap');
  9. @import url('https://fonts.googleapis.com/css2?family=Lemonada:wght@300&display=swap');
  10.  
  11. /*PERUSRAKENNE*/
  12.  
  13. html {
  14. min-height:100%;
  15. position:relative;
  16. }
  17.  
  18. body, html {
  19. width:1300px;
  20. background:url(https://imgur.com/vVk8ArE.png) repeat;
  21. margin-right:23px;
  22. margin-left: 23px;
  23. padding:0;
  24. top:0;
  25. left:0;
  26. font-family: 'Slabo 27px', serif;
  27. }
  28.  
  29. .header {
  30. width:80.8%;
  31. height:240px;
  32. background-image:url(https://imgur.com/TcUDc0z.png);
  33. background-size:cover;
  34. background-position:top;
  35. background-repeat:no-repeat;
  36. margin-top:-31px;
  37. position:relative;
  38. z-index:1;
  39. display: block;
  40. float: right;
  41. -moz-box-shadow: inset 10px 10px 50px #000;
  42. -webkit-box-shadow: inset 10px 10px 50px #000;
  43. box-shadow: inset 50px 50px 70px #000;
  44. }
  45.  
  46. .header h1 {
  47. text-align:center;
  48. font-family: 'Great Vibes', cursive;
  49. font-weight:100;
  50. width:240px;
  51. font-size:50px;
  52. line-height:50px;
  53. margin-left:-245px;
  54. padding-top:60px;
  55. color:#D0A662;
  56. text-shadow:0px 0px 5px rgba(0,0,0,0.8);
  57. }
  58.  
  59. .content {
  60. width:80.8%;
  61. display: block;
  62. float: right;
  63. text-align:justify;
  64. background: white;
  65. }
  66.  
  67. /*NAVI*/
  68.  
  69. .navi {
  70. width:250px;
  71. height:100%;
  72. background-color:rgba(0,6,23,0.9);
  73. position:absolute;
  74. top:0;
  75. bottom:0;
  76. margin:0 auto -50px;
  77. }
  78.  
  79. .navi ul {
  80. margin-top:209px;
  81. margin-left:-40px;
  82. }
  83.  
  84. .navi ul li {
  85. list-style-type:none;
  86. margin-bottom:1px;
  87. text-align:center;
  88. display:flex;
  89. justify-content:center;
  90. }
  91.  
  92. .navi ul li a {
  93. color:#D0A662;
  94. text-decoration:none;
  95. text-transform:small-caps;
  96. text-align:center;
  97. width:100%;
  98. font-family: 'Satisfy', cursive;
  99. font-size: 25px;
  100. padding:15px 0px 15px 0px;
  101. transition: all .4s ease-in-out;
  102. -moz-transition: all .4s ease-in-out;
  103. -webkit-transition: all .4s ease-in-out;
  104. }
  105.  
  106. .navi ul li a:hover {
  107. background-color:#F0F8FF;
  108. color:#D5A045;
  109. letter-spacing:2px;
  110. transition: all .4s ease-in-out;
  111. -moz-transition: all .4s ease-in-out;
  112. -webkit-transition: all .4s ease-in-out;
  113. }
  114.  
  115. /*LINKIT*/
  116.  
  117. a {
  118. color:#D0A662;
  119. transition: all .4s ease-in-out;
  120. -moz-transition: all .4s ease-in-out;
  121. -webkit-transition: all .4s ease-in-out;
  122. text-decoration: none
  123. }
  124.  
  125. a:hover {
  126. color:#000;
  127. transition: all .4s ease-in-out;
  128. -moz-transition: all .4s ease-in-out;
  129. -webkit-transition: all .4s ease-in-out;
  130. }
  131.  
  132. /*P, I, OTSIKOT*/
  133.  
  134.  
  135. p {
  136. font-family: 'Slabo 27px', serif;
  137. padding-left: 25px;
  138. padding-right: 25px;
  139. padding-top: 10px;
  140. }
  141.  
  142. h1 {
  143. font-family: 'Satisfy', cursive;
  144. font-size: 40px;
  145. text-shadow: 0px 3px 3px #696969, 0px 3px 5px #696969;
  146. margin-left: 100px;
  147. color: #D0A662;
  148. text-align: justify;
  149. }
  150.  
  151. h2 {
  152.  
  153. font-size: 25px;
  154. line-height: 100%;
  155. text-align: center;
  156. font-family: 'Lemonada', cursive;
  157. margin-bottom: 40px;
  158. margin-top: 40px;
  159. color: #D0A662
  160. }
  161.  
  162. h2:before, h2:after {
  163. background-color: #D0A662;
  164. content: "";
  165. display: inline-block;
  166. height: 1px;
  167. position: relative;
  168. vertical-align: middle;
  169. width: 15%;
  170. }
  171.  
  172. h2:before {
  173. right: 20px;
  174. margin-left: -50%;
  175. }
  176.  
  177. h2:after {
  178. left: 30px;
  179. margin-right: -50%;
  180. }
  181.  
  182. h3 {
  183. font-family: 'Satisfy', cursive;
  184. font-size: 50px;
  185. text-shadow: 0px 3px 3px #696969, 0px 3px 5px #696969;
  186. color: #D0A662;
  187. text-align: center;
  188. }
  189.  
  190. h3:before, h3:after {
  191. background-color: #D0A662;
  192. content: "";
  193. display: inline-block;
  194. height: 1px;
  195. position: relative;
  196. vertical-align: middle;
  197. width: 15%;
  198. }
  199.  
  200. h3:before {
  201. right: 20px;
  202. margin-left: -50%;
  203. }
  204.  
  205. h3:after {
  206. left: 30px;
  207. margin-right: -50%;
  208. }
  209.  
  210. i {
  211. font-style: italic;
  212. font-family: serif;
  213. font-size: 95%;
  214. letter-spacing: 0.5px;
  215. color: #5e6b73bd;
  216. }
  217.  
  218. ul {
  219. list-style-image: url('https://imgur.com/9JWioqr.png');
  220. }
  221.  
  222.  
  223. /*FOOTER*/
  224.  
  225. .footer {
  226. width:230px;
  227. color:#D0A662;
  228. padding:5px 10px;
  229. position:absolute;
  230. font-size:14px;
  231. padding-left:40px;
  232. left:0;
  233. bottom:0;
  234. }
  235.  
  236. .footer a {
  237. text-decoration:none;
  238. color:#D0A662;
  239. transition: all .4s ease-in-out;
  240. -moz-transition: all .4s ease-in-out;
  241. -webkit-transition: all .4s ease-in-out;
  242. }
  243.  
  244. .footer a:hover {
  245. color:#fff;
  246. transition: all .4s ease-in-out;
  247. -moz-transition: all .4s ease-in-out;
  248. -webkit-transition: all .4s ease-in-out;
  249. }
  250.  
  251. /* SCROLL */
  252.  
  253. ::-moz-selection { color: #fff; background: #D0A662; }
  254. ::selection { color: #fff; background: #D0A662; }
  255.  
  256. ::-webkit-scrollbar { width: 5px; }
  257. ::-webkit-scrollbar-track { background: #D0A662; }
  258. ::-webkit-scrollbar-thumb { background: #D0A662;
  259. }
  260.  
  261. /*ROTULISTAUKSET*/
  262.  
  263. #rotulista {
  264. width: 100%;
  265. font-size: 13px;
  266. border-collapse: collapse;
  267. }
  268. #rotulista td {
  269. padding: 10px;
  270. width: 50px;
  271. text-align: center;
  272. }
  273. #rotulista img {
  274. box-shadow: 0 0 4px rgba(0,0,0,0.3);
  275. -webkit-filter: grayscale(100%);
  276. filter: grayscale(100%);
  277. -webkit-transition: .3s ease-in-out;
  278. transition: .3s ease-in-out;
  279. height: 125px;
  280.  
  281. }
  282.  
  283. /*HEVOSLISTAUS*/
  284.  
  285. .listaus {
  286. width:100%;
  287. margin-left: 45px;
  288. display: flex;
  289. text-align:center;
  290. }
  291.  
  292. .hevo {
  293. width:160px;
  294. margin:0 auto;
  295. display:inline-block;
  296. padding:20px;
  297. margin-bottom:20px;
  298. margin-left:5px;
  299. margin-right:5px;
  300. border:5px solid #D0A662;
  301. background-color:rgba(208,166,98,0.3);
  302. transition: all .3s ease-in-out;
  303. -moz-transition: all .3s ease-in-out;
  304. -webkit-transition: all .3s ease-in-out;
  305. }
  306.  
  307. .hevo:hover {
  308. background-color:rgba(208,166,98,1);
  309. box-shadow:0px 0px 3px #b6b1af;
  310. transition: all .3s ease-in-out;
  311. -moz-transition: all .3s ease-in-out;
  312. -webkit-transition: all .3s ease-in-out;
  313. }
  314.  
  315. .hevo img {
  316. width:155px;
  317. height:auto;
  318. object-fit: cover;
  319. margin-left:0px;
  320. margin-right:-9px;
  321. filter:grayscale(70%);
  322. border:0px solid #fff8ed;
  323. transition: all .3s ease-in-out;
  324. -moz-transition: all .3s ease-in-out;
  325. -webkit-transition: all .3s ease-in-out;
  326. }
  327.  
  328. .hevo:hover img {
  329. filter:grayscale(0%);
  330. transition: all .3s ease-in-out;
  331. -moz-transition: all .3s ease-in-out;
  332. -webkit-transition: all .3s ease-in-out;
  333. }
  334.  
  335. .hevo a {
  336. text-transform:small-caps;
  337. font-weight:100;
  338. letter-spacing:1px;
  339. font-family: 'Satisfy', cursive;
  340. color: #D0A662;
  341. text-shadow:0px 0px 3px steelblue;
  342. }
  343.  
  344. .hevo a:hover {
  345. color: black;
  346. text-shadow:0px 0px 3px #867d79;
  347. transition: all .3s ease-in-out;
  348. -moz-transition: all .3s ease-in-out;
  349. -webkit-transition: all .3s ease-in-out;
  350. }
  351.  
  352. /*HEVOSEN PERUSTIETO*/
  353.  
  354. .isokuva {
  355. max-width: 650px;
  356. max-height: 600px;
  357. margin: 10px auto 20px auto;
  358. display: block
  359. }
  360.  
  361. .perustiedot {
  362. width: 90%;
  363. border-collapse: collapse;
  364. margin-left: 45px
  365. }
  366.  
  367. .perustiedot td {
  368. padding: 10px;
  369. border-bottom: 1px solid #D0A662;
  370. }
  371.  
  372. .perustiedot td:nth-child(odd) {
  373. width: 20%;
  374. color: #D0A662;
  375. font-size: 15px;
  376. text-shadow: 0px 0px 1px rgba(0,0,0, 0.8);
  377. }
  378.  
  379. .perustiedot td:nth-child(even) {
  380. width: 30%;
  381. }
  382. /*SUKUTAULU + JÄLKELÄISET*/
  383. #sukutaulu {
  384. width: 98%;
  385. margin: 10px;
  386. border-collapse: collapse;
  387. font-family: serif;
  388. color: #000;
  389. font-size: 95%;
  390. font-style: italic;
  391. }
  392.  
  393. #sukutaulu td {
  394. padding: 5px 10px;
  395. border: 1px dashed #dcd7d8;
  396. }
  397.  
  398. #sukutaulu td:hover {
  399. background-color: aliceblue;
  400. }
  401.  
  402. #sukutaulu .td1 {
  403. text-align: center;
  404. }
  405.  
  406. #jalkelaislista {
  407. width: 95%;
  408. font-size: 95%;
  409. margin: auto;
  410. border-collapse: collapse;
  411. }
  412.  
  413. #jalkelaislista td {
  414. padding: 10px 0px 10px 10px;
  415. border-bottom: 3px solid #D0A662;
  416. color: #000;
  417. }
  418.  
  419. #jalkelaislista th {
  420. font-family: 'Satisfy', cursive;
  421. font-size: 30px;
  422. color: #D0A662;
  423. text-align: center;
  424. }
  425.  
  426. /*KISAKALENTER*/
  427.  
  428. .kisakalenteri {
  429. width: 100%;
  430. border-spacing:0;
  431. margin: 20px 0;
  432. border: 4px solid rgba(208, 166, 98,1);
  433. box-shadow: 0px 0px 2px 2px #999da021 inset;
  434. background-color: rgba(208, 166, 98,0.5);
  435. }
  436. .kisakalenteri td {
  437. padding: 7px 9px;
  438. vertical-align:top;
  439. background: #f5f2ce;
  440. }
  441. .kisakalenteri .eka {
  442. background:#D0A662 !important;
  443. padding:7px 9px;
  444. text-transform:uppercase;
  445. font-size:17px;
  446. font-family: 'Slabo 27px', serif;
  447. text-align: center;
  448. }
  449.  
  450. /*SAAVUTUKSET*/
  451.  
  452. #meriitit {
  453. font-size: 90%;
  454. width: 95%;
  455. margin: auto;
  456. text-align: center;
  457. border-collapse: collapse;
  458. }
  459.  
  460. #meriitit td {
  461. padding: 10px 10px 10px;
  462. line-height:1.5;
  463. vertical-align: top;
  464. color: #000;
  465. border-bottom: 3px solid #D0A662;
  466. }
  467.  
  468. #meriitit th {
  469. font-family: 'Satisfy', cursive;
  470. font-size: 30px;
  471. color: #D0A662;
  472. text-align: center;
  473. }
  474.  
  475. /*BOXI*/
  476.  
  477. #tietoboxi {
  478. border: 4px solid rgba(208, 166, 98,1);
  479. box-shadow: 0px 0px 2px 2px #999da021 inset;
  480. width: 95%;
  481. margin: auto;
  482. background-color: rgba(208, 166, 98,0.5);
  483. }
  484.  
  485. /*TABIT*/
  486.  
  487. .tab {
  488. overflow: hidden;
  489. width: 95%;
  490. background-color: #D0A662;
  491. margin-left: 40px
  492. }
  493.  
  494. .tab button {
  495. background-color: inherit;
  496. float: left;
  497. border: none;
  498. font-family: 'Lemonada', cursive;
  499. outline: none;
  500. cursor: pointer;
  501. padding: 15px 35px 15px 35px;
  502. transition: 0.3s;
  503. font-size: 17px;
  504. }
  505.  
  506. .tab button:hover {
  507. background-color: #000;
  508. box-shadow: 0px 0px 2px 2px #999da021 inset;
  509. color: #fff
  510.  
  511. }
  512.  
  513. .tab button.active {
  514. background-color: #E9C380;
  515. color: #000
  516. }
  517.  
  518. .tabcontent {
  519. display: none;
  520. padding: 6px 12px;
  521. border-top: none;
  522. }
  523.  
  524. /*RMP INFO*/
  525.  
  526. .rmp-info {
  527. margin-left: 45px;
  528.  
  529. }
  530. .rmp-progress {
  531. width: 95%;
  532. height: 20px;
  533. margin-left: 40px;
  534. background: #555;
  535. -moz-border-radius: 25px;
  536. -webkit-border-radius: 25px;
  537. border-radius: 25px;
  538. box-sizing: content-box;
  539. margin-bottom: 10px;
  540. }
  541.  
  542. .rmp-progress > div {
  543. display: block;
  544. height: 100%;
  545. border-top-right-radius: 8px;
  546. border-bottom-right-radius: 8px;
  547. border-top-left-radius: 20px;
  548. border-bottom-left-radius: 20px;
  549. background-color: #28a745;
  550. position: relative;
  551. overflow: hidden;
  552. text-align: center;
  553. line-height: 1.1;
  554. }
  555.  
  556. .rmp-progress > div > span {
  557. color: #fff;
  558. font-size: 12px;
  559. text-align: center;
  560. }
  561.  
  562. .rmp-green > div {
  563. background-color: #28a745;
  564. }
  565.  
  566. .rmp-blue > div {
  567. background-color: #17a2b8;
  568. }
  569.  
  570. .rmp-orange > div {
  571. background-color: #ffc107;
  572. }
  573.  
  574. .rmp-red > div {
  575. background-color: #dc3545;
  576. }
  577.  
  578. index
  579.  
  580. <!doctype html>
  581. <html>
  582. <head>
  583. <meta charset="utf-8">
  584. <title>Untitled Document</title>
  585. <link href="style.css" rel="stylesheet" type="text/css">
  586. </head>
  587.  
  588. <body>
  589. <div class="header"><h1>Elmtree Stallions</h1></div>
  590. <div class="navi">
  591. <ul>
  592. <li><a href="#">Etusivu</a></li>
  593. <li><a href="#">Asukkaat</a></li>
  594. <li><a href="#">Ori-info</a></li>
  595. </ul>
  596. </div>
  597.  
  598. <div class="content">
  599. <h1>Elmtree Stallions</h1>
  600. <p><i>Kiinnostus askellajiratsastukseen kyti pitkään, ja otti lopulta tuulta alleen. Koin kuitenkin järkevämmäksi hankkia vain oreja tallin täydeltä, koska sekalaisen lauman pitäminen olisi turhan monimutkaista. Tallin nimeksi valikoitui harkinnan jälkeen Elmtree Stallions, ja solmin kaupat vanhasta laukkatilasta Kansasissa. Pakattavana olisi vielä koto-Suomessa vähäiset kimpsut ja kampsut, ja voisin muuttaa uuteen kotiini, kohti tuntematonta. <br>
  601. - Ylvan päiväkirja vuonna tuntematon.</i></p>
  602. <p>
  603. Elmtree Stallions on vuonna 2020 avattu askellajihevosiin painottunut talli, jossa valtarodut ovat Morgan ja Saddlebred. Sekalaisesta hevossakistamme löytyy myös muita askellajirotujen edustajia. Tallin hevoset pyritään pitämään piirtokuvallisina, mutta osalla silojaloistamme on myös valokuvia Ylvan puutteellisten taitojen takia.
  604. <br><br>
  605. <b>‣ Ylva Mills (VRL-14389)</b>
  606. </p>
  607.  
  608. </div>
  609.  
  610.  
  611. <div class="footer">Ulkoasu &copy; <a href="http://varjoton.net/vapaat/">VRL-04373</a><br>
  612. Kuva &copy; <a href="https://pixabay.com/fi/users/rebeccaspictures-18516/">RebeccasPictures</a> (CC0)</div>
  613. </body>
  614. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement