Guest User

Untitled

a guest
Sep 17th, 2018
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.48 KB | None | 0 0
  1. * {
  2.         -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
  3.     }
  4.    
  5.     body {
  6.         -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
  7.         -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
  8.         -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
  9.         background-color:#E4E4E4 !important;
  10.         font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
  11.         font-size:12px;
  12.         height:100%;
  13.         margin:0px;
  14.         padding:0px;
  15.         text-transform:uppercase;
  16.         width:100%;
  17.     }
  18.    
  19.     /* Portrait layout (default) */
  20.     .app-screen {
  21.         position:absolute;             /* position in the center of the screen */
  22.         top:20%;
  23.         height:50px;                   /* text area height */
  24.         width: 100%;                   /* text area width */
  25.         text-align:center;
  26.         padding: 10px;
  27.     }
  28.    
  29.     /* Landscape layout (with min-width) */
  30.     @media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
  31.         .app-screen {
  32.             background-position:left center;
  33.             padding:75px 0px 75px 170px;  /* padding-top + padding-bottom + text area = image height */
  34.             margin:-90px 0px 0px -198px;  /* offset vertical: half of image height */
  35.                                           /* offset horizontal: half of image width and text area width */
  36.         }
  37.     }
  38.    
  39.     h1 {
  40.         font-size:24px;
  41.         font-weight:normal;
  42.         margin:0px;
  43.         overflow:visible;
  44.         padding:0px;
  45.         text-align:center;
  46.     }
  47.    
  48.     .event {
  49.         border-radius:4px;
  50.         -webkit-border-radius:4px;
  51.         color:#FFFFFF;
  52.         font-size:12px;
  53.         padding:2px 0px;
  54.     }
  55.    
  56.     .event.listening {
  57.         background-color:#333333;
  58.         display:block;
  59.     }
  60.    
  61.     .event.received {
  62.         background-color:#4B946A;
  63.         display:none;
  64.     }
  65.    
  66.     @keyframes fade {
  67.         from { opacity: 1.0; }
  68.         50% { opacity: 0.4; }
  69.         to { opacity: 1.0; }
  70.     }
  71.      
  72.     @-webkit-keyframes fade {
  73.         from { opacity: 1.0; }
  74.         50% { opacity: 0.4; }
  75.         to { opacity: 1.0; }
  76.     }
  77.      
  78.     .blink {
  79.         animation:fade 3000ms infinite;
  80.         -webkit-animation:fade 3000ms infinite;
  81.     }
Add Comment
Please, Sign In to add comment