Skip to content

Commit

Permalink
#81 qo-section css
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 30, 2024
1 parent fce3339 commit 8208ac1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
1 change: 1 addition & 0 deletions sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

@import 'awards.scss';
@import 'policy.scss';
@import 'qo-section.scss';

$black: #131515;
$gray: #282828;
Expand Down
31 changes: 31 additions & 0 deletions sass/qo-section.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* MIT License
*
* Copyright (c) 2024 Zerocracy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
**/

.qo-section {
width: 800px;

canvas {
width: 100%;
}
}
4 changes: 2 additions & 2 deletions xsl/qo-section.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ SOFTWARE.
<h2>
<xsl:value-of select="$title"/>
</h2>
<div style="width: 800px;">
<canvas id="{$what}" style="width: 100%">
<div class="qo-section">
<canvas id="{$what}">
<xsl:text> </xsl:text>
</canvas>
</div>
Expand Down

0 comments on commit 8208ac1

Please sign in to comment.