Sha256: 6ccb573733bf42f8279274745ff59120342825c574537a85ce581e420f417a1d

Contents?: true

Size: 350 Bytes

Versions: 7

Compression:

Stored size: 350 Bytes

Contents

<style>
  body {
    padding-left: <%= api_options.sidebar_width + api_options.spacer %>px;
    padding-right: <%= api_options.spacer %>px;
  }

  #sidebar {
    width: <%= api_options.sidebar_width %>px;
  }

  <% if api_options.content_width.to_i > 0 %>
    #content {
      max-width: <%= api_options.content_width %>px;
    }
  <% end %>
</style>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
yard-api-0.2.2 templates/api/layout/html/_dynamic_styles.erb
yard-api-0.2.1 templates/api/layout/html/_dynamic_styles.erb
yard-api-0.1.10 templates/api/layout/html/_dynamic_styles.erb
yard-api-0.1.8 templates/api/layout/html/_dynamic_styles.erb
yard-api-0.1.7 templates/api/layout/html/_dynamic_styles.erb
yard-api-0.1.6 templates/api/layout/html/_dynamic_styles.erb
yard-api-0.1.5 templates/api/layout/html/_dynamic_styles.erb