Sha256: df4f4bc479e05476974d44af65b0ecd83df8ba0c365833e68b099e14d9cbe17c

Contents?: true

Size: 1.84 KB

Versions: 4

Compression:

Stored size: 1.84 KB

Contents

body {
  overflow: hidden;
}

#darkness {
  visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: black;
  opacity: 0.8;
  z-index: 1001; /* must be > 1000 to overlay ace gutter */
}

#commenttoolpanel {
  visibility: hidden;
  z-index: 1002; /* > 1001 to not be hidden by darkness */
}

#comment, #editor { 
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* Set font size of both ace editors. */
  font-size: 16px;
}

/*
  Must set ace-line to preserve whitespace in empty lines.
  Ace editor sets the height inline. The static highlight ext does not.
  <div class="ace_line" style="height:15px"></div>
*/
#previewframe #contentframe .ace-github .ace_editor.ace_scroller.ace_text-layer .ace_line {
  height: 15px;
}

/* Set comment to have a higher z-index
so editor doesn't display in the background. */

#comment {
  visibility: hidden;
  z-index: 1003; /* > 1002 to not be hidden by toolpanel */
}

#contentframe {
  margin: 0 auto;
  overflow: visible;
  width: 80%;
}

#previewframe {
  margin: 0;
  padding: 0;
  position: absolute;
  overflow: auto;
  top: 0;
  bottom: 0;
  left: 10px;
  right: 0;
}

/* -- Start from notepag.es -- */
.toolpanel {
  position: fixed;
  background: #666;
  top: 0;
  height: 30px;
  right: 20px;
  width: 80px;
  vertical-align: middle;
  padding: 5px 0;
  margin: 0;
  text-align: center;
}

.toolpanel.edit a.edit {
  opacity: 0.4;
  /* Make it appear as a link even though save
     doesn't have a href attribute. */
  cursor: pointer;
  display: inline-block;
}

.toolpanel a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
  display: none;
  padding: 4px;
  font-family: sans-serif;
}

.toolpanel a img {
  vertical-align: middle;
  margin-left: 5px;
  margin: 0;
  padding: 0;
}

a img {
  border: none;
}
/* -- End from notepag.es -- */

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gollum-2.1.4 lib/gollum/frontend/public/gollum/livepreview/css/custom.css
gollum-2.1.3 lib/gollum/frontend/public/gollum/livepreview/css/custom.css
gollum-2.1.2 lib/gollum/frontend/public/gollum/livepreview/css/custom.css
gollum-2.1.0 lib/gollum/frontend/public/gollum/livepreview/css/custom.css