├── LICENSE ├── README.md ├── style.css └── style.css-demo.png /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # style.css 2 | 3 | 可以直接将这个样式放入 Md2All 编辑器中。 4 | 5 | 6 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | img, 2 | pre code { 3 | box-shadow: 0px 0px 15px 3px #ddd; 4 | border-radius: 8px !important; 5 | } 6 | 7 | img { 8 | width: 95%; 9 | margin-left: 10px; 10 | text-align: center; 11 | } 12 | 13 | img.mimg { 14 | width: 250px !important; 15 | text-align: center; 16 | margin: auto !important; 17 | } 18 | 19 | 20 | img.simg { 21 | width: 150px !important; 22 | text-align: center; 23 | margin: auto !important; 24 | } 25 | 26 | pre code { 27 | padding: 15px !important; 28 | margin: 0px !important; 29 | } 30 | 31 | pre code { 32 | white-space: nowrap !imortant; 33 | word-break: normal !important; 34 | display: -webkit-box !important; 35 | overflow-x: auto !important; 36 | -webkit-overflow-scrolling: touch; 37 | } 38 | 39 | 40 | pre code { 41 | margin: 30px 8px 20px 8px !important; 42 | } 43 | -------------------------------------------------------------------------------- /style.css-demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyC2018/weixingongzhong-resource/82d8c45fa89d7fbe32a535b06c2f57111584e35b/style.css-demo.png --------------------------------------------------------------------------------