Advertisement
jusyjuse

theme.Glass

Mar 1st, 2021
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 14.09 KB | None | 0 0
  1. /* simple configuration */
  2.  
  3. @import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
  4.  
  5. body, h1, .player, ::-webkit-scrollbar-track {
  6. /*Below is the property that changes the source image of the background. Common color names, hex colors, and images (using url()) are allowed.*/
  7.     background: url(https://images.pexels.com/photos/906143/pexels-photo-906143.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
  8.     background-position: center;
  9.     background-repeat: no-repeat;
  10.     background-size: cover;
  11.     background-attachment: fixed;
  12.     font-family: montserrat !important;
  13. }
  14.  
  15. .rightHead, .boxHead {
  16. /* The background color used for the headers on the right container. */
  17.     background-color: rgb(143 163 131 / 76%);
  18. /* The text color used*/
  19.     color: white;
  20. }
  21.  
  22. div.boxInfo.box {
  23. /* This color should be changed along with the above header colors.*/
  24.     border-bottom: rgb(143 163 131 / 76%) 2px solid !important;
  25. }
  26.  
  27. div.blogs>div>b, .fwiendCount, td.tableRight>div>b, div.extended.box>a>h3 {
  28. /* Text color used on friend count, blog title, and comment date */
  29.     color: rgb(113 143 95)
  30. }
  31.  
  32. /*Shared container properties*/
  33. #container>div.topRight, .topLeft {
  34.     background-color: #ffffff6e;
  35.     border-radius: 20px;
  36.     border: double #ffffff 2px;
  37.     text-align: -webkit-center;
  38.     backdrop-filter: blur(3px);
  39.     padding: 0px;
  40. }
  41.  
  42. p, h6, h5, h3, h2, td.shortRight, div.blogs>div:not(:first-child) {
  43. /*Text color of paragraphs,blog titles, headers and the area right next to the avatar.*/
  44.     color: #2b2c2d;
  45. }
  46.  
  47. #name {
  48. /* The color of your name*/
  49.     color: #ffffff
  50. }
  51.  
  52. #header>a.logo:before {
  53.     /* The logo's color can be tinkered with using the filter property. */
  54.     background: url(https://cdn.discordapp.com/attachments/704499836375793775/807979760554606612/223_Myspace_logo-512.png) no-repeat 0 0;
  55.     filter: grayscale(1) brightness(10) hue-rotate(0deg);
  56.     background-size: 24px 24px;
  57. }
  58.  
  59. #hSub a, #header {
  60. /* Change the color of the text in the subheading. Do not remove the !important tag. */
  61.     color: #fff !important;
  62.     text-decoration: none !important;
  63.     filter: drop-shadow(1px 1px 3px #000b)!important;
  64. }
  65.  
  66. .player:after, .songName b:after {
  67. /*image that the music player uses*/
  68.     background-image: url("https://f4.bcbits.com/img/a3162559052_10.jpg");
  69.     background-position: 50% 50%;
  70.     background-repeat: no-repeat;
  71.     background-size: cover;
  72. }
  73. /* Complex (i.e. i didnt feel like organizing it) */
  74.  
  75. /*Header and Subheader*/
  76. #header {
  77.     background: transparent !important;
  78.     font-family: Montserrat !important;
  79.     font-size: 15px !important;
  80.     width: calc( 100% - 15px) !important;
  81.     height: 22px !important;
  82.     padding: 5px !important;
  83.     left: 0px !important;
  84.     top: 0px !important;
  85.     border-bottom: 0px transparent !important;
  86. }
  87.  
  88. #header>a.logo:before {
  89.     content: " ";
  90.     margin-right: 0px;
  91.     display: inline-block;
  92.     height: 24px;
  93.     width: 24px;
  94. }
  95.  
  96. #header>a>b>span {
  97.     font-size: 0px;
  98.     position: absolute;
  99. }
  100.  
  101. #header>a>b>span:before {
  102.     font-size: 20px;
  103.     content: "myspace";
  104.     padding-left: 2px;
  105. }
  106.  
  107. #hSub {
  108.     font-family: Montserrat !important;
  109.     background: #ffffff00 !important;
  110.     font-size: smaller !important;
  111.     position: fixed !important;
  112.     margin-top: -22px !important;
  113.     text-align: center !important;
  114.     color: #0000 !important;
  115. }
  116.  
  117. /*Links and Buttons CSS*/
  118.  
  119. button, #form>form>input[type=submit]:nth-child(3), #hSub a, .boxButton, #top>a>div>b, td.tableLeft>a>div>b, div.blogs>div>a, #viewFriends>b>a {
  120.     color: #ffffff;
  121.     font-family: montserrat;
  122.     transition: all 0.3s;
  123.     position: relative;
  124. }
  125. button::before, #form>form>input[type=submit]:nth-child(3):before, #hSub a:before, .boxButton:before, #top>a>div>b:before, td.tableLeft>a>div>b:before, div.blogs>div>a:before, #viewFriends>b>a:before {
  126.     content: url();
  127.     position: absolute;
  128.     bottom: 0;
  129.     left: 0;
  130.     width: 100%;
  131.     height: 100%;
  132.     z-index: 1;
  133.     opacity: 0;
  134.     transition: all 0.3s;
  135.     border-top: 1px #ffffff80 solid;
  136.     border-bottom: 1px #ffffff80 solid;
  137.     transform: scale(0.1, 1);
  138. }
  139. button:hover, #form>form>input[type=submit]:nth-child(3):hover, #hSub a:hover, .boxButton:hover, #top>a>div>b:hover, td.tableLeft>a>div>b:hover, div.blogs>div>a:hover, #viewFriends>b>a:hover {
  140.     letter-spacing: 2px;
  141. }
  142. button:hover::before, #form>form>input[type=submit]:nth-child(3):hover:before, #hSub a:hover:before, .boxButton:hover:before, #top>a>div>b:hover:before, td.tableLeft>a>div>b:hover:before, div.blogs>div>a:before, #viewFriends>b>a:hover:before {
  143.     opacity: 1;
  144.     transform: scale(1, 1);
  145. }
  146. button::after, #form>form>input[type=submit]:nth-child(3):after, .boxButton:after, #top>a>div>b:after, td.tableLeft>a>div>b:after, div.blogs>div>a:after, #viewFriends>b>a:after {
  147.     content: url();
  148.     position: absolute;
  149.     bottom: 0;
  150.     left: 0;
  151.     width: 100%;
  152.     height: 100%;
  153.     z-index: 1;
  154.     transition: all 0.3s;
  155. }
  156. button:hover::after, #form>form>input[type=submit]:nth-child(3):hover:after, .boxButton:hover:after, #top>a>div>b:hover:after, td.tableLeft>a>div>b:hover:after, div.blogs>div>a:hover:after, #viewFriends>b>a:hover:after {
  157.     opacity: 0;
  158.     transform: scale(0.1, 1);
  159. }
  160. button, #form>form>input[type=submit]:nth-child(3), #top>a>div>b, td.tableLeft>a>div>b, div.blogs>div>a, #viewFriends>b>a {
  161.     line-height: 20px;
  162.     height: 30px;
  163.     text-align: center;
  164.     width: max-content;
  165.     cursor: pointer;
  166.     background-color: transparent;
  167.     border: transparent 1px solid
  168. }
  169. /* End of Links and Buttons CSS */
  170.  
  171. /*Avatar (own) CSS*/
  172. #avatar:hover {
  173.     box-shadow: rgb(255 255 255) 122px 1px 0px 0px;
  174.     border-top-left-radius: 0px;
  175.     border-bottom-right-radius: 0px;
  176.     transition: all 1s;
  177. }
  178. .avatar {
  179.     border-radius: 100px;
  180.     border: solid white 3px;
  181.     width: 200px;
  182.     margin-right: 20px;
  183.     cursor: default!important;
  184.     transition: all 0.4s;
  185. }
  186. /*Fwiendlist CSS*/
  187. /*Fwiend image and comments image CSS*/
  188. .fwiendFace b {
  189.     overflow: hidden;
  190.     height: 20px;
  191. }
  192. .fwiendFace img, .tableLeft img {
  193.     height: 100px;
  194.     width: 100px;
  195.     border-radius: 100px;
  196.     border: solid white 3px;
  197.     background-color: white;
  198.     place-self: center;
  199.     object-fit: cover;
  200. }
  201. /* CSS to hide the rest of the Fwiendcounter */
  202. div.fwiendCounter {
  203.     font-size: 0px;
  204. }
  205. .fwiendCount {
  206.     font-size: initial;
  207. }
  208. .fwiendCount:after {
  209.     color: rgb(255 255 255);
  210.     content: " fwiends";
  211.     font-size: x-small;
  212. }
  213. /* CSS to condense the "View all of \ Fwiends" text */
  214. #viewFriends>b {
  215.     font-size: 0px;
  216.     margin-right: 20px
  217. }
  218. #viewFriends>b>a, #viewFriends>b>a:before {
  219.     content: "View ";
  220.     font-size: x-small;
  221. }
  222. div.blogs>div .fwiendFace:hover {
  223.     max-width: 50%;
  224.     display: inline-grid;
  225.     padding: 3px;
  226.     text-align: center;
  227.     transition: .5s;
  228. }
  229. /*Fwiend Username css*/
  230. #top>a>div>b {
  231.     display: table-column;
  232.     padding-left: 0%;
  233.     text-overflow: ellipsis;
  234.     animation: marquee 5s linear infinite;
  235.     max-width: 120px;
  236.     white-space: nowrap;
  237.     text-overflow: ellipsis;
  238.     overflow: hidden;
  239.     place-self: center;
  240.     animation-play-state: paused;
  241. }
  242. #top>a>div>b {
  243.     color: #ffffff;
  244.     width: revert !important
  245. }
  246. /*Comments Section CSS*/
  247. .tableRight {
  248.     background: #ffffff91;
  249.     padding: 13px;
  250.     width: auto;
  251.     display: inline-grid;
  252.     overflow-wrap: anywhere;
  253.     border-radius: 21px;
  254. }
  255. .tableRight:hover {
  256.     transform: scale(1.04);
  257.     background-color: #ffffffd6;
  258.     width: 93%;
  259.     transition: 0.3s;
  260. }
  261. td.tableRight>div>b {
  262.     color: rgb(113 143 95);
  263.     float: right;
  264. }
  265. .tableLeft {
  266.     background: #fff0;
  267.  
  268. }
  269. /* Headers (i dont know why this is placed here)*/
  270. h4 {
  271.     border-bottom: dotted 1px;
  272.     color: white;
  273.     background-attachment: fixed;
  274. }
  275. h1 {
  276.     border-top-left-radius: 10px;
  277.     border-top-right-radius: 10px;
  278.     border-bottom: double 2px;
  279.     color: white;
  280. }
  281.  
  282. .rightHead {
  283.     filter: drop-shadow(0px 1px 2px);
  284. }
  285. /*CSS for the blurb right of the Avatar*/
  286. td.shortRight {
  287.     width: 60px;
  288.     font-size: x-small;
  289.     text-align: -webkit-center;
  290. }
  291. #online:after {
  292.     content: "Online";
  293.     color: rgb(113 143 95);
  294.     background: url()
  295. }
  296. #online>img {
  297.     display: none
  298. }
  299. /*Info/Contact Box CSS*/
  300. #container>div.topRight>div.extended.box, div.boxInfo.box {
  301.     border: 0px;
  302. }
  303. div.boxInfo.box {
  304.     height: 26px;
  305.     background: #ffffff75;
  306.     transition: all 0.3s;
  307. }
  308. div.boxInfo.box:hover {
  309.     height: 100px;
  310.     transition: 1s
  311. }
  312. #container>div.topLeft>div.boxInfo.box>div>b:before {
  313.     content: "___";
  314.     color: transparent;
  315.     background: url(https://www.flaticon.com/svg/vstatic/svg/566/566020.svg?token=exp=1612727011~hmac=a4a08636ba2ac179c88d2ea6c9beb048) no-repeat no-repeat;
  316.     margin-right: 6px;
  317.     filter: invert(1);
  318. }
  319. /*Info/Contact Box buttons CSS*/
  320. .boxButton {
  321.     color: #A2B097 !important;
  322. }
  323. #container>div.topLeft>div.boxInfo.box>a {
  324.     filter: invert(1)drop-shadow(0px 2px 1px rgb(113 143 95));
  325.     color: #ffffff !important;
  326.     font-size: smaller;
  327. }
  328. #sMsg {
  329.     background-image: url(https://www.flaticon.com/svg/vstatic/svg/725/725643.svg?token=exp=1612739200~hmac=b7b3599b27459bbf237e9801011c9ccc);
  330. }
  331. #report {
  332.     background-image: url(https://www.flaticon.com/svg/vstatic/svg/726/726186.svg?token=exp=1612739166~hmac=673bd78e19ac58586880be48a08c70db);
  333. }
  334. #add {
  335.     background-image: url(https://www.flaticon.com/svg/vstatic/svg/880/880594.svg?token=exp=1612738730~hmac=386188bc8706bc6e1b45f7109d269430);
  336. }
  337. #block {
  338.     background-image: url(https://www.flaticon.com/svg/vstatic/svg/101/101783.svg?token=exp=1612738875~hmac=08ecaac632443f14f0f77f93142fc89f);
  339. }
  340. .url {
  341.     border: solid 2px #69c;
  342.     padding: 2px;
  343.     display: none;
  344. }
  345. /* MP3 Player CSS (from mike-kommandant) */
  346.  
  347. .player {
  348.     position: relative;
  349.     color: #2b2c2d;
  350.     --controls-filter: invert(1);
  351.     --time-text-color: #FFF;
  352. }
  353. .songName {
  354.     padding: 10px 16px;
  355.     font-size: 100%;
  356. }
  357. .songName b {
  358.     display: block;
  359. }
  360. .songName a {
  361.     position: absolute;
  362.     top: 16px;
  363.     right: 16px;
  364. }
  365. .songName a img {
  366.     display: block;
  367.     height: 16px !important;
  368.     padding: 0 !important;
  369. }
  370. .songName a img {
  371.     filter: invert(1);
  372. }
  373. .songTitle {
  374.     font-size: 12px;
  375.     display: block;
  376.     white-space: nowrap;
  377.     overflow: hidden;
  378.     text-overflow: ellipsis;
  379. }
  380. .player audio {
  381.     display: block;
  382.     margin: 0;
  383.     padding: 0;
  384.     width: 100%;
  385.     height: 40px;
  386. }
  387. .player:after {
  388.     content: "";
  389.     display: block;
  390.     position: absolute;
  391.     top: 0;
  392.     left: 0;
  393.     right: 0;
  394.     bottom: 0;
  395.     filter: blur(4px);
  396.     opacity: .9;
  397.     pointer-events: none;
  398.     z-index: 5;
  399. }
  400. .songName {
  401.     color: #fff;
  402.     text-align: center;
  403.     position: relative;
  404.     z-index: 10;
  405. }
  406. .player audio {
  407.     position: relative;
  408.     z-index: 10;
  409. }
  410. .songName b {
  411.     display: block;
  412.     font-size: 0;
  413.     line-height: 0;
  414. }
  415. .songName b:after {
  416.     content: "";
  417.     display: block;
  418.     background-color: #333;
  419.     width: 130px;
  420.     height: 130px;
  421.     display: block;
  422.     margin: 0 auto;
  423. }
  424. .songName a {
  425.     position: absolute;
  426.     top: 0;
  427.     left: 16px;
  428.     width: 130px;
  429.     height: 130px;
  430.     background: rgba(0, 0, 0, 0.8);
  431.     margin: 10px auto 0;
  432.     color: #FFF;
  433.     display: block;
  434.     z-index: 20;
  435.     opacity: 0;
  436.     transition: opacity 0.2s linear;
  437. }
  438. .songName a:hover {
  439.     text-decoration: none;
  440.     opacity: 1;
  441. }
  442. .songName a img {
  443.     filter: invert(1);
  444.     float: none !important;
  445.     height: 20px !important;
  446.     margin: 44px auto 0;
  447. }
  448. .songName a:after {
  449.     content: "Download";
  450.     display: block;
  451.     font-size: 10px;
  452.     line-height: 1;
  453.     margin-top: 8px;
  454. }
  455. .songTitle {
  456.     color: #fff;
  457.     font-weight: bold;
  458.     height: 20px;
  459.     margin-top: 10px;
  460. }
  461. }
  462. @media (-ms-high-contrast: none), (-ms-high-contrast: active) {
  463.     .player:after {
  464.         opacity: 0.2;
  465.     }
  466. }
  467. @media (prefers-color-scheme: dark) and (min-resolution: 0.001dpcm), (prefers-color-scheme: light) and (min-resolution: 0.001dpcm), (prefers-color-scheme: no-preference) and (min-resolution: 0.001dpcm) {
  468.     .player audio::-webkit-media-controls, .player audio::-webkit-media-controls-panel, .player audio::-webkit-media-controls-enclosure {
  469.         background: transparent
  470.     }
  471.     .player audio::-webkit-media-controls-play-button, .player audio::-webkit-media-controls-mute-button, .player audio::-webkit-media-controls-volume-slider, .player audio::-webkit-media-controls-timeline {
  472.         filter: var(--controls-filter);
  473.     }
  474.     .player audio::-webkit-media-controls-current-time-display, .player audio::-webkit-media-controls-time-remaining-display {
  475.         color: var(--time-text-color);
  476.         text-shadow: none;
  477.         font-size: 10px;
  478.     }
  479. }
  480. /* End of MP3 Player CSS */
  481.  
  482. /* Blog CSS */
  483.  
  484. .blog img {
  485.     height auto;
  486.     max-width: 100%;
  487.     max-height: 50vh;
  488.     margin: auto;
  489. }
  490. .blog {
  491.     background-color: transparent;
  492. }
  493. #name>a {
  494.     display: none
  495. }
  496. .blogTitle {
  497.     margin-top: -40px;
  498. }
  499. .blogCard .avatar {
  500.     width: 80% !important;
  501.     margin-right: 0px;
  502.     image-orientation: from-image;
  503. }
  504. .blogCard .avatar:hover {
  505.     transition: none !important;
  506.     border-radius: 100px !important;
  507.     box-shadow: none !important;
  508. }
  509. .blogCorpus {
  510.     text-align: justify;
  511.     font-size: larger
  512. }
  513. .blogCorpus>h1, .blogCorpus>h2, .blogCorpus>h3, .blogCorpus>h4, .blogCorpus>h5, .blogCorpus>h6 {
  514.     text-align: center;
  515. }
  516. /* Scrollbar */
  517.  
  518. ::-webkit-scrollbar {
  519.     width: 1.2vw;
  520. }
  521. ::-webkit-scrollbar-track {
  522.     -webkit-box-shadow: inset 2px 0px 6px rgb(255 255 255 / 85%);
  523.     -webkit-border-radius: 10px;
  524.     border-radius: 0px;
  525.     border-left: 1px white solid;
  526.     background-attachment: local !important;
  527.     background-position: right !important;
  528. }
  529. ::-webkit-scrollbar-thumb {
  530.     -webkit-border-radius: 10px;
  531.     border-radius: 10px;
  532.     background: rgb(255 255 255);
  533. }
  534. ::-webkit-scrollbar-thumb:window-inactive {
  535.     background: rgb(255 255 255 / 40%);
  536. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement