github.com/bitcubate/cryptojournal@v1.2.5-0.20171102134152-f578b3d788ab/src/stories/assets/styles/stories.css (about)

     1  /* CSS Styles for stories */
     2  
     3  
     4  .stories {
     5      list-style: none;
     6      margin: 0;
     7      padding: 0;
     8  }
     9  
    10  article .story {
    11      padding: 2rem;
    12  }
    13  
    14  .story img {
    15      max-width: 100%;
    16  }
    17  
    18  .story form .field {
    19      clear: both;
    20      display: block;
    21      height: 3rem;
    22      margin: 0;
    23  }
    24  
    25  .story h1 .points {
    26      color: #ea8c06;
    27      text-align: center;
    28      display: inline-block;
    29      font-size: 0.7em;
    30  }
    31  
    32  .story h1 .points:hover {
    33      color: #ff6600;
    34  }
    35  
    36  .story h1 .vote {
    37      font-size: 0.65em;
    38  }
    39  
    40  .story .vote.disabled {
    41      opacity: 0.3;
    42      cursor: default;
    43  }
    44  
    45  .story .metadata {
    46      color: #ea8c06;
    47      margin: 1rem 0;
    48  }
    49  
    50  .story .register {
    51      clear: both;
    52      margin: 5rem 0;
    53      text-align: center;
    54  }
    55  
    56  .story .register .button {
    57      margin-right: 0.4em;
    58      display: block;
    59  }
    60  
    61  .story .actions {
    62      float: none;
    63      margin: 1rem 0;
    64      text-align: center;
    65  }
    66  
    67  .story .actions .button {
    68      margin-right: 1rem;
    69  }
    70  
    71  .story .name {
    72      color: #000;
    73  }
    74  
    75  .story .name:visited {
    76      color: #666;
    77  }
    78  
    79  .story .name:visited:hover {
    80      color: #999;
    81  }
    82  
    83  .story .tags {
    84      display: inline;
    85  }
    86  
    87  .story .summary ul {
    88      margin: 1rem 0 1rem 0;
    89  }
    90  
    91  .story .summary h5+ul {
    92      margin: 0 0 1rem 0;
    93  }
    94  
    95  .story .video-player {
    96      position: relative;
    97      padding-bottom: 56.25%;
    98      /* 16:9 */
    99      padding-top: 25px;
   100      height: 0;
   101  }
   102  
   103  .story .video-player iframe {
   104      position: absolute;
   105      top: 0;
   106      left: 0;
   107      width: 100%;
   108      height: 100%;
   109  }
   110  
   111  .tags {
   112      list-style: none;
   113      padding: 0;
   114      margin: 0;
   115  }
   116  
   117  .tags li {
   118      padding: 0;
   119      margin: 0;
   120      display: inline;
   121  }
   122  
   123  .tags li a {
   124      background-color: #ccc;
   125      padding: 0 0.5rem 0.1rem 0.5rem;
   126      border-radius: 0.4rem;
   127      margin: 0 0.1rem;
   128      color: #fff;
   129  }
   130  
   131  .story .domain {
   132      color: #aaa;
   133  }
   134  
   135  .story .domain:hover {
   136      color: #656565;
   137  }
   138  
   139  .story .metadata .date,
   140  .story .metadata .user {
   141      color: #ea8c06;
   142  }
   143  
   144  .story .metadata .date:hover,
   145  .story .metadata .user:hover {
   146      color: #ff6600;
   147  }
   148  
   149  .story .add-comment-root {
   150      margin-bottom: 4em;
   151  }
   152  
   153  .story.minus1 {
   154      opacity: 0.9;
   155  }
   156  
   157  .story.minus2 {
   158      opacity: 0.7;
   159  }
   160  
   161  .story.minus3 {
   162      opacity: 0.5;
   163  }
   164  
   165  .story.minus4 {
   166      opacity: 0.3;
   167  }
   168  
   169  .story.minus5 {
   170      opacity: 0.1;
   171  }
   172  
   173  .story.minus6 {
   174      opacity: 0.1;
   175  }
   176  
   177  .story h1 .name {
   178      display: inline;
   179      font-size: 0.8em;
   180  }
   181  
   182  .story .comments {
   183      margin-top: 2rem;
   184  }
   185  
   186  li.more_link {
   187      text-align: center;
   188  }
   189  
   190  li.story {
   191      line-height: 1.5em;
   192      padding: 0.5rem 1rem;
   193      margin: 0;
   194      border-top: 1px solid #f6f6ef;
   195      list-style: none;
   196      overflow: hidden;
   197  }
   198  
   199  li.story:hover {
   200      background-color: #eee;
   201  }
   202  
   203  li.story .points {
   204      min-width: 1em;
   205  }
   206  
   207  li.story h3 {
   208      font-size: 0.9em;
   209      margin: 0;
   210      height: 1.3em;
   211      line-height: 1.3em;
   212      overflow: hidden;
   213  }
   214  
   215  li.story .voting {
   216      float: left;
   217      padding-right: 0.5rem;
   218      margin-top: 0.5rem;
   219  }
   220  
   221  li.story .vote {
   222      font-size: 0.9em;
   223      padding: 1rem 0.2rem;
   224  }
   225  
   226  li.story .metadata {
   227      font-size: 0.7em;
   228      margin: 0;
   229      overflow: hidden;
   230      height: 1.6em;
   231      line-height: 1.6em;
   232  }
   233  
   234  li.story .bubble {
   235      position: relative;
   236      float: right;
   237      line-height: 1.8em;
   238      padding: 0 0.5em;
   239      min-width: 1em;
   240      border-radius: 50%;
   241      color: #fff;
   242      background-color: #ea8c06;
   243      text-align: center;
   244      font-size: 0.8em;
   245      opacity: 0.5;
   246      top: 0.3rem;
   247      margin-left: 1rem;
   248  }
   249  
   250  li.story .bubble:hover {
   251      opacity: 1.0;
   252  }
   253  
   254  li.story .bubble .bubble-tick {
   255      display: block;
   256      border-style: solid;
   257      position: absolute;
   258      border-color: #ea8c06 transparent transparent transparent;
   259      border-width: 0.6em 0.7em 0 0.1em;
   260      bottom: -0.35em;
   261      left: 0.4em;
   262  }
   263  
   264  li.story .button {
   265      opacity: 0.2;
   266      top: 0rem;
   267      padding: 0 0.5rem;
   268      margin: 0 0 0 0.5rem;
   269      height: 2rem;
   270      line-height: 2rem;
   271  }
   272  
   273  li.story .button:hover {
   274      opacity: 1.0;
   275  }
   276  
   277  li.story .points {
   278      font-size: 0.85em;
   279  }
   280  
   281  li.story .button {
   282      display: none;
   283  }
   284  
   285  @media (min-width: 770px) {
   286      .story h1 .name {
   287          display: inline;
   288          font-size: 1em;
   289      }
   290      .story .register {
   291          text-align: left;
   292      }
   293      .story .register .button {
   294          display: inline-block;
   295      }
   296      .story .story_actions {
   297          float: right;
   298          margin: -4rem 0 0 0;
   299      }
   300      .story .actions .button {
   301          margin: 0 0 0 1rem;
   302      }
   303      li.story {
   304          height: 1.5em;
   305          overflow: hidden;
   306      }
   307      li.story h3 {
   308          display: inline;
   309          font-size: 1.1em;
   310      }
   311      li.story .voting {
   312          margin-top: 0;
   313      }
   314      li.story .vote {
   315          padding: 0;
   316      }
   317      li.story .metadata {
   318          display: inline;
   319          font-size: 1em;
   320      }
   321      li.story .button {
   322          display: block;
   323          top: -0.1rem;
   324      }
   325      li.story .bubble {
   326          top: -0.1rem;
   327      }
   328  }