Advertisement
Greenmotion

CSS básico

Feb 14th, 2025
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 9.10 KB | None | 0 0
  1. /*ARREGLAR PROBLEMA DE LOS SUBFOROS EDNTRO DE UN SUBFORO QUE NO SE VEN*/
  2. #content-container div#container {
  3.     float: none;
  4. }
  5. #wrapper {
  6.     overflow: hidden;
  7. }
  8.  
  9. /*QUITAR LA PUBLICIDAD*/
  10. div#main-content > div[style=\\\\\\\\\\\\\\\"overflow:visible\\\\\\\\\\\\\\\"] {
  11.     display:none;
  12. }
  13.  
  14.  
  15. /*TUTO DESDE CERO, NECROMANCER*/
  16. #wrap {/*Este es para ajustar el ancho del foro. También le pone borde, fondo transparente y padding a la cuestión*/
  17. width: 1350px;
  18. min-width:1350px;
  19. max-width:1350px;
  20. background:var(--bgwrap);
  21. border: 1px solid var(--borderwrap);
  22. padding:30px;
  23. border-radius:10px;
  24. }
  25.  
  26. .wrapfalsuki { /*CON ESTA MIERDA ARREGLÉ TEMPORALMENTE EL COSO DEL WRAP EN EL FOOTER :(*/
  27.     margin-top: -80px;
  28. }
  29.  
  30. body#phpbb {/*Esto nos ajustará el fondo del foro y lo centrará.*/
  31.  background-size:cover;
  32.  background-position:center;
  33. }  
  34.  
  35. *::selection{/*Esto hará que cuando selecciones algo en el foro, el fondo corresponda con el acento que hemos declarado en las variables.
  36.     Si tu acento es muy claro, te conviene cambiar el color de texto a uno más oscuro que blanco.*/
  37.  background:var(--accent1);
  38.  color:white;
  39. }  
  40.  
  41. ::-webkit-scrollbar {/*Este es un código básico de scrollbar para navegadores webkit. */
  42.  width: 5px;
  43.  height: 5px;
  44. }
  45. ::-webkit-scrollbar-button {
  46.  width: 0px;
  47.  height: 0px;
  48. }
  49. ::-webkit-scrollbar-thumb {
  50.  background: var(--colorcin);
  51.  border:2px solid #090909;
  52. }
  53. ::-webkit-scrollbar-track {
  54.  background:#090909;
  55. }
  56. ::-webkit-scrollbar-corner {
  57.  background: transparent;
  58. }
  59.  
  60. #criteo_sticky {/*Este es pa ocultar un anuncio random de FA*/
  61. display:none;
  62. }  
  63.  
  64. body#phpbb {/*Le hemos añadido también un par de cosas al body y al #wrap para posicionar el cuerpo de forma centrada respecto a las navegaciones.*/
  65.    margin-top: 0!important;
  66.    padding: 111px 0 0 61px!important;
  67. }
  68.  
  69. #main .linklist {
  70.   display: none;
  71. }
  72.  
  73. #wrap .linklist {
  74.   display: none;
  75. }
  76.  
  77. div#wrap {
  78.    margin-top: 100px;
  79. }
  80.  
  81. /*TEXTO EN EL INTERIOR DE LA RESPUESTA EN POSTS*/
  82.  
  83. #message-box textarea {
  84.     color:#080808!important;
  85. }
  86.  
  87. /*TOOLBAR*/
  88.  
  89. /*BARRA DE NAVEGACIÓN SUPERIOR*/
  90. #topnav, .tnenv {
  91.     display: flex;
  92.     justify-content: center;
  93.     align-items: center;
  94. }
  95.  
  96. #topnav {
  97.     position: absolute;
  98.     top: 0;
  99.     left: 61px;
  100.     right: 0;
  101.     height: 180px;
  102.     border-bottom: 1px solid var(--colorcin);
  103.     background: var(--tbckg);
  104. }
  105.  
  106.  
  107. .frasecosastntop {
  108.     color: var(--colorcin);
  109.     position: absolute;
  110.     top: 0;
  111.     right: 200px;
  112. }
  113.  
  114. .frasecosastntop b {
  115.     color: #ededed;
  116.     margin-left: 10px;
  117. }
  118.  
  119. .tntopwelcome {
  120.     box-sizing: border-box;
  121. }
  122.  
  123. .tntop {
  124.     height: 59px;
  125.     font: 14px \\\\\\\\\\\\\\\'Montserrat\\\\\\\\\\\\\\\';
  126.     text-transform: uppercase;
  127.     line-height: 60px;
  128.     padding-left: 20px;
  129.     font-family: \\\\\\\\\\\\\\\'Roboto Slab\\\\\\\\\\\\\\\', serif;
  130. }
  131.  
  132. .tntop strong {
  133.     font-weight:bolder;
  134.     color:var(--colorcin);
  135. }
  136.  
  137. .tnenv {
  138.     flex-direction: column;
  139.     flex-grow: 1;
  140.     align-self: stretch;
  141.     background-image: url(https://images2.imgbox.com/be/08/hW9PoDYk_o.png);
  142.     justify-content: space-between;
  143. }
  144.  
  145. .tnenv>* {
  146.     align-self: stretch;
  147. }
  148.  
  149. .tnbot {
  150.     height: 50px;
  151.     padding-left: 20px;
  152.     font-size: 0;
  153. }
  154.  
  155. .tnbot a:last-of-type {
  156.     font-weight: 700;
  157.     color: var(--colorcin);
  158. }
  159. .tnbot a {
  160.     font-size: 8px;
  161.     letter-spacing: 4px;
  162.     color: #ededed;
  163.     line-height: 50px;
  164.     text-transform: uppercase;
  165.     background-color: var(--bgwrap);
  166.     box-sizing: border-box;
  167.     padding: 5px;
  168.     margin-right: 10px;
  169. }
  170.  
  171. /*a:visited {
  172.     color: #755959;
  173.     text-decoration: none;
  174. }*/
  175.  
  176. .tnicon {
  177.     padding: 35px;
  178.     border-left: 1px solid var(--colorcin);
  179.     flex-shrink: 0;
  180.     height: 110px;
  181.     width: 110px;
  182.     overflow: hidden;
  183.    
  184. }
  185.  
  186. .tnicon img {
  187.     width: 130px;
  188.     height: 135px;
  189.     margin-left: -11px;
  190.     object-fit: cover;
  191.     outline: 1px solid var(--colorcin);
  192.     outline-offset: 5px;
  193.     margin-top: -15px;
  194.     border-radius: 5px;
  195. }
  196.  
  197.  
  198. /*BARRA DE NAVEGACIÓN LATERAL*/
  199. #nav {
  200.     position: fixed;
  201.     left: 0;
  202.     top: 0;
  203.     bottom: 0;
  204.     background: var(--tbckg);
  205.     border-right: 1px solid var(--colorcin);
  206.     display: flex;
  207.     justify-content: flex-start;
  208.     align-items: center;
  209.     flex-direction: column;
  210.     font-size: 0;
  211.     padding: 9px;
  212.     background-image: url(\\\\\\\\\\\\\\\"https://images2.imgbox.com/8e/10/Z3YD9EHF_o.png\\\\\\\\\\\\\\\");
  213. }
  214.  
  215. #nav a.mainmenu:hover {
  216.     color:var(--colorcin);
  217. }
  218.  
  219. #nav a.mainmenu {
  220.     background: var(--tbckg);
  221.     border: 1px solid var(--colorcin);
  222.     width: 40px;
  223.     height: 40px;
  224.     border-radius: 10px;
  225.     display: block;
  226.     margin-bottom: 9px;
  227.     text-align: center;
  228.     line-height: 40px;
  229. }
  230.  
  231. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\\"]:before
  232. {
  233.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f015\\\\\\\\\\\\\\\";
  234.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  235.   font-size:15px;
  236.  
  237. }
  238.  
  239. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/images\\\\\\\\\\\\\\\"]:before
  240. {
  241.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f03e\\\\\\\\\\\\\\\";
  242.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  243.   font-size:15px;
  244.  
  245. }
  246.  
  247.  
  248. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/faq\\\\\\\\\\\\\\\"]:before
  249. {
  250.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f02d\\\\\\\\\\\\\\\";
  251.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  252.   font-size:15px;
  253.  
  254. }
  255.  
  256. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/search\\\\\\\\\\\\\\\"]:before
  257. {
  258.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f002\\\\\\\\\\\\\\\";
  259.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  260.   font-size:15px;
  261.  
  262. }
  263.  
  264. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/memberlist\\\\\\\\\\\\\\\"]:before
  265. {
  266.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f500\\\\\\\\\\\\\\\";
  267.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  268.   font-size:15px;
  269.  
  270. }
  271.  
  272. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/groups\\\\\\\\\\\\\\\"]:before
  273. {
  274.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\e595\\\\\\\\\\\\\\\";
  275.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  276.   font-size:15px;
  277.  
  278. }
  279.  
  280. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/profile?mode=editprofile\\\\\\\\\\\\\\\"]:before
  281. {
  282.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f007\\\\\\\\\\\\\\\";
  283.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  284.   font-size:15px;
  285.  
  286. }
  287.  
  288. #nav a.mainmenu[href=\\\\\\\\\\\\\\\"/privmsg?folder=inbox\\\\\\\\\\\\\\\"]:before
  289. {
  290.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f0e0\\\\\\\\\\\\\\\";
  291.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  292.   font-size:15px;
  293.  
  294. }
  295.  
  296. #nav a.mainmenu[href*=\\\\\\\\\\\\\\\"/login\\\\\\\\\\\\\\\"]:before
  297. {
  298.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f011\\\\\\\\\\\\\\\";
  299.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  300.   font-size:15px;
  301.  
  302. }
  303.  
  304. #nav a.mainmenu[href*=\\\\\\\\\\\\\\\"/register\\\\\\\\\\\\\\\"]:before
  305. {
  306.   content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f044\\\\\\\\\\\\\\\";
  307.   font-family: \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  308.   font-size:15px;
  309.  
  310. }
  311.  
  312. #nav a.mainmenu:before {
  313.     content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f011\\\\\\\\\\\\\\\";
  314.     font-family: \\\\\\\\\\\\\\\'Font Awesome 5 Free\\\\\\\\\\\\\\\';
  315.     font-size: 14px;
  316.     font-weight: 700;
  317.     color: #888;
  318. }
  319.  
  320. #nav a:hover {
  321.     color: #ad1a1a;
  322. }
  323.  
  324.  
  325. /*TOOLBAR FIJA*/
  326. #fa_toolbar {
  327.     right: unset!important;
  328.     top: 730px;
  329.     left: 0!important;
  330.     bottom: 0!important;
  331.     width: 34px;
  332.     min-width: 42px;
  333.     height: 93px;
  334.     background: none!important;
  335.     margin-left: -3px;
  336. }
  337.  
  338. a#fa_notifications {
  339.   font-size: 0px;
  340. }
  341.  
  342. #fa_hide {
  343.     display:none;
  344.         visibility:hidden;
  345.     opacity:0;
  346. }
  347.  
  348. a#fa_welcome{
  349.     font-size:0;
  350. }
  351.  
  352. #fa_menu:hover :visited, #fa_toolbar > #fa_right.notification > #fa_notifications {
  353.   color: #333;
  354.  background-color:transparent!important;   
  355. }
  356.  
  357. #fa_right.welcome #fa_menu #fa_welcome {
  358.   color: #333;
  359.   background-color:transparent!important;
  360. }
  361.  
  362. a#fa_welcome:before {
  363.     content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f007\\\\\\\\\\\\\\\";
  364.     font: 16px \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  365.     background: var(--tbckg);
  366.     border: 1px solid var(--colorcin);
  367.     width: 40px;
  368.     height: 40px;
  369.     border-radius: 10px;
  370.     display: block;
  371.     margin-bottom: 9px;
  372.     text-align: center;
  373.     line-height: 40px;
  374.     color: var(--colorcin);
  375.       margin-left: 5px;
  376.     position: absolute;
  377. }
  378.  
  379. a#fa_notifications:before {
  380.     content: \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\f0f3\\\\\\\\\\\\\\\";
  381.     font: 16px \\\\\\\\\\\\\\\"Font Awesome 5 Free\\\\\\\\\\\\\\\";
  382.     background: var(--tbckg);
  383.     border: 1px solid var(--colorcin);
  384.     width: 40px;
  385.     height: 40px;
  386.     border-radius: 10px;
  387.     display: block;
  388.     margin-left: -15px;
  389.     text-align: center;
  390.     line-height: 40px;
  391.     color: var(--colorcin);
  392.     position: absolute;
  393.     bottom: 37px;
  394. }
  395.  
  396. #fa_menulist {
  397.     bottom: 30px;
  398.     right: 51px;
  399.     left: 100px!important;
  400. }
  401.   #fa_right {
  402.     position:fixed;
  403.  }
  404. ul.notif_list  {
  405.         position:fixed;
  406. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement