Advertisement
SarunoHadaki

Persona 5 CSS

Nov 23rd, 2024
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.42 KB | None | 0 0
  1. .grid-container {
  2.   display: grid;
  3.   grid-template-columns: auto 60px 60px 60px 60px 60px auto;
  4.   padding: 10px;
  5. }
  6.  
  7. .grid-item {
  8.   padding: 10px;
  9.   text-align: center;
  10. }
  11.  
  12. .user-img,
  13. .otheruser-img {
  14.   width: auto;
  15.   height: 84px;
  16.   /* margin-top: 5px; */
  17.   margin-bottom: 5px;
  18. }
  19.  
  20. .user-img,
  21. .otheruser-img {
  22.   margin-bottom: 2em;
  23. }
  24.  
  25. .user-img {
  26.   float: right;
  27. }
  28.  
  29. .contact {
  30.   color: black;
  31.   font-family: Arial;
  32.   font-weight: bold;
  33.   margin-bottom: -10px;
  34.   margin-top: -5px;
  35. }
  36.  
  37. body {
  38.   background-color: #3b292c;
  39. }
  40.  
  41. .messenger {
  42.   max-width: 400px;
  43.   margin: auto;
  44.   margin-bottom: 25px;
  45. }
  46.  
  47. .messagebody {
  48.   min-width: 320px;
  49.   max-height: 70vh;
  50.   background: rgb(179, 0, 0);
  51.   padding-left: .5em;
  52.   padding-right: .5em;
  53.   display: table;
  54.   border-radius: 0 1em 0 0;
  55.   overflow-y: scroll;
  56.   overflow-x: scroll;
  57. }
  58.  
  59. .header {
  60.   font-size: 17px;
  61.   background-color: white;
  62.   text-align: left;
  63.   margin: auto;
  64.   padding-left: 1rem;
  65.   padding-top: 1rem;
  66.   padding-bottom: .4rem;
  67.   margin-bottom: 1rem;
  68.   margin-left: -.5em;
  69.   margin-right: -.5em;
  70.   border-bottom: rgb(125 125 125) 1.5px solid;
  71.   border-radius: 0 1em 0 0;
  72. }
  73.  
  74. .user-messages p,
  75. .otheruser-messages p,
  76. .header p,
  77. .otheruser-icon p,
  78. .user-icon p,
  79. .alert p,
  80. .mini_img p {
  81.   margin: 0px;
  82.   padding: 0px;
  83. }
  84.  
  85. .otheruser-text,
  86. .user-reply,
  87. .tagline,
  88. .alert,
  89. .otheruser-name,
  90. .user-name {
  91.   font-family: "Optima Nova", "Vera Humana", "Vanitas", "Avenir", Arial, Helvetica, sans-serif;
  92.   font-weight: bold;
  93.   color: rgb(237, 237, 237);
  94.   max-width: 80%;
  95.   padding: .2em 1em;
  96.   clear: both;
  97.   font-size: 14px;
  98.   line-height: 1.2rem;
  99.   position: relative;
  100. }
  101.  
  102. .fbhide {
  103.   display: none;
  104. }
  105.  
  106. .otheruser-name {
  107.   padding-top: 0;
  108.   margin-bottom: -2.5em;
  109.   display: table;
  110.   clear: both;
  111. }
  112.  
  113. .user-name {
  114.   padding-top: 0;
  115.   display: table;
  116.   margin-bottom: -2.5em;
  117.   margin-left: auto;
  118.   clear: both;
  119. }
  120.  
  121. .user-container {
  122.   display: grid;
  123.   grid-template-columns: auto 80px;
  124. }
  125.  
  126. .otheruser-container {
  127.   display: grid;
  128.   grid-template-columns: 90px auto;
  129. }
  130.  
  131. .otheruser-messages {
  132.   min-width: 220px;
  133. }
  134.  
  135. .otheruser-icon,
  136. .user-icon {
  137.   display: inline-block;
  138.   width: 90px;
  139. }
  140.  
  141. .user-icon {
  142.   margin-left: auto;
  143.   margin-right: 20px;
  144. }
  145.  
  146. .icon img {
  147.   width: 80px;
  148.   /* that width just looked best for Akechi */
  149.   height: auto;
  150.   background-color: transparent;
  151. }
  152.  
  153. .otheruser-icon img {
  154.   width: 95px;
  155.   /* nvm I actually wanted Akechi's a little bit larger lol */
  156. }
  157.  
  158. .mini_img img {
  159.   width: 20px;
  160.   height: 20px;
  161.   margin: 0px;
  162.   padding: 0px;
  163. }
  164.  
  165. .hide {
  166.   display: none;
  167. }
  168.  
  169. br {
  170.   width: 1px;
  171. }
  172.  
  173. .alert {
  174.   border-width:3px;
  175.   border-style:solid;
  176.   border-color:white;
  177.   margin-bottom: 1rem;
  178.   padding-top: .3rem;
  179.   padding-bottom: .3rem;
  180.   text-align: center;
  181.   font-size: 11px;
  182. }
  183.  
  184. .header,
  185. .tagline {
  186.   min-width: 300px;
  187. }
  188.  
  189. .tagline {
  190.   font-size: 12px;
  191.   padding-bottom: 0;
  192. }
  193.  
  194. .text-mini-summary {
  195.   font-size: 10px;
  196. }
  197.  
  198. .text-link {
  199.   color: rgb(156, 135, 102);
  200. }
  201.  
  202. .text-link:hover {
  203.   text-decoration: underline;
  204.   cursor: pointer;
  205. }
  206.  
  207. .mini-time {
  208.   font-size: 10px;
  209. }
  210.  
  211. .user-reply {
  212.   float: right;
  213.   color: black;
  214.   /* Top, right, bottom, left */
  215.   padding: 1em 2em 1em 3em;
  216.   background-image: url("https://archive.org/download/my_message/my_message.png");
  217.   /* IMGUR: background-image: url("https://imgur.com/Rp7jocM.png") */
  218.   background-origin: border-box;
  219.   background-size: 100% 100%;
  220. }
  221.  
  222. .user-reply:before {
  223.   content:url("https://archive.org/download/userreplytail/userreplytail.png");
  224.   position:absolute;
  225.   left: 90%;
  226.   /* imgur: content:url("https://imgur.com/Ml1mkaL.png") */
  227. }
  228.  
  229. .otheruser-text {
  230.   margin: 1rem;
  231.   float: left;
  232.   /* Top, right, bottom, left */
  233.   padding: 1.2em 1.5em 1.2em 1.5em;
  234.   background-image: url("https://archive.org/download/sending_message/sending_message.png");
  235.   /* background-image: url("https://imgur.com/mWBAqFR.png"); USE THIS ONE WHEN NOT USING LIVESERVER*/
  236.   background-origin: border-box;
  237.   background-size: 100% 100%;
  238.   position: relative;
  239. }
  240.  
  241. .otheruser-text:after {
  242.   content:url("https://imgur.com/XHJHdoo.png");
  243. /* IMGUR file:   content:url("https://imgur.com/Qgl1oJA.png") */
  244.   position:absolute;
  245.   display: block;
  246.   margin-left:-35px;
  247.   margin-top:-25px;
  248.   background-size: 100%;
  249. }
  250.  
  251. .otheruser-text,
  252. .user-reply {
  253.   margin-top: .8rem;
  254.   margin-bottom: 1rem;
  255. }
  256.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement