ui.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. /* Website fonts. */
  2. @font-face {
  3. font-family: 'Nunito';
  4. src: url('/fonts/Nunito-Regular.ttf');
  5. }
  6. @font-face {
  7. font-family: 'Latin';
  8. src: url('/fonts/Latin-Modern-Mono-Light-Bold.otf');
  9. }
  10. /* Elements to be shown only in large screens. */
  11. .desktop{
  12. display: initial;
  13. }
  14. @media screen and (max-width : 800px){
  15. .desktop{
  16. display: none;
  17. }
  18. }
  19. /* Elements to be shown only in small screens. */
  20. .mobile{
  21. display: none;
  22. }
  23. @media screen and (max-width : 800px){
  24. .mobile{
  25. display: initial !important;
  26. }
  27. }
  28. /* Styles for the body of the page. */
  29. html {
  30. height: 100%;
  31. }
  32. body{
  33. height: 100%;
  34. padding: 0;
  35. margin: 0;
  36. background-color: #000000;
  37. font-size: 90%;
  38. min-height: 100vh;
  39. flex-direction: column;
  40. display: flex;
  41. }
  42. @media screen and (max-width : 800px){
  43. body{
  44. font-size: 100%;
  45. }
  46. }
  47. /* Style for all links. */
  48. a{
  49. color: #555555;
  50. text-shadow: 0 0 0.5em #7777ff;
  51. text-decoration: none;
  52. }
  53. /* Styles for elements that look and act as links. */
  54. .fake_a{
  55. color: #555555;
  56. text-shadow: 0 0 0.5em #7777ff;
  57. text-decoration: none;
  58. cursor: pointer;
  59. }
  60. /* Bold elements. */
  61. .bold{
  62. font-weight: bold;
  63. }
  64. /* Elements that look and act as buttons or links.*/
  65. .pointer {
  66. cursor: pointer;
  67. }
  68. /* Hidden elements. */
  69. .hidden{
  70. display: none;
  71. }
  72. img.slider{
  73. width: 1em;
  74. height: 1em;
  75. transition: all .3s ease-in-out;
  76. }
  77. div#cover{
  78. display: none;
  79. background-color: #000000bb;
  80. opacity: 0;
  81. transition: opacity .3s ease-in-out;
  82. position: fixed;
  83. top: 0;
  84. left: 0;
  85. right: 0;
  86. bottom: 0;
  87. }
  88. header{
  89. background-color: #000000;
  90. width: 100%;
  91. text-align: center;
  92. }
  93. header div#logo{
  94. color: #ffffff;
  95. font-size: 4em;
  96. font-family: 'Latin';
  97. }
  98. header nav{
  99. width: 100%;
  100. }
  101. header nav a{
  102. font-size: 1.5em;
  103. margin: 0.5em;
  104. color: #ffffff;
  105. text-decoration: none;
  106. position: relative;
  107. }
  108. header nav a:hover{
  109. color: #ffffff;
  110. }
  111. header nav a:before {
  112. content: " ";
  113. position: absolute;
  114. width: 100%;
  115. height: 0.1em;
  116. bottom: -0.1em;
  117. left: 0;
  118. background-color: #ffffff;
  119. visibility: hidden;
  120. transform: scaleX(0);
  121. transition: all 0.3s ease-in-out 0s;
  122. }
  123. header nav a:hover:before {
  124. visibility: visible;
  125. transform: scaleX(1);
  126. }
  127. header nav a img{
  128. height: 1.5em;
  129. vertical-align: bottom;
  130. }
  131. @media screen and (max-width : 800px){
  132. header nav{
  133. overflow: hidden;
  134. white-space: nowrap;
  135. }
  136. header nav a{
  137. display: inline-block;
  138. width: 32%;
  139. margin: 0;
  140. padding: 0.5em 0;
  141. text-align: center;
  142. color: #ffffff;
  143. text-decoration: none;
  144. border: 0.1em solid #aaaaaa;
  145. background-color: #222222;
  146. }
  147. header nav a img{
  148. height: 1.1em;
  149. vertical-align: middle;
  150. }
  151. }
  152. /* The actual footer */
  153. footer{
  154. background-color: #000000;
  155. font-size: 80%;
  156. text-align: center;
  157. height: 3.5em;
  158. margin-left: auto;
  159. margin-right: auto;
  160. margin-top: 3em;
  161. margin-bottom: 2em;
  162. color: #dddddd;
  163. bottom: 0;
  164. left: 0;
  165. padding: 1em 2em 3em 2em;
  166. }
  167. /* A table containing all the elements in the footer */
  168. footer table#footer_table{
  169. margin-left: auto;
  170. margin-right: auto;
  171. width: 80%;
  172. table-layout: fixed;
  173. }
  174. @media screen and (max-width : 800px){
  175. footer table#footer_table{
  176. width: 95%;
  177. }
  178. }
  179. /* An horizontal line separating the page contents from the footer. */
  180. footer table#footer_table hr#footer_separator{
  181. border: 0;
  182. background-color: #444444;
  183. height: 0.1em;
  184. width: 70%;
  185. }
  186. /* Left area of the footer. */
  187. footer table#footer_table td#footer_left{
  188. width: 33%;
  189. text-align: center;
  190. }
  191. /* Social label. */
  192. footer table#footer_table td#footer_left span#footer_follow{
  193. display: block;
  194. margin: 0 0 1em 0;
  195. }
  196. /* Icons for social media */
  197. footer table#footer_table td#footer_left img.footer_social_icon{
  198. width: 2em;
  199. margin: 0.2em;
  200. vertical-align: middle;
  201. background-color: #ffffff;
  202. border: 0.1em solid #ffffff;
  203. border-radius: 0.3em;
  204. }
  205. /* Middle area of the footer */
  206. footer table#footer_table td#footer_center{
  207. width: 33%;
  208. text-align: center;
  209. }
  210. /* Right area of the footer */
  211. footer table#footer_table td#footer_right{
  212. width: 33%;
  213. text-align: center;
  214. }
  215. /* Help link. */
  216. footer table#footer_table td#footer_right span#footer_help{
  217. display: block;
  218. margin: 0 0 1em 0;
  219. }
  220. /* Language flags. */
  221. footer table#footer_table td#footer_right a.lang img{
  222. height: 1em;
  223. margin: 0.5em;
  224. border-radius: 0.2em;
  225. border: 0.15em solid #555555;
  226. cursor: pointer;
  227. box-shadow: 0 0 0.7em #dde;
  228. transition: all .3s ease-in-out;
  229. }
  230. footer table#footer_table td#footer_right a.lang img:hover{
  231. box-shadow: 0 0 1em #111;
  232. }
  233. @media screen and (max-width : 800px){
  234. footer table#footer_table td#footer_right a.lang img{
  235. height: 1.5em;
  236. margin: 0.2em;
  237. border-radius: 0.1em;
  238. border: 0.1em solid #555555;
  239. box-shadow: 0 0 0 #dde;
  240. }
  241. }
  242. main{
  243. background-color: #000000;
  244. width: 100%;
  245. max-width: 90em;
  246. margin: 2em auto;
  247. padding: 0;
  248. text-align: center;
  249. flex: 1;
  250. }
  251. @media screen and (max-width : 800px){
  252. main{
  253. width: 100%;
  254. margin: 1em auto;
  255. }
  256. }
  257. section{
  258. text-align: left;
  259. margin: 0.5em;
  260. padding: 1em;
  261. background-color: #f0f0f0;
  262. border: 0.1em solid #003300;
  263. overflow: hidden;
  264. border-top-left-radius: 0.5em;
  265. border-top-right-radius: 0.5em;
  266. border-bottom-left-radius: 1.5em;
  267. border-bottom-right-radius: 1.5em;
  268. }
  269. @media screen and (max-width : 800px){
  270. section{
  271. margin: 1em;
  272. }
  273. }
  274. section h3{
  275. position: relative;
  276. font-weight: bold;
  277. color: #ffffff;
  278. background-color: #60ae29;
  279. border-bottom: 0.1em solid #003300;
  280. font-size: 150%;
  281. padding: 0.5em 2em 0.2em 3em;
  282. margin: -0.8em -1em 1em -1em;
  283. font-variant: small-caps;
  284. }
  285. section h3:before {
  286. content: " /";
  287. opacity: 0.3;
  288. }
  289. /* .entry is a style only class to show content. Must be allways children os a .lighted element */
  290. section article{
  291. border: 0.1em solid #aaffaa00;
  292. border-radius: 0.3em;
  293. padding: 0.5em;
  294. margin: 0.5em;
  295. transition: all .4s ease-in-out;
  296. }
  297. section article h4{
  298. font-variant: small-caps;
  299. text-decoration: underline;
  300. text-decoration-color: #33553377;
  301. font-size: 140%;
  302. margin: 0.2em auto 1em auto;
  303. }
  304. section section_list:hover{
  305. background-color: #efffef;
  306. border: 0.1em solid #aaffaaff;
  307. }
  308. /* Style for the mathces in search results */
  309. span.result_counter{
  310. margin-left: 1.2em;
  311. margin-bottom: 0.5em;
  312. font-weight: bold;
  313. font-style: italic;
  314. }
  315. /* Shown when no records on database */
  316. div.unavailable{
  317. margin-left: 4em;
  318. font-style: italic;
  319. }
  320. /**********************************
  321. * Styles to be applied to some *
  322. * horizontally scrollable *
  323. * elements *
  324. **********************************/
  325. /* Horizontall scrollbar that apears when a project has lots of renders */
  326. .slider::-webkit-scrollbar{
  327. width: 0.5em;
  328. height: 0.25em;
  329. background-color: #444444;
  330. }
  331. .slider::-webkit-scrollbar-thumb{
  332. background-color: #cccccc;
  333. border-radius: 0.714em;
  334. }
  335. .slider::-webkit-scrollbar-thumb:hover{
  336. background-color: #cccccc;
  337. border: 0.143em solid #000000;
  338. }
  339. .slider::-webkit-scrollbar-thumb:active{
  340. background-color: #cccccc;
  341. border: 0.143em solid #000000;
  342. }
  343. /* Icons for sharing page in a social network */
  344. img.social_icon{
  345. width: 3em;
  346. height: 3em;
  347. }
  348. /* Elements that should have the cursor as pointer */
  349. .pointer{
  350. cursor: pointer;
  351. }
  352. /**********************************
  353. * Styles for diverse input *
  354. * elements. Type-assigned *
  355. **********************************/
  356. /* Font for all the input elements */
  357. input{
  358. font-family: 'Nunito';
  359. }
  360. /* Style for the "submit" type elements in forms */
  361. input[type=submit]{
  362. font-weight: bold;
  363. color: #cccccc;
  364. background-color: #555555;
  365. border: 0.143em solid #bbbbbb;
  366. border-radius: 0.429em;
  367. padding: 0.5em;
  368. text-shadow: 0 0 0.75em #000000;
  369. cursor: pointer;
  370. }
  371. /* Style forr buttons */
  372. input[type=button]{
  373. cursor: pointer;
  374. display: inline-block;
  375. color: #cccccc;
  376. background-color: #278c3a;
  377. border: 0.143em solid #66bf38;
  378. border-radius: 0.429em;
  379. padding: 0.5em 0.8em;
  380. text-shadow: 0 0 0.75em #000000;
  381. text-decoration: none;
  382. font-family: 'Nunito';
  383. font-weight: bold;
  384. font-variant: small-caps;
  385. letter-spacing: 0.07em;
  386. font-size: 110%;
  387. box-shadow: inset 0 0 0.2em #082400;
  388. text-transform: capitalize;
  389. }
  390. @media screen and (max-width : 800px){
  391. input[type=button]{
  392. font-size: 120%;
  393. padding: 0.9em 1.4em;
  394. }
  395. }
  396. input[type=button]::first-letter{
  397. color: #ffffff;
  398. }
  399. input[type=button]:hover{
  400. color: #ffffff;
  401. background-color: #34b94d;
  402. box-shadow: inset 0 0 0.1em #000;
  403. border: 0.143em solid #285710;
  404. }
  405. input[type=button]:hover::first-letter{
  406. color: #ccffcc;
  407. }
  408. /* Style for textboxes */
  409. input[type=text]{
  410. font-weight: bold;
  411. color: #224422;
  412. background-color: #bbccbb;
  413. border: 0.286em solid #ddeedd;
  414. border-color: #dddddd;
  415. border-radius: 0.429em;
  416. padding: 0.25em;
  417. text-shadow: 0 0 0.5em #ffffff;
  418. }
  419. input[type=checkbox]{
  420. width: 1em;
  421. height: 1em;
  422. border-radius: 0.2em;
  423. border: 0.063em solid #005500;
  424. }
  425. /* Style for textareas */
  426. textarea{
  427. width: 80%;
  428. font-weight: bold;
  429. color: #444444;
  430. background-color: #bbbbbb;
  431. border: 0.286em solid #dddddd;
  432. border-color: #dddddd;
  433. border-radius: 0.286em;
  434. padding: 0.25em;
  435. text-shadow: 0 0 0.5em #ffffff;
  436. resize: none;
  437. }
  438. /* Style for selects */
  439. select{
  440. font-weight: bold;
  441. color: #444444;
  442. background-color: #bbbbbb;
  443. border: 0.286em solid #dddddd;
  444. border-radius: 0.286em;
  445. padding: 0.25em;
  446. text-shadow: 0 0 0.5em #ffffff;
  447. }
  448. /* Style for placeholders in input fields */
  449. ::-webkit-input-placeholder { /* WebKit browsers */
  450. color: #777777;
  451. }
  452. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  453. color: #777777;
  454. }
  455. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  456. color: #777777;
  457. }
  458. :-ms-input-placeholder { /* Internet Explorer 10+ */
  459. color: #777777;
  460. }
  461. /* Style-only class user to indicate that a field is incorrect. Ususally this class is added to an element with js */
  462. .error{
  463. border-color: #ffaaaa;
  464. }
  465. /* Style for the textbox input when the entered text is not the expected one */
  466. input[type=text].error{
  467. border-color: #ffaaaa;
  468. }
  469. /* Style for the textared input when the entered text is not the expected one */
  470. textarea.error{
  471. border-color: #ffaaaa;
  472. }
  473. /* Style for buttons that act as links */
  474. a.a_button{
  475. display: inline-block;
  476. color: #cccccc;
  477. background-color: #278c3a;
  478. border: 0.143em solid #66bf38;
  479. border-radius: 0.429em;
  480. padding: 0.5em 0.8em;
  481. text-shadow: 0 0 0.75em #000000;
  482. text-decoration: none;
  483. font-family: 'Nunito';
  484. font-weight: bold;
  485. font-variant: small-caps;
  486. letter-spacing: 0.07em;
  487. font-size: 110%;
  488. box-shadow: inset 0 0 0.2em #082400;
  489. text-transform: capitalize;
  490. transition: all .3s ease-in-out;
  491. }
  492. @media screen and (max-width : 800px){
  493. a.a_button{
  494. font-size: 120%;
  495. padding: 0.9em 1.4em;
  496. }
  497. }
  498. a.a_button::first-letter{
  499. color: #ffffff;
  500. }
  501. a.a_button:hover{
  502. color: #ffffff;
  503. background-color: #34b94d;
  504. box-shadow: inset 0 0 0.1em #000;
  505. border: 0.143em solid #285710;
  506. }
  507. a.a_button:hover::first-letter{
  508. color: #ccffcc;
  509. }
  510. /**********************************
  511. * Styles for comment-related *
  512. * elements *
  513. **********************************/
  514. /* Contains fields to identify the user before the comment can be posted. Hidden by css, must be displayed with js */
  515. div#identification_form{
  516. display: none;
  517. }
  518. /* Contain a comment, with the details and the text */
  519. div.comment{
  520. background-color: #efffef;
  521. border: 0.1em solid #aaffaa;
  522. border-radius: 0.3em;
  523. padding: 0.5em;
  524. margin: 0.5em;
  525. }
  526. /* User who posted the coment */
  527. div.comment h4.comment_user{
  528. margin-top: 0.417em;
  529. margin-bottom: 0;
  530. }
  531. div.comment h4.comment_user span.comment_user_registered{
  532. font-weight: bold;
  533. font-size: 110%;
  534. color: #005500;
  535. }
  536. /* Style for the comment's images */
  537. img.comment_image{
  538. border: 0.077em solid black;
  539. max-height: 6em;
  540. max-width: 60%;
  541. display: block;
  542. border: 0.133em solid black;
  543. margin-left: 0.938em;
  544. margin-bottom: 0.938em;
  545. box-shadow: 0 0 1em #444444;
  546. }
  547. /* Paragraph with the comment text */
  548. p.comment_text{
  549. width: auto;
  550. display: block;
  551. margin-top: 0.938em;
  552. margin-left: 0.938em;
  553. }
  554. span.comment_date{
  555. font-size: 80%;
  556. font-style: italic;
  557. }
  558. /* Input field for the comment text */
  559. textarea#new_comment_text{
  560. width: 98%;
  561. }
  562. /* Input field for the comment user */
  563. input#new_comment_user{
  564. width: 47%;
  565. }
  566. /* Input field for the comment email */
  567. input#new_comment_email{
  568. width: 47%;
  569. }
  570. /* Styles so the input field to upload an image with the comment looks like a button */
  571. label.image_upload {
  572. font-weight: bold;
  573. color: #cccccc;
  574. background-color: #555555;
  575. border: 0.067em solid #bbbbbb;
  576. border-radius: 0.2em;
  577. padding: 0.5em;
  578. text-shadow: 0 0 0.750em #000000;
  579. font-size: 0.813em; /*Same as buttons*/
  580. font-family: 'Nunito';
  581. }
  582. label.image_upload input {
  583. width: 0 !important;
  584. opacity: 0 !important;
  585. overflow: hidden !important;
  586. }
  587. /* Previsualization for the upload image in a comment */
  588. img#new_comment_image_preview{
  589. max-height: 7.692em;
  590. max-width: 11.538em;
  591. }
  592. /**********************************
  593. * Styles for the social buttons. *
  594. **********************************/
  595. a.share img.share{
  596. display: inline-block;
  597. vertical-align: top;
  598. overflow: hidden;
  599. width: 1.6em;
  600. height: 1.6em;
  601. border: 0.1em solid #003300;
  602. border-radius: 2em;
  603. box-shadow: 0 0 0.3em #005500;
  604. margin: 0.2em;
  605. transition: all .3s ease-in-out;
  606. }
  607. a.share img.share:hover{
  608. box-shadow: 0 0 0.7em #005500;
  609. border-radius: 0.7em;
  610. }
  611. span.technology{
  612. display: inline-block;
  613. }
  614. span.technology img.technology_logo{
  615. display: inline-block;
  616. position:relative;
  617. vertical-align: middle;
  618. border-radius: 50%;
  619. border-width: 0.2em;
  620. z-index: 2;
  621. background-color: #ffffff;
  622. border-style: solid;
  623. border-color: #000000;
  624. height: 1.5em;
  625. width: 1.5em;
  626. }
  627. span.technology span.technology_name{
  628. display: inline-block;
  629. position:relative;
  630. vertical-align: middle;
  631. border-radius: 15%;
  632. border-width: 0.2em;
  633. border-style: solid;
  634. padding: 0.1em 0.2em 0.1em 1.1em;
  635. z-index: 1;
  636. background-color: #ffffff;
  637. border-color: #000000;
  638. margin-left: -1.3em;
  639. font-size: 70%;
  640. font-weight: bold;
  641. }
  642. span.technology_1 span.technology_name{
  643. background-color: #f4a4a4;
  644. }
  645. span.technology_2 span.technology_name{
  646. background-color: #ffc898;
  647. }
  648. span.technology_3 span.technology_name{
  649. background-color: #a4c3f4;
  650. }
  651. span.technology_4 span.technology_name{
  652. background-color: #f4a4e4;
  653. }
  654. span.technology_5 span.technology_name{
  655. background-color: #a4f4a9;
  656. }
  657. span.technology_6 span.technology_name{
  658. background-color: #f4e8a4;
  659. }