imported>Administrator |
imported>Administrator |
1行目: |
1行目: |
− | /* ここに記述したCSSはベクター・スキンの利用者に影響します */ | + | '''Peachpie'''(ぴーちぱい)とは、[[Phalanger]]の後続プロジェクトで、[[.NET]]/[[Mono]]上で動くPHP 7.x系互換実装である。 |
− | /* Framework */
| |
− | html,
| |
− | body {
| |
− | height: 100%;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | _text-shadow: 1px 1px 0px #fff;
| |
− | font-family: "segoe ui",meiryo,"yu gothic","hiragino kaku gothic pron",sans-serif;
| |
− | font-size: 18px;
| |
− | background-color: #ffffff;
| |
− | }
| |
| | | |
− | del {
| + | == 概要 == |
− | margin-left: 0.5em;
| + | いまから試すので詳細は不明。 |
− | margin-right: 0.5em;
| + | 「インメモリコンパイル」というインタプリタ風の実行もできるらしい。 |
− | }
| |
| | | |
− | input, textarea {
| + | == Visual Studio Code からPeachpieを利用する == |
− | font-family: "segoe ui",meiryo,"yu gothic","hiragino kaku gothic pron",sans-serif;
| + | === プロジェクトの新規作成 === |
− | }
| + | ; Peachpieプロジェクトを新規作成する |
− | h3 {
| + | * プロジェクトを格納するためのフォルダを作り、Visual Studio Codeで開く |
− | font-weight: normal;
| + | * メニューバーの「表示」「コマンドパレット」(ショートカットキー:⌘ + SHIFT + P)を開く。 |
− | border-bottom: 1px dashed #AAAAAA;
| + | * 「peachpie: create project」と入力してエンターキーを押す。これでプロジェクトが作成される。 |
− | }
| |
− | p {
| |
− | font-size: 18px;
| |
− | margin: 1.25em 0 1.25em 0;
| |
− | line-height: 1.75em;
| |
− | }
| |
| | | |
− | /* enlarge font-size for ja fonts */
| + | ; 備考 |
− | #bodyContent {
| + | 2018年2月28日時点のVisual Studio Code向けPeachpieプラグインは.NET Core 1.1を想定しており、.NET Core 2.0をインストールしてある環境では正常にデバッグ実行できない。その際はlaunch.jsonファイルを書き換える。 |
− | margin: 1.25em 0 1.25em 0;
| + | * 修正前: "program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/project.dll", |
− | line-height: 1.75em;
| + | * 修正後: "program": "${workspaceRoot}/bin/Debug/netcoreapp2.0/project.dll", |
− | } | |
| | | |
− | /* for positioning top-right icons, like FA-star */
| + | === デバッグ実行 === |
− | .topicon {
| + | これは迷わないと思う。以下のいづれかでデバッグ実行可能である。 |
− | position: absolute;
| + | ブレークポイント使えるし、ウォッチ変数もコールスタックもある。 |
− | z-index: 10;
| + | 無敵だ。 |
− | right: 0;
| + | * メニューバーの「デバッグ」「デバッグ実行」 |
− | top: -3.5em;
| + | * 左横ツールバーの「デバッグ」を開き丈夫の緑三角ボタン |
− | display: block !important;
| |
− | }
| |
| | | |
− | /* Common.css で指定されたFA/GAアイコンを非表示にする */
| + | == 外部リンク == |
− | #p-lang li.FA,
| + | * https://github.com/peachpiecompiler/peachpie |
− | #p-lang li.GA {
| |
− | list-style-image: none;
| |
− | }
| |
− | | |
− | #mw-page-base {
| |
− | background-image: none;
| |
− | }
| |
− | | |
− | /* Common.js の LinkFA() を参照 */
| |
− | #mw-panel div.portal div.body ul li.FA {
| |
− | background: url("//upload.wikimedia.org/sciencer/commons/d/d0/Monobook-bullet-star-transparent.png") no-repeat 0% 0%;
| |
− | margin-left: -10px;
| |
− | padding-left: 10px;
| |
− | }
| |
− | | |
− | /* Common.js の LinkGA() を参照 */
| |
− | #mw-panel div.portal div.body ul li.GA {
| |
− | background: url("//upload.wikimedia.org/sciencer/commons/thumb/b/b9/Blue_star_boxed.svg/9px-Blue_star_boxed.svg.png") no-repeat 0% 0%;
| |
− | margin-left: -10px;
| |
− | padding-left: 10px;
| |
− | }
| |
− | | |
− | /* 地理座標の表示位置 */
| |
− | #coordinates {
| |
− | position: absolute;
| |
− | right: 0;
| |
− | top: -1.2em;
| |
− | font-size: 85%;
| |
− | line-height: 1.2em;
| |
− | }
| |
− | | |
− | /* sup sub タグ使用時に行間の広がりを抑える */
| |
− | sup, sub {
| |
− | line-height: 1em;
| |
− | }
| |
− | | |
− | /* アカウント作成の画面で説明が右に浮動表示されるのを防止 */
| |
− | #signupend {
| |
− | clear:left;
| |
− | }
| |
− | | |
− | /* [[Sciencer:井戸端/subj/現在のSciencerのフォント]] を参考にした応急処置 */
| |
− | div#content h1, div#content h2, div#content #firstHeading {
| |
− | font-family: sans-serif;
| |
− | }
| |
− | | |
− | div#content p {
| |
− | margin: 1.25em 0 1.25em 0;
| |
− | line-height: 1.75em;
| |
− | }
| |
− | | |
− | div#content .mw-editsection {
| |
− | font-family: sans-serif;
| |
− | }
| |
− | | |
− | /* Panel */ | |
− | div#mw-panel div.portal {
| |
− | font-size: 12pt;
| |
− | padding-bottom: 1.5em;
| |
− | direction: ltr;
| |
− | width: 12em;
| |
− | }
| |
− | div#mw-panel div.portal h5 {
| |
− | font-weight: normal;
| |
− | color: #444444;
| |
− | padding: 0.25em;
| |
− | padding-top: 0;
| |
− | padding-left: 1.75em;
| |
− | cursor: default;
| |
− | border: none;
| |
− | font-size: 0.75em;
| |
− | }
| |
− | div#mw-panel div.portal div.body {
| |
− | margin: 0;
| |
− | padding-top: 0.5em;
| |
− | margin-left: 1.25em;
| |
− | /* @embed */
| |
− | _background-image: url(images/portal-break.png);
| |
− | background-repeat: no-repeat;
| |
− | background-position: top left;
| |
− | }
| |
− | div#mw-panel div.portal div.body ul {
| |
− | list-style: none;
| |
− | list-style-image: none;
| |
− | list-style-type: none;
| |
− | padding: 0;
| |
− | margin: 0;
| |
− | }
| |
− | div#mw-panel div.portal div.body ul li {
| |
− | line-height: 2.0em;
| |
− | padding: 0;
| |
− | padding-bottom: 0.5em;
| |
− | margin: 0;
| |
− | overflow: hidden;
| |
− | font-size: 0.75em;
| |
− | }
| |
− | div#mw-panel div.portal div.body ul li a {
| |
− | color: #0645ad;
| |
− | }
| |
− | div#mw-panel div.portal div.body ul li a:visited {
| |
− | color: #0b0080;
| |
− | }
| |
− | | |
− | /* Personal */
| |
− | #p-personal {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | right: 0;
| |
− | width: 100%;
| |
− | height: 30px;
| |
− | background-color: #000000;
| |
− | vertical-align: middle;
| |
− | margin-left: 0px;
| |
− | text-shadow: none;
| |
− | }
| |
− | #p-personal a {
| |
− | color: #ffffff;
| |
− | }
| |
− | #p-personal a.new {
| |
− | color: #ffffff;
| |
− | }
| |
− | #p-personal a.new:visited {
| |
− | color: #ffffff;
| |
− | }
| |
− | #p-personal h5 {
| |
− | display: none;
| |
− | }
| |
− | #p-personal ul {
| |
− | list-style: none;
| |
− | margin: 0;
| |
− | padding-left: 0.25em; /* Keep from overlapping logo */
| |
− | }
| |
− | /* @noflip */
| |
− | #p-personal li {
| |
− | line-height: 0.75em;
| |
− | float: left;
| |
− | }
| |
− | /* This one flips! */
| |
− | #p-personal li {
| |
− | margin-left: 0.75em;
| |
− | margin-top: 0.95em;
| |
− | font-size: 0.75em;
| |
− | white-space: nowrap;
| |
− | }
| |
− | /* Navigation Containers */
| |
− | /*
| |
− | #left-navigation {
| |
− | position: absolute;
| |
− | left: 11em;
| |
− | top: 2.5em;
| |
− | }
| |
− | #right-navigation {
| |
− | float: right;
| |
− | margin-top: 2.5em;
| |
− | }
| |
− | */
| |
− | #p-logo {
| |
− | top: -130px;
| |
− | }
| |
− | #mw-panel.collapsible-nav .portal.first {
| |
− | margin-top: 30px;
| |
− | }
| |
− | | |
− | | |
− | /* ボタン */
| |
− | #pt-createaccount,
| |
− | #pt-login,
| |
− | #pt-twittersignin
| |
− | {
| |
− | padding: 0px !important;
| |
− | }
| |
− | | |
− | #pt-createaccount a:focus,
| |
− | #pt-login a:focus,
| |
− | #pt-twittersignin a:focus
| |
− | {
| |
− | outline: medium none currentColor;
| |
− | }
| |
− | | |
− | #pt-createaccount a,
| |
− | #pt-login a,
| |
− | #pt-twittersignin a
| |
− | {
| |
− | background: -o-linear-gradient(top, #FBFBFB, #E1E1E1) transparent;
| |
− | border: 1px solid #D4D4D4;
| |
− | box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.506), 0px 1px 2px rgba(0, 0, 0, 0.149);
| |
− | color: #666666;
| |
− | display: inline-block;
| |
− | font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
| |
− | font-size: 14px;
| |
− | font-weight: 300;
| |
− | height: 22px;
| |
− | line-height: 22px;
| |
− | margin: -7px 0px 0px 0px;
| |
− | padding: 0px 18px;
| |
− | text-align: center;
| |
− | text-decoration: none;
| |
− | text-shadow: 0px 1px 1px white;
| |
− | vertical-align: middle;
| |
− | | |
− | border-radius: 3px;
| |
− | | |
− | background: #00A1CB;
| |
− | border: medium none currentColor;
| |
− | box-shadow: none;
| |
− | color: white;
| |
− | text-shadow: none;
| |
− | transition-duration: 0.3s;
| |
− | transition-property: background;
| |
− | }
| |
− | | |
− | #mw-head-base {
| |
− | background-position: bottom left;
| |
− | background-repeat: repeat-x;
| |
− | }
| |