Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.81 KB | None | 0 0
  1.  
  2.  nav {
  3.     position:fixed;
  4.     text-align:center;
  5.     margin-top: 0px;
  6.     margin-left:100px;
  7.     margin-right:250px;
  8. }
  9.  
  10. nav, bar {
  11.     width:calc({select:post size} + 250px + 250px + 50px);
  12.     background:{color:posts};  
  13. }    
  14.  
  15. .hi {
  16.     display:inline-block;
  17.     margin:30px auto 15px auto;
  18. }
  19.  
  20. .hi img {
  21.     display:block;
  22.     height:65px;
  23.     width:65px;
  24.     -moz-border-radius:100%;
  25.     -webkit-border-radius:100%;
  26.     border-radius:100%;      
  27. }
  28. /*bar a affects lines between links,*/
  29. bar {
  30.     line-height:1em;        
  31.     position:absolute;
  32.     top:100%;
  33.     left:0;
  34.     padding:20px 0;
  35.     z-index:5;
  36.     overflow-x:hidden;
  37. }    
  38.  
  39. .stick bar {
  40.     position:fixed;
  41.     left:50%;  
  42.     top:0;    
  43.     -webkit-transform:translateX(-50%);
  44.     -moz-transform:translateX(-50%);
  45.     -ms-transform:translateX(-50%);
  46.     -o-transform:translateX(-50%);
  47.     transform:translateX(-50%);      
  48. }    
  49.  
  50. bar a {
  51.     display:inline-block;
  52.     padding:0 20px;    
  53.     border-right:1px solid {color:borders};
  54. }
  55.  
  56. bar a:last-of-type {border:0;}
  57.  
  58. bar a:hover {border-color:{color:borders}!important;}
  59.  /*i is small image*/
  60. .i {
  61.     position:absolute;
  62.     left:calc(-1em - 16px);
  63.     display:block;
  64.     border:0;
  65.     padding:0;
  66. }
  67.  
  68. .i img {
  69.     display:block;
  70.     margin-top:-8px;
  71.     height:calc(1em + 16px);
  72.     width:calc(1em + 16px);
  73.     -moz-border-radius:100%;
  74.     -webkit-border-radius:100%;
  75.     border-radius:100%;      
  76.    
  77. }
  78.  
  79. /*header*/
  80.  
  81. {block:ifHeaderImage}
  82. header, header img {
  83.     width:calc({select:post size} + 250px + 250px + 50px);  
  84.     background:transparent url({image:header}) no-repeat center center;
  85.     background-size:100% 100%;
  86.     display:block;
  87. }
  88.  
  89. header img {height:400px;}
  90.  
  91. header {
  92.     max-height:60vh;
  93.     overflow:hidden;
  94. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement